// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_TEST_RECTIFY_CALLBACK_INTERNAL_H_ #define BASE_TEST_RECTIFY_CALLBACK_INTERNAL_H_ #include #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base/functional/callback_helpers.h" #include "base/types/is_instantiation.h" namespace base::internal { // RectifyCallbackWrapper binds a wrapper around the actual callback that // discards the ignored arguments and forwards the remaining arguments to the // wrapped callback. template