From 9149a062586ba97340ce12a7da6034985cd5c751 Mon Sep 17 00:00:00 2001 From: Carlos O'Ryan Date: Tue, 23 Jul 2024 22:04:40 +0000 Subject: [PATCH] cleanup(storage): fix MOAR IWYU warnings, take 4 (#14552) --- .../benchmarks/aggregate_download_throughput_benchmark.cc | 1 + .../storage/benchmarks/aggregate_upload_throughput_benchmark.cc | 2 ++ google/cloud/storage/benchmarks/async_throughput_benchmark.cc | 1 + google/cloud/storage/benchmarks/benchmark_utils.cc | 1 + google/cloud/storage/benchmarks/create_dataset.cc | 1 + .../cloud/storage/benchmarks/storage_file_transfer_benchmark.cc | 1 + .../storage/benchmarks/storage_parallel_uploads_benchmark.cc | 1 + .../storage/benchmarks/storage_throughput_vs_cpu_benchmark.cc | 1 + google/cloud/storage/benchmarks/throughput_options.cc | 1 + google/cloud/storage/examples/storage_client_mock_samples.cc | 1 + google/cloud/storage/internal/crc32c_test.cc | 1 + google/cloud/storage/internal/object_read_streambuf.cc | 1 + google/cloud/storage/internal/object_requests.cc | 1 + google/cloud/storage/internal/object_write_streambuf.cc | 1 + google/cloud/storage/internal/policy_document_request.cc | 2 ++ google/cloud/storage/internal/storage_stub_factory.cc | 1 + google/cloud/storage/oauth2/service_account_credentials_test.cc | 1 + google/cloud/storage/tests/async_client_integration_test.cc | 1 + google/cloud/storage/tests/grpc_hmac_key_integration_test.cc | 2 ++ .../cloud/storage/tests/object_basic_crud_integration_test.cc | 1 + google/cloud/storage/tests/object_media_integration_test.cc | 2 ++ .../storage/tests/object_resumable_write_integration_test.cc | 1 + google/cloud/storage/tests/service_account_integration_test.cc | 2 ++ google/cloud/storage/tests/signed_url_conformance_test.cc | 2 ++ google/cloud/storage/tests/thread_integration_test.cc | 1 + 25 files changed, 31 insertions(+) diff --git a/google/cloud/storage/benchmarks/aggregate_download_throughput_benchmark.cc b/google/cloud/storage/benchmarks/aggregate_download_throughput_benchmark.cc index bfb1ed0acd9ba..b721d9da55f90 100644 --- a/google/cloud/storage/benchmarks/aggregate_download_throughput_benchmark.cc +++ b/google/cloud/storage/benchmarks/aggregate_download_throughput_benchmark.cc @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/aggregate_upload_throughput_benchmark.cc b/google/cloud/storage/benchmarks/aggregate_upload_throughput_benchmark.cc index dc170f1b78ffe..45a8009482497 100644 --- a/google/cloud/storage/benchmarks/aggregate_upload_throughput_benchmark.cc +++ b/google/cloud/storage/benchmarks/aggregate_upload_throughput_benchmark.cc @@ -27,6 +27,8 @@ #include "google/cloud/testing_util/timer.h" #include "absl/strings/str_format.h" #include "absl/time/time.h" +#include +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/async_throughput_benchmark.cc b/google/cloud/storage/benchmarks/async_throughput_benchmark.cc index 197333da5193a..d13a309a6390f 100644 --- a/google/cloud/storage/benchmarks/async_throughput_benchmark.cc +++ b/google/cloud/storage/benchmarks/async_throughput_benchmark.cc @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/benchmark_utils.cc b/google/cloud/storage/benchmarks/benchmark_utils.cc index a5c5131f2b271..af3d7113fe575 100644 --- a/google/cloud/storage/benchmarks/benchmark_utils.cc +++ b/google/cloud/storage/benchmarks/benchmark_utils.cc @@ -29,6 +29,7 @@ #include "absl/time/time.h" #include #include +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/create_dataset.cc b/google/cloud/storage/benchmarks/create_dataset.cc index bc4e082825e90..4ab3523e7de55 100644 --- a/google/cloud/storage/benchmarks/create_dataset.cc +++ b/google/cloud/storage/benchmarks/create_dataset.cc @@ -19,6 +19,7 @@ #include "google/cloud/internal/format_time_point.h" #include "google/cloud/internal/getenv.h" #include "google/cloud/internal/random.h" +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc b/google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc index 55f79c032217c..6fb6df2f385fb 100644 --- a/google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc +++ b/google/cloud/storage/benchmarks/storage_file_transfer_benchmark.cc @@ -20,6 +20,7 @@ #include "google/cloud/internal/getenv.h" #include "google/cloud/internal/make_status.h" #include "google/cloud/internal/random.h" +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/storage_parallel_uploads_benchmark.cc b/google/cloud/storage/benchmarks/storage_parallel_uploads_benchmark.cc index d718abff9de43..b1e91bba5c9ef 100644 --- a/google/cloud/storage/benchmarks/storage_parallel_uploads_benchmark.cc +++ b/google/cloud/storage/benchmarks/storage_parallel_uploads_benchmark.cc @@ -21,6 +21,7 @@ #include "google/cloud/internal/make_status.h" #include "google/cloud/internal/random.h" #include "google/cloud/terminate_handler.h" +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/storage_throughput_vs_cpu_benchmark.cc b/google/cloud/storage/benchmarks/storage_throughput_vs_cpu_benchmark.cc index b4c836dacd881..1f272405645f5 100644 --- a/google/cloud/storage/benchmarks/storage_throughput_vs_cpu_benchmark.cc +++ b/google/cloud/storage/benchmarks/storage_throughput_vs_cpu_benchmark.cc @@ -25,6 +25,7 @@ #include "google/cloud/internal/random.h" #include "google/cloud/log.h" #include "absl/time/time.h" +#include #include #include #include diff --git a/google/cloud/storage/benchmarks/throughput_options.cc b/google/cloud/storage/benchmarks/throughput_options.cc index 42ef7307967e2..084c459d028ea 100644 --- a/google/cloud/storage/benchmarks/throughput_options.cc +++ b/google/cloud/storage/benchmarks/throughput_options.cc @@ -19,6 +19,7 @@ #include "google/cloud/internal/make_status.h" #include "absl/strings/str_split.h" #include "absl/time/time.h" +#include #include #include #include diff --git a/google/cloud/storage/examples/storage_client_mock_samples.cc b/google/cloud/storage/examples/storage_client_mock_samples.cc index 252e69e6cd20a..bb8b050f6c6db 100644 --- a/google/cloud/storage/examples/storage_client_mock_samples.cc +++ b/google/cloud/storage/examples/storage_client_mock_samples.cc @@ -16,6 +16,7 @@ #include "google/cloud/storage/internal/object_requests.h" #include "google/cloud/storage/testing/mock_client.h" #include +#include #include #include #include diff --git a/google/cloud/storage/internal/crc32c_test.cc b/google/cloud/storage/internal/crc32c_test.cc index b57cd97293781..7a005c74266ca 100644 --- a/google/cloud/storage/internal/crc32c_test.cc +++ b/google/cloud/storage/internal/crc32c_test.cc @@ -14,6 +14,7 @@ #include "google/cloud/storage/internal/crc32c.h" #include +#include #include #include diff --git a/google/cloud/storage/internal/object_read_streambuf.cc b/google/cloud/storage/internal/object_read_streambuf.cc index 55faa750b45e4..7bc8ae3e27d3b 100644 --- a/google/cloud/storage/internal/object_read_streambuf.cc +++ b/google/cloud/storage/internal/object_read_streambuf.cc @@ -16,6 +16,7 @@ #include "google/cloud/storage/hash_mismatch_error.h" #include "google/cloud/storage/internal/hash_function.h" #include "google/cloud/internal/make_status.h" +#include #include #include #include diff --git a/google/cloud/storage/internal/object_requests.cc b/google/cloud/storage/internal/object_requests.cc index 71a782d84ac27..15031d7590457 100644 --- a/google/cloud/storage/internal/object_requests.cc +++ b/google/cloud/storage/internal/object_requests.cc @@ -20,6 +20,7 @@ #include "google/cloud/storage/object_metadata.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" +#include #include #include #include diff --git a/google/cloud/storage/internal/object_write_streambuf.cc b/google/cloud/storage/internal/object_write_streambuf.cc index 0c2b99c20d5a0..486b4e15b2b03 100644 --- a/google/cloud/storage/internal/object_write_streambuf.cc +++ b/google/cloud/storage/internal/object_write_streambuf.cc @@ -16,6 +16,7 @@ #include "google/cloud/storage/internal/object_requests.h" #include "google/cloud/storage/version.h" #include "google/cloud/internal/make_status.h" +#include #include #include #include diff --git a/google/cloud/storage/internal/policy_document_request.cc b/google/cloud/storage/internal/policy_document_request.cc index ddd9ba4a606b3..69c9198edb539 100644 --- a/google/cloud/storage/internal/policy_document_request.cc +++ b/google/cloud/storage/internal/policy_document_request.cc @@ -20,7 +20,9 @@ #include "absl/functional/function_ref.h" #include "absl/strings/str_format.h" #include +#include #include +#include #include #include #include diff --git a/google/cloud/storage/internal/storage_stub_factory.cc b/google/cloud/storage/internal/storage_stub_factory.cc index c554b58d39cf4..abd7b49d6c8ab 100644 --- a/google/cloud/storage/internal/storage_stub_factory.cc +++ b/google/cloud/storage/internal/storage_stub_factory.cc @@ -26,6 +26,7 @@ #include "google/cloud/internal/unified_grpc_credentials.h" #include "google/cloud/log.h" #include +#include #include #include #include diff --git a/google/cloud/storage/oauth2/service_account_credentials_test.cc b/google/cloud/storage/oauth2/service_account_credentials_test.cc index 2b33c9ac9eb3e..138863d76e30e 100644 --- a/google/cloud/storage/oauth2/service_account_credentials_test.cc +++ b/google/cloud/storage/oauth2/service_account_credentials_test.cc @@ -29,6 +29,7 @@ #include "absl/strings/str_split.h" #include #include +#include #include #include #include diff --git a/google/cloud/storage/tests/async_client_integration_test.cc b/google/cloud/storage/tests/async_client_integration_test.cc index 98e3b1cb34550..379a482dd8393 100644 --- a/google/cloud/storage/tests/async_client_integration_test.cc +++ b/google/cloud/storage/tests/async_client_integration_test.cc @@ -23,6 +23,7 @@ #include "google/cloud/testing_util/status_matchers.h" #include #include +#include #include #include #include diff --git a/google/cloud/storage/tests/grpc_hmac_key_integration_test.cc b/google/cloud/storage/tests/grpc_hmac_key_integration_test.cc index b153553987ef1..3966f07f0f628 100644 --- a/google/cloud/storage/tests/grpc_hmac_key_integration_test.cc +++ b/google/cloud/storage/tests/grpc_hmac_key_integration_test.cc @@ -16,6 +16,8 @@ #include "google/cloud/internal/getenv.h" #include "google/cloud/testing_util/status_matchers.h" #include +#include +#include #include #include diff --git a/google/cloud/storage/tests/object_basic_crud_integration_test.cc b/google/cloud/storage/tests/object_basic_crud_integration_test.cc index f180443b5ed45..a1c6e454f47c3 100644 --- a/google/cloud/storage/tests/object_basic_crud_integration_test.cc +++ b/google/cloud/storage/tests/object_basic_crud_integration_test.cc @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/google/cloud/storage/tests/object_media_integration_test.cc b/google/cloud/storage/tests/object_media_integration_test.cc index f8a5c849bf85b..d0fc8d6466a03 100644 --- a/google/cloud/storage/tests/object_media_integration_test.cc +++ b/google/cloud/storage/tests/object_media_integration_test.cc @@ -19,8 +19,10 @@ #include "google/cloud/testing_util/scoped_environment.h" #include "google/cloud/testing_util/status_matchers.h" #include +#include #include #include +#include #include #include #include diff --git a/google/cloud/storage/tests/object_resumable_write_integration_test.cc b/google/cloud/storage/tests/object_resumable_write_integration_test.cc index b81711e19b870..cfd850484224f 100644 --- a/google/cloud/storage/tests/object_resumable_write_integration_test.cc +++ b/google/cloud/storage/tests/object_resumable_write_integration_test.cc @@ -17,6 +17,7 @@ #include "google/cloud/internal/getenv.h" #include "google/cloud/testing_util/status_matchers.h" #include +#include #include #include #include diff --git a/google/cloud/storage/tests/service_account_integration_test.cc b/google/cloud/storage/tests/service_account_integration_test.cc index 48566c9e7506c..dc1c99acaaf84 100644 --- a/google/cloud/storage/tests/service_account_integration_test.cc +++ b/google/cloud/storage/tests/service_account_integration_test.cc @@ -17,6 +17,8 @@ #include "google/cloud/internal/getenv.h" #include "google/cloud/testing_util/status_matchers.h" #include +#include +#include #include #include diff --git a/google/cloud/storage/tests/signed_url_conformance_test.cc b/google/cloud/storage/tests/signed_url_conformance_test.cc index 3983fd4ecdc7a..5286ffb56d500 100644 --- a/google/cloud/storage/tests/signed_url_conformance_test.cc +++ b/google/cloud/storage/tests/signed_url_conformance_test.cc @@ -27,8 +27,10 @@ #include "google/cloud/testing_util/status_matchers.h" #include #include +#include #include #include +#include #include #include #include diff --git a/google/cloud/storage/tests/thread_integration_test.cc b/google/cloud/storage/tests/thread_integration_test.cc index 389fea4cd36b3..99440a122ee4e 100644 --- a/google/cloud/storage/tests/thread_integration_test.cc +++ b/google/cloud/storage/tests/thread_integration_test.cc @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include