Skip to content

Commit 9dc72eb

Browse files
Automated Code Change
PiperOrigin-RevId: 837971053
1 parent 5747636 commit 9dc72eb

10 files changed

+29
-10
lines changed

src/google/protobuf/util/delimited_message_util.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010

1111
#include "google/protobuf/util/delimited_message_util.h"
1212

13+
#include <climits>
14+
#include <cstddef>
15+
#include <cstdint>
16+
#include <ostream>
17+
1318
#include "google/protobuf/io/coded_stream.h"
19+
#include "google/protobuf/io/zero_copy_stream_impl.h"
20+
#include "google/protobuf/message_lite.h"
1421

1522
namespace google {
1623
namespace protobuf {

src/google/protobuf/util/delimited_message_util_test.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010

1111
#include "google/protobuf/util/delimited_message_util.h"
1212

13+
#include <cstddef>
1314
#include <sstream>
15+
#include <string>
1416

15-
#include "google/protobuf/testing/googletest.h"
1617
#include <gtest/gtest.h>
18+
#include "google/protobuf/io/zero_copy_stream_impl.h"
1719
#include "google/protobuf/test_util.h"
1820
#include "google/protobuf/unittest.pb.h"
19-
#include "google/protobuf/unittest_import.pb.h"
2021

2122
namespace google {
2223
namespace protobuf {

src/google/protobuf/util/field_comparator.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <algorithm>
1313
#include <cfloat>
1414
#include <cmath>
15-
#include <limits>
1615
#include <string>
1716

1817
#include "absl/log/absl_check.h"

src/google/protobuf/util/field_mask_util.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,18 @@
1212
#include <string>
1313
#include <vector>
1414

15+
#include "google/protobuf/field_mask.pb.h"
1516
#include "absl/container/btree_map.h"
1617
#include "absl/log/absl_check.h"
1718
#include "absl/log/absl_log.h"
1819
#include "absl/log/die_if_null.h"
1920
#include "absl/memory/memory.h"
21+
#include "absl/strings/str_cat.h"
2022
#include "absl/strings/str_join.h"
2123
#include "absl/strings/str_split.h"
2224
#include "absl/strings/string_view.h"
2325
#include "absl/strings/strip.h"
26+
#include "google/protobuf/descriptor.h"
2427
#include "google/protobuf/message.h"
2528

2629
// Must be included last.

src/google/protobuf/util/field_mask_util_test.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@
99

1010
#include <algorithm>
1111
#include <cstdint>
12+
#include <string>
1213
#include <vector>
1314

1415
#include "google/protobuf/field_mask.pb.h"
16+
#include <gmock/gmock.h>
1517
#include <gtest/gtest.h>
18+
#include "absl/base/log_severity.h"
1619
#include "google/protobuf/test_util.h"
1720
#include "google/protobuf/unittest.pb.h"
1821

src/google/protobuf/util/message_differencer.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
#include "google/protobuf/util/message_differencer.h"
1313

1414
#include <algorithm>
15+
#include <cassert>
1516
#include <cstddef>
1617
#include <cstdint>
1718
#include <functional>
1819
#include <limits>
1920
#include <memory>
21+
#include <string>
2022
#include <utility>
2123
#include <vector>
2224

@@ -29,10 +31,9 @@
2931
#include "absl/strings/str_format.h"
3032
#include "google/protobuf/descriptor.h"
3133
#include "google/protobuf/dynamic_message.h"
32-
#include "google/protobuf/generated_enum_reflection.h"
3334
#include "google/protobuf/io/printer.h"
3435
#include "google/protobuf/io/zero_copy_stream.h"
35-
#include "google/protobuf/io/zero_copy_stream_impl.h"
36+
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
3637
#include "google/protobuf/map_field.h"
3738
#include "google/protobuf/message.h"
3839
#include "google/protobuf/text_format.h"

src/google/protobuf/util/message_differencer_unittest.cc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,26 @@
1414
#include "google/protobuf/util/message_differencer.h"
1515

1616
#include <algorithm>
17+
#include <cstddef>
18+
#include <cstdlib>
19+
#include <memory>
1720
#include <random>
1821
#include <string>
1922
#include <vector>
2023

21-
#include "google/protobuf/stubs/common.h"
2224
#include <gmock/gmock.h>
23-
#include "google/protobuf/testing/googletest.h"
2425
#include <gtest/gtest.h>
26+
#include "absl/base/macros.h"
2527
#include "absl/functional/bind_front.h"
2628
#include "absl/log/absl_check.h"
2729
#include "absl/memory/memory.h"
2830
#include "absl/strings/str_cat.h"
2931
#include "absl/strings/str_split.h"
3032
#include "absl/strings/string_view.h"
33+
#include "absl/synchronization/notification.h"
3134
#include "google/protobuf/any_test.pb.h"
3235
#include "google/protobuf/descriptor.h"
36+
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
3337
#include "google/protobuf/map_test_util.h"
3438
#include "google/protobuf/map_unittest.pb.h"
3539
#include "google/protobuf/message.h"
@@ -41,7 +45,6 @@
4145
#include "google/protobuf/util/message_differencer_unittest.pb.h"
4246
#include "google/protobuf/util/message_differencer_unittest_proto3.pb.h"
4347
#include "google/protobuf/wire_format.h"
44-
#include "google/protobuf/wire_format_lite.h"
4548

4649

4750
namespace google {

src/google/protobuf/util/time_util_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
#include "google/protobuf/duration.pb.h"
1414
#include "google/protobuf/timestamp.pb.h"
15-
#include "google/protobuf/testing/googletest.h"
1615
#include <gtest/gtest.h>
1716
#include "google/protobuf/util/internal_timeval.h" // IWYU pragma: keep for timeval
17+
#include "google/protobuf/util/time_util.h"
1818

1919
namespace google {
2020
namespace protobuf {

src/google/protobuf/util/type_resolver_util.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "absl/strings/strip.h"
2424
#include "google/protobuf/descriptor.h"
2525
#include "google/protobuf/io/strtod.h"
26+
#include "google/protobuf/repeated_ptr_field.h"
2627
#include "google/protobuf/util/type_resolver.h"
2728

2829
// clang-format off

src/google/protobuf/util/type_resolver_util_test.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@
1515
#include "google/protobuf/type.pb.h"
1616
#include "google/protobuf/wrappers.pb.h"
1717
#include "google/protobuf/descriptor.pb.h"
18+
#include <gmock/gmock.h>
1819
#include <gtest/gtest.h>
1920
#include "absl/log/absl_check.h"
2021
#include "absl/strings/str_cat.h"
2122
#include "absl/strings/string_view.h"
2223
#include "google/protobuf/descriptor.h"
2324
#include "google/protobuf/util/json_format_proto3.pb.h"
2425
#include "google/protobuf/map_unittest.pb.h"
26+
#include "google/protobuf/repeated_ptr_field.h"
2527
#include "google/protobuf/test_textproto.h"
2628
#include "google/protobuf/unittest.pb.h"
2729
#include "google/protobuf/unittest_custom_options.pb.h"
28-
#include "google/protobuf/unittest_import.pb.h"
2930
#include "google/protobuf/util/type_resolver.h"
3031

3132
namespace google {

0 commit comments

Comments
 (0)