Skip to content

Commit

Permalink
Update header includes for /base/functional in /g*
Browse files Browse the repository at this point in the history
bind.h, callback.h, callback_forward.h, and callback_helpers.h
moved into /base/functional/. Update the include paths to
directly include them in their new location.

Bug: 1364441
Change-Id: I1e91c1a79b17cb9a8e347c610fc93ea45ee1dec8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4152794
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1091106}
  • Loading branch information
Avi Drissman authored and Chromium LUCI CQ committed Jan 11, 2023
1 parent aaea324 commit 93a273d
Show file tree
Hide file tree
Showing 229 changed files with 281 additions and 281 deletions.
2 changes: 1 addition & 1 deletion gin/arguments_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "gin/arguments.h"

#include "base/bind.h"
#include "base/functional/bind.h"
#include "gin/converter.h"
#include "gin/object_template_builder.h"
#include "gin/public/isolate_holder.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/data_object_builder_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "gin/data_object_builder.h"

#include "base/bind.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/logging.h"
#include "gin/dictionary.h"
#include "gin/public/isolate_holder.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/function_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <stddef.h>
#include <utility>

#include "base/callback.h"
#include "base/check.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/strcat.h"
#include "gin/arguments.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/interceptor_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <stdint.h>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "gin/arguments.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
Expand Down
4 changes: 2 additions & 2 deletions gin/object_template_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
#include <type_traits>
#include <utility>

#include "base/bind.h"
#include "base/callback.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_piece.h"
#include "gin/converter.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/shell/gin_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// found in the LICENSE file.

#include "base/at_exit.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/i18n/icu_util.h"
#include "base/location.h"
#include "base/logging.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/test/run_all_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"

Expand Down
4 changes: 2 additions & 2 deletions gin/v8_foreground_task_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "gin/v8_foreground_task_runner.h"

#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"

Expand Down
4 changes: 2 additions & 2 deletions gin/v8_foreground_task_runner_with_locker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "gin/v8_foreground_task_runner_with_locker.h"

#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
Expand Down
2 changes: 1 addition & 1 deletion gin/v8_platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#include <algorithm>

#include "base/allocator/partition_allocator/partition_alloc_buildflags.h"
#include "base/bind.h"
#include "base/bit_cast.h"
#include "base/check_op.h"
#include "base/debug/stack_trace.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/nonscannable_memory.h"
#include "base/memory/raw_ptr.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/auth_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <string>
#include <vector>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/metrics/histogram_macros.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/auth_service_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include <string>

#include "base/callback.h"
#include "base/functional/callback.h"
#include "google_apis/common/api_error_codes.h"

namespace google_apis {
Expand Down
4 changes: 2 additions & 2 deletions google_apis/common/base_requests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "base/strings/string_piece.h"
#include "base/strings/stringprintf.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/base_requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include <utility>
#include <vector>

#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/base_requests_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/values.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/request_sender.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <utility>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "google_apis/common/auth_service.h"
#include "google_apis/common/base_requests.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/request_sender.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <set>
#include <string>

#include "base/callback_forward.h"
#include "base/containers/unique_ptr_adapters.h"
#include "base/functional/callback_forward.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/thread_checker.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/common/task_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef GOOGLE_APIS_COMMON_TASK_UTIL_H_
#define GOOGLE_APIS_COMMON_TASK_UTIL_H_

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"

namespace google_apis {
Expand Down
4 changes: 2 additions & 2 deletions google_apis/common/test_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <utility>
#include <vector>

#include "base/bind.h"
#include "base/callback.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "google_apis/common/api_error_codes.h"
#include "google_apis/common/base_requests.h"
Expand Down
6 changes: 3 additions & 3 deletions google_apis/drive/drive_api_requests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

#include <utility>

#include "base/bind.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/json/json_writer.h"
#include "base/location.h"
#include "base/metrics/histogram_functions.h"
Expand Down
4 changes: 2 additions & 2 deletions google_apis/drive/drive_api_requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#include <utility>
#include <vector>

#include "base/bind.h"
#include "base/callback_forward.h"
#include "base/functional/bind.h"
#include "base/functional/callback_forward.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/task/sequenced_task_runner.h"
Expand Down
4 changes: 2 additions & 2 deletions google_apis/drive/drive_api_requests_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/json/json_reader.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/drive_base_requests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/location.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/drive_base_requests.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
#include <utility>
#include <vector>

#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/functional/callback.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "base/threading/thread_checker.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/drive_base_requests_server_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

#include <memory>

#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "google_apis/common/dummy_auth_service.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/drive_base_requests_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/task/sequenced_task_runner.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/drive_common_callbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#ifndef GOOGLE_APIS_DRIVE_DRIVE_COMMON_CALLBACKS_H_
#define GOOGLE_APIS_DRIVE_DRIVE_COMMON_CALLBACKS_H_

#include "base/callback.h"
#include "base/functional/callback.h"
#include "google_apis/common/api_error_codes.h"

namespace google_apis {
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/files_list_request_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <utility>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "google_apis/common/api_error_codes.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/drive/files_list_request_runner.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <memory>
#include <string>

#include "base/callback_forward.h"
#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
#include "google_apis/drive/drive_api_requests.h"
Expand Down
4 changes: 2 additions & 2 deletions google_apis/drive/files_list_request_runner_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/callback.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/sequenced_task_runner.h"
Expand Down
4 changes: 2 additions & 2 deletions google_apis/gaia/fake_gaia.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

#include "base/base64.h"
#include "base/base_paths.h"
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/containers/contains.h"
#include "base/containers/cxx20_erase.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/path_service.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/fake_gaia.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <set>
#include <string>

#include "base/callback.h"
#include "base/containers/flat_map.h"
#include "base/functional/callback.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
#include "net/http/http_status_code.h"
#include "third_party/abseil-cpp/absl/types/optional.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/fake_oauth2_access_token_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <memory>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/gaia_auth_fetcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <utility>
#include <vector>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/metrics/histogram_functions.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/gaia_auth_fetcher_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <string>
#include <vector>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string_number_conversions.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/gaia_auth_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <memory>

#include "base/base64url.h"
#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/logging.h"
#include "base/strings/string_split.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/gaia_oauth_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include <memory>
#include <utility>

#include "base/bind.h"
#include "base/check.h"
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"
Expand Down
2 changes: 1 addition & 1 deletion google_apis/gaia/gaia_oauth_client_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <utility>
#include <vector>

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/json/json_reader.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/string_number_conversions.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "google_apis/gaia/oauth2_access_token_fetcher_immediate_error.h"

#include "base/bind.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "google_apis/gaia/google_service_auth_error.h"

Expand Down
Loading

0 comments on commit 93a273d

Please sign in to comment.