0

Cleanup: Format <optional> include order.

This is an automated patch. Please avoid assigning unrelated bug.
 #cleanup

This is a follow-up to @thestig comment:
https://chromium-review.googlesource.com/c/chromium/src/+/5009410/7/pdf/accessibility_helper.cc#11

Several developers, including myself rewrote optional without properly
reordering the #includes at the beginning.
This patches automatically fixes it.

Script:
-------

```
function replace {
  echo "Replacing $1 by $2"
  git grep -l "$1" \
    | cut -f1 -d: \
    | grep -v \
      -e "*win*" \
      -e "third_party/*" \
      -e "tools/*" \
    | grep \
      -e "\.h" \
      -e "\.cc" \
    | sort \
    | uniq \
    | xargs sed -i "s/$1/$2/g"
}

replace "#include <optional>" ""
git add -u
git commit -m "remove optional"
git revert HEAD --no-commit
git add -u
echo "Formatting":
echo "IncludeBlocks: Regroup" >> ".clang-format"
echo "IncludeIsMainRegex: \"(_(android|apple|chromeos|freebsd|fuchsia|fuzzer|ios|linux|mac|nacl|openbsd|posix|stubs?|win))?(_(unit|browser|perf)?tests?)?$\"" >> ".clang-format"
git add -u
git cl format --upstream=HEAD
git checkout origin/main -- ".clang-format"
git add -u
git commit -m "revert with format"
git reset --soft origin/main
git add -u
git commit -m "Automated format"
```

cleanup: This is a no-op patch formatting includes.
Bug: 40288126
Change-Id: I5f61b1207c097a4c6b20a034f9d1b323975b1851
AX-Relnotes: n/a.
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5335142
Owners-Override: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1267143}
This commit is contained in:
Arthur Sonzogni
2024-02-29 19:39:05 +00:00
committed by Chromium LUCI CQ
parent 104e3c2e76
commit 5bc3326c91
642 changed files with 750 additions and 449 deletions
android_webview
ash
base
cc
chrome/browser
android
apps
ash
chrome_content_browser_client.h
compose
enterprise
keyboard_accessory
lacros
net
password_manager
policy
privacy_sandbox
screen_ai
ui
web_applications
chromecast
chromeos
codelabs/cpp101/solutions
components
content
crypto
dbus
device/vr/openxr/msft
extensions
browser
api
alarms
bluetooth
bluetooth_low_energy
bluetooth_socket
declarative
declarative_net_request
declarative_webrequest
device_permissions_manager.cc
diagnostics
execute_code_function.ccexecute_code_function.h
file_handlers
hid
media_perception_private
messaging
networking_private
printer_provider
runtime
socket
system_display
usb
virtual_keyboard_private
web_request
api_test_utils.ccapi_test_utils.hapi_unittest.hbackground_script_executor.hblocklist_extension_prefs.cccomputed_hashes.h
content_verifier
event_listener_map.h
events
extension_function.hextension_function_dispatcher.ccextension_host_test_helper.hextension_registrar_unittest.ccextension_system.hextensions_browser_client.ccfile_reader.hfile_reader_unittest.cc
guest_view
json_file_sanitizer.hload_and_localize_file.hmock_display_info_provider.hscript_injection_tracker.h
service_worker
updater
user_script_manager.hzipfile_installer.h
common
renderer
shell
test
fuchsia_web
gin
google_apis
gpu
headless
ios/web
ipc
media/capture/video
mojo
net
pdf
printing
remoting
base
client
host
ios
protocol
test
sandbox
services/network/p2p
skia/public/mojom
sql
storage/browser
testing/perf
ui/ozone/platform/drm/gpu
url

@ -6,9 +6,9 @@
#include <map>
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "android_webview/browser/aw_settings.h"
#include "android_webview/browser/network_service/aw_web_resource_intercept_response.h"
#include "android_webview/browser/network_service/aw_web_resource_request.h"

@ -4,9 +4,9 @@
#include "android_webview/browser/aw_http_auth_handler.h"
#include <optional>
#include <utility>
#include <optional>
#include "android_webview/browser/aw_contents.h"
#include "android_webview/browser_jni_headers/AwHttpAuthHandler_jni.h"
#include "base/android/jni_android.h"

@ -7,10 +7,10 @@
#include <stdint.h>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include <optional>
#include "android_webview/browser/aw_browser_context.h"
#include "android_webview/browser/aw_browser_context_store.h"
#include "android_webview/browser/aw_client_hints_controller_delegate.h"

@ -6,6 +6,7 @@
#define ANDROID_WEBVIEW_BROWSER_GFX_AW_DRAW_FN_IMPL_H_
#include <optional>
#include "android_webview/browser/gfx/aw_vulkan_context_provider.h"
#include "android_webview/browser/gfx/compositor_frame_consumer.h"
#include "android_webview/browser/gfx/render_thread_manager.h"

@ -6,8 +6,8 @@
#define ANDROID_WEBVIEW_BROWSER_GFX_AW_VULKAN_CONTEXT_PROVIDER_H_
#include <memory>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "components/viz/common/gpu/vulkan_context_provider.h"
#include "gpu/vulkan/vulkan_device_queue.h"

@ -8,9 +8,9 @@
#include <stddef.h>
#include <map>
#include <optional>
#include <set>
#include <optional>
#include "android_webview/browser/gfx/begin_frame_source_webview.h"
#include "android_webview/browser/gfx/child_frame.h"
#include "android_webview/browser/gfx/compositor_frame_producer.h"

@ -6,9 +6,9 @@
#define ANDROID_WEBVIEW_BROWSER_GFX_CHILD_FRAME_H_
#include <memory>
#include <optional>
#include <vector>
#include <optional>
#include "base/containers/circular_deque.h"
#include "components/viz/common/frame_sinks/begin_frame_args.h"
#include "components/viz/common/surfaces/frame_sink_id.h"

@ -5,9 +5,9 @@
#include "android_webview/browser/gfx/render_thread_manager.h"
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "android_webview/browser/gfx/compositor_frame_producer.h"
#include "android_webview/browser/gfx/gpu_service_webview.h"
#include "android_webview/browser/gfx/hardware_renderer.h"

@ -5,11 +5,11 @@
#include "android_webview/browser/network_service/aw_proxying_url_loader_factory.h"
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include <optional>
#include "android_webview/browser/android_protocol_handler.h"
#include "android_webview/browser/aw_browser_context.h"
#include "android_webview/browser/aw_contents_client_bridge.h"

@ -6,6 +6,7 @@
#define ANDROID_WEBVIEW_BROWSER_NETWORK_SERVICE_AW_PROXYING_URL_LOADER_FACTORY_H_
#include <optional>
#include "android_webview/browser/network_service/aw_browser_context_io_thread_handle.h"
#include "base/memory/weak_ptr.h"
#include "components/embedder_support/android/util/android_stream_reader_url_loader.h"

@ -5,10 +5,10 @@
#ifndef ANDROID_WEBVIEW_BROWSER_NETWORK_SERVICE_AW_WEB_RESOURCE_REQUEST_H_
#define ANDROID_WEBVIEW_BROWSER_NETWORK_SERVICE_AW_WEB_RESOURCE_REQUEST_H_
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/android/scoped_java_ref.h"
namespace net {

@ -5,10 +5,10 @@
#ifndef ANDROID_WEBVIEW_BROWSER_TRACING_AW_BACKGROUND_TRACING_METRICS_PROVIDER_H_
#define ANDROID_WEBVIEW_BROWSER_TRACING_AW_BACKGROUND_TRACING_METRICS_PROVIDER_H_
#include "components/tracing/common/background_tracing_metrics_provider.h"
#include <optional>
#include "base/memory/weak_ptr.h"
#include "components/tracing/common/background_tracing_metrics_provider.h"
namespace tracing {

@ -6,6 +6,7 @@
#define ANDROID_WEBVIEW_BROWSER_TRACING_AW_TRACING_DELEGATE_H_
#include <optional>
#include "content/public/browser/tracing_delegate.h"
class PrefRegistrySimple;

@ -6,10 +6,10 @@
#define ANDROID_WEBVIEW_NONEMBEDDED_COMPONENT_UPDATER_AW_COMPONENT_UPDATE_SERVICE_H_
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/android/scoped_java_ref.h"
#include "base/containers/flat_map.h"
#include "base/functional/callback_forward.h"

@ -8,9 +8,9 @@
#include <iterator>
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "android_webview/common/aw_paths.h"
#include "android_webview/nonembedded/component_updater/aw_component_updater_configurator.h"
#include "base/android/path_utils.h"

@ -22,7 +22,6 @@
#include "base/metrics/histogram_functions.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "base/time/time.h"
#include "base/values.h"

@ -12,7 +12,6 @@
#include "ash/public/cpp/ambient/ambient_mode_photo_source.h"
#include "base/functional/callback.h"
#include "base/scoped_observation.h"
#include "base/time/time.h"
#include "base/timer/elapsed_timer.h"
#include "ui/views/view.h"

@ -16,7 +16,6 @@
#include "base/no_destructor.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "cc/paint/skottie_wrapper.h"
#include "third_party/re2/src/re2/re2.h"

@ -11,7 +11,6 @@
#include "ash/ambient/test/ambient_test_util.h"
#include "base/check.h"
#include "base/numerics/safe_conversions.h"
#include "cc/paint/skottie_resource_metadata.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

@ -15,7 +15,6 @@
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
#include "cc/paint/skottie_marker.h"
#include "third_party/re2/src/re2/re2.h"

@ -15,7 +15,6 @@
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/strings/strcat.h"
#include "base/time/time.h"
#include "cc/paint/skottie_marker.h"
#include "cc/paint/skottie_wrapper.h"

@ -5,6 +5,7 @@
#include "ash/app_list/views/apps_grid_view.h"
#include <stddef.h>
#include <algorithm>
#include <list>
#include <memory>

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/components/arc/timer/arc_timer_bridge.h"
#include <map>
#include <memory>
#include <optional>
@ -14,7 +16,6 @@
#include "ash/components/arc/session/connection_holder.h"
#include "ash/components/arc/test/connection_holder_util.h"
#include "ash/components/arc/test/fake_timer_instance.h"
#include "ash/components/arc/timer/arc_timer_bridge.h"
#include "ash/components/arc/timer/arc_timer_mojom_traits.h"
#include "base/files/file_descriptor_watcher_posix.h"
#include "base/files/scoped_file.h"

@ -5,6 +5,7 @@
#include "ash/events/peripheral_customization_event_rewriter.h"
#include <linux/input.h>
#include <iterator>
#include <memory>
#include <optional>

@ -2,11 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/login/ui/access_code_input.h"
#include <memory>
#include <optional>
#include <string>
#include "ash/login/ui/access_code_input.h"
#include "ash/test/ash_test_base.h"
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/sensor_info/sensor_provider.h"
#include <memory>
#include <optional>
#include <set>
@ -9,7 +11,6 @@
#include <vector>
#include "ash/accelerometer/accelerometer_constants.h"
#include "ash/sensor_info/sensor_provider.h"
#include "ash/sensor_info/sensor_types.h"
#include "ash/test/ash_test_helper.h"
#include "base/memory/scoped_refptr.h"

@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/public/cpp/input_device_settings_controller.h"
#include <cstdint>
#include <memory>
#include <optional>
@ -10,7 +12,6 @@
#include "ash/constants/ash_pref_names.h"
#include "ash/events/event_rewriter_controller_impl.h"
#include "ash/public/cpp/ash_prefs.h"
#include "ash/public/cpp/input_device_settings_controller.h"
#include "ash/public/mojom/input_device_settings.mojom.h"
#include "ash/session/session_controller_impl.h"
#include "ash/shell.h"

@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <jni.h>
#include <optional>
#include <string>

@ -4,6 +4,9 @@
#include "base/android/pre_freeze_background_memory_trimmer.h"
#include <optional>
#include <string>
#include "base/android/build_info.h"
#include "base/android/pmf_utils.h"
#include "base/check.h"
@ -18,9 +21,6 @@
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/time/time.h"
#include <optional>
#include <string>
namespace base::android {
namespace {

@ -6,6 +6,7 @@
#define BASE_ANDROID_TOKEN_ANDROID_H_
#include <jni.h>
#include <optional>
#include "base/android/scoped_java_ref.h"

@ -8,6 +8,7 @@
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <optional>
#include <type_traits>

@ -2,11 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string_view>
#include "base/json/json_reader.h"
#include <optional>
#include <string_view>
#include "base/json/json_writer.h"
#include "base/values.h"

@ -6,8 +6,8 @@
#define CC_ANIMATION_ANIMATION_DELEGATE_H_
#include <memory>
#include <optional>
#include "base/time/time.h"
#include "cc/animation/animation_export.h"
#include "ui/gfx/animation/keyframe/animation_curve.h"

@ -6,8 +6,8 @@
#define CC_ANIMATION_SCROLL_OFFSET_ANIMATION_CURVE_H_
#include <memory>
#include <optional>
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"

@ -7,6 +7,7 @@
#include <optional>
#include <vector>
#include "base/time/time.h"
#include "cc/animation/animation_export.h"
#include "cc/animation/animation_timeline.h"

@ -6,9 +6,9 @@
#define CC_ANIMATION_WORKLET_ANIMATION_H_
#include <memory>
#include <optional>
#include <string>
#include <optional>
#include "base/gtest_prod_util.h"
#include "base/time/time.h"
#include "cc/animation/animation.h"

@ -9,9 +9,9 @@
#include <iterator>
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "base/check.h"
#include "cc/base/list_container_helper.h"

@ -8,10 +8,10 @@
#include <algorithm>
#include <limits>
#include <optional>
#include <string>
#include <utility>
#include <optional>
#include "base/rand_util.h"
#include "base/values.h"
#include "cc/base/math_util.h"

@ -8,9 +8,9 @@
#include <algorithm>
#include <limits>
#include <optional>
#include <string>
#include <optional>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/task/single_thread_task_runner.h"

@ -4,9 +4,9 @@
#include "cc/benchmarks/unittest_only_benchmark.h"
#include <optional>
#include <utility>
#include <optional>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/task/single_thread_task_runner.h"

@ -6,9 +6,9 @@
#define CC_INPUT_BROWSER_CONTROLS_OFFSET_MANAGER_H_
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "base/time/time.h"
#include "cc/input/browser_controls_state.h"

@ -5,11 +5,11 @@
#ifndef CC_INPUT_SCROLL_SNAP_DATA_H_
#define CC_INPUT_SCROLL_SNAP_DATA_H_
#include <optional>
#include <set>
#include <utility>
#include <vector>
#include <optional>
#include "base/gtest_prod_util.h"
#include "cc/cc_export.h"
#include "cc/paint/element_id.h"

@ -6,8 +6,8 @@
#define CC_INPUT_SCROLLBAR_CONTROLLER_H_
#include <memory>
#include <optional>
#include "base/cancelable_callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"

@ -6,9 +6,10 @@
#define CC_LAYERS_APPEND_QUADS_DATA_H_
#include <stdint.h>
#include <vector>
#include <optional>
#include <vector>
#include "cc/cc_export.h"
#include "components/viz/common/surfaces/surface_id.h"

@ -6,9 +6,9 @@
#define CC_LAYERS_DEADLINE_POLICY_H_
#include <cstdint>
#include <optional>
#include <string>
#include <optional>
#include "base/check.h"
#include "cc/cc_export.h"

@ -8,11 +8,11 @@
#include <stddef.h>
#include <memory>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "cc/cc_export.h"
#include "cc/layers/draw_mode.h"

@ -6,10 +6,10 @@
#define CC_LAYERS_TEXTURE_LAYER_H_
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/weak_ptr.h"

@ -6,10 +6,10 @@
#define CC_LAYERS_TEXTURE_LAYER_IMPL_H_
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/containers/flat_map.h"
#include "base/functional/callback.h"
#include "base/memory/ptr_util.h"

@ -8,12 +8,12 @@
#include <bitset>
#include <deque>
#include <memory>
#include <optional>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ptr_exclusion.h"
#include "base/rand_util.h"

@ -6,12 +6,13 @@
#define CC_METRICS_DROPPED_FRAME_COUNTER_H_
#include <stddef.h>
#include <map>
#include <optional>
#include <queue>
#include <utility>
#include <vector>
#include <optional>
#include "base/containers/ring_buffer.h"
#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.h"

@ -7,10 +7,10 @@
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "base/time/tick_clock.h"
#include "base/time/time.h"

@ -8,8 +8,8 @@
#include <stddef.h>
#include <map>
#include <optional>
#include "base/containers/circular_deque.h"
#include "base/functional/callback.h"
#include "cc/cc_export.h"

@ -6,6 +6,7 @@
#define CC_METRICS_PREDICTOR_JANK_TRACKER_H_
#include <optional>
#include "base/time/time.h"
#include "cc/cc_export.h"
#include "cc/metrics/event_metrics.h"

@ -6,6 +6,7 @@
#define CC_METRICS_SCROLL_JANK_DROPPED_FRAME_TRACKER_H_
#include <optional>
#include "base/time/time.h"
#include "cc/cc_export.h"
#include "cc/metrics/event_metrics.h"

@ -6,6 +6,7 @@
#define CC_METRICS_SCROLL_JANK_UKM_REPORTER_H_
#include <optional>
#include "base/memory/raw_ptr.h"
#include "cc/cc_export.h"

@ -6,6 +6,7 @@
#define CC_METRICS_VIDEO_PLAYBACK_ROUGHNESS_REPORTER_H_
#include <optional>
#include "base/containers/circular_deque.h"
#include "base/containers/flat_set.h"
#include "base/functional/callback.h"

@ -6,6 +6,7 @@
#define CC_MOJOM_RENDER_FRAME_METADATA_MOJOM_TRAITS_H_
#include <optional>
#include "base/component_export.h"
#include "build/build_config.h"
#include "cc/mojom/render_frame_metadata.mojom-shared.h"

@ -7,8 +7,8 @@
#include <cfloat>
#include <cmath>
#include <optional>
#include "cc/paint/paint_export.h"
#include "cc/paint/paint_flags.h"
#include "gpu/command_buffer/common/mailbox.h"

@ -6,6 +6,7 @@
#define CC_PAINT_DRAW_IMAGE_H_
#include <optional>
#include "cc/paint/paint_export.h"
#include "cc/paint/paint_flags.h"
#include "cc/paint/paint_image.h"

@ -4,9 +4,9 @@
#include "cc/paint/image_provider.h"
#include <optional>
#include <utility>
#include <optional>
#include "cc/paint/paint_record.h"
namespace cc {

@ -5,9 +5,9 @@
#ifndef CC_PAINT_IMAGE_PROVIDER_H_
#define CC_PAINT_IMAGE_PROVIDER_H_
#include <optional>
#include <utility>
#include <optional>
#include "base/functional/callback.h"
#include "base/types/optional_util.h"
#include "cc/paint/decoded_draw_image.h"

@ -8,9 +8,9 @@
#include <stddef.h>
#include <stdint.h>
#include <optional>
#include <vector>
#include <optional>
#include "base/atomic_sequence_num.h"
#include "base/containers/span.h"
#include "base/memory/raw_ptr.h"

@ -5,9 +5,9 @@
#ifndef CC_PAINT_PAINT_FILTER_H_
#define CC_PAINT_PAINT_FILTER_H_
#include <optional>
#include <string>
#include <optional>
#include "base/check_op.h"
#include "cc/paint/color_filter.h"
#include "cc/paint/paint_export.h"

@ -5,10 +5,10 @@
#ifndef CC_PAINT_PAINT_IMAGE_H_
#define CC_PAINT_PAINT_IMAGE_H_
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_refptr.h"
#include "cc/paint/frame_metadata.h"

@ -7,10 +7,10 @@
#include <limits>
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include <optional>
#include "base/bits.h"
#include "base/check_op.h"
#include "base/functional/callback.h"

@ -6,9 +6,9 @@
#define CC_PAINT_PAINT_SHADER_H_
#include <memory>
#include <optional>
#include <vector>
#include <optional>
#include "base/gtest_prod_util.h"
#include "base/types/optional_util.h"
#include "cc/paint/image_analysis_state.h"

@ -5,11 +5,11 @@
#ifndef CC_PAINT_PAINT_WORKLET_INPUT_H_
#define CC_PAINT_PAINT_WORKLET_INPUT_H_
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include <optional>
#include "base/containers/flat_map.h"
#include "base/memory/ref_counted.h"
#include "cc/paint/element_id.h"

@ -6,6 +6,7 @@
#define CC_PAINT_RECORD_PAINT_CANVAS_H_
#include <optional>
#include "base/compiler_specific.h"
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"

@ -6,6 +6,7 @@
#define CC_PAINT_SCOPED_RASTER_FLAGS_H_
#include <optional>
#include "base/memory/raw_ptr.h"
#include "cc/paint/decode_stashing_image_provider.h"
#include "cc/paint/paint_export.h"

@ -5,9 +5,9 @@
#ifndef CC_PAINT_SOLID_COLOR_ANALYZER_H_
#define CC_PAINT_SOLID_COLOR_ANALYZER_H_
#include <optional>
#include <vector>
#include <optional>
#include "cc/paint/paint_export.h"
#include "cc/paint/paint_flags.h"
#include "third_party/skia/include/core/SkColor.h"

@ -5,6 +5,7 @@
#include "cc/paint/solid_color_analyzer.h"
#include <optional>
#include "base/memory/ref_counted.h"
#include "build/build_config.h"
#include "cc/paint/display_item_list.h"

@ -5,9 +5,9 @@
#ifndef CC_PAINT_TARGET_COLOR_PARAMS_H_
#define CC_PAINT_TARGET_COLOR_PARAMS_H_
#include <optional>
#include <string>
#include <optional>
#include "cc/paint/paint_export.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/hdr_metadata.h"

@ -6,9 +6,9 @@
#define CC_RASTER_CATEGORIZED_WORKER_POOL_H_
#include <memory>
#include <optional>
#include <vector>
#include <optional>
#include "base/containers/span.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"

@ -3,6 +3,7 @@
// found in the LICENSE file.
#include <optional>
#include "cc/slim/delayed_scheduler.h"
#include "cc/slim/scheduler.h"
#include "testing/gtest/include/gtest/gtest.h"

@ -5,9 +5,9 @@
#ifndef CC_SLIM_FRAME_DATA_H_
#define CC_SLIM_FRAME_DATA_H_
#include <optional>
#include <vector>
#include <optional>
#include "base/containers/flat_set.h"
#include "base/memory/raw_ref.h"
#include "cc/base/simple_enclosed_region.h"

@ -6,10 +6,10 @@
#define CC_SLIM_FRAME_SINK_IMPL_H_
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/component_export.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"

@ -5,9 +5,9 @@
#ifndef CC_SLIM_LAYER_H_
#define CC_SLIM_LAYER_H_
#include <optional>
#include <vector>
#include <optional>
#include "base/component_export.h"
#include "base/gtest_prod_util.h"
#include "base/memory/raw_ptr.h"

@ -7,11 +7,11 @@
#include <cstdint>
#include <memory>
#include <optional>
#include <unordered_map>
#include <utility>
#include <vector>
#include <optional>
#include "base/component_export.h"
#include "base/containers/circular_deque.h"
#include "base/functional/callback.h"

@ -6,6 +6,7 @@
#define CC_SLIM_SURFACE_LAYER_H_
#include <optional>
#include "base/component_export.h"
#include "cc/layers/deadline_policy.h"
#include "cc/slim/layer.h"

@ -5,12 +5,12 @@
#ifndef CC_TEST_PAINT_OP_MATCHERS_H_
#define CC_TEST_PAINT_OP_MATCHERS_H_
#include <optional>
#include <ostream>
#include <sstream>
#include <string>
#include <utility>
#include <optional>
#include "base/memory/ref_counted.h"
#include "base/strings/stringprintf.h"
#include "cc/paint/paint_op_buffer.h"

@ -6,10 +6,10 @@
#define CC_TILES_CHECKER_IMAGE_TRACKER_H_
#include <memory>
#include <optional>
#include <unordered_map>
#include <vector>
#include <optional>
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "cc/cc_export.h"

@ -6,13 +6,13 @@
#define CC_TILES_GPU_IMAGE_DECODE_CACHE_H_
#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <unordered_map>
#include <utility>
#include <vector>
#include <optional>
#include "base/containers/flat_map.h"
#include "base/containers/lru_cache.h"
#include "base/feature_list.h"

@ -5,9 +5,9 @@
#include "cc/tiles/image_controller.h"
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"

@ -8,9 +8,9 @@
#include <stdint.h>
#include <limits>
#include <optional>
#include <string>
#include <optional>
#include "base/containers/contains.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"

@ -5,10 +5,10 @@
#ifndef CC_TILES_TILES_WITH_RESOURCE_ITERATOR_H_
#define CC_TILES_TILES_WITH_RESOURCE_ITERATOR_H_
#include <optional>
#include <set>
#include <vector>
#include <optional>
#include "base/memory/raw_ptr.h"
#include "cc/cc_export.h"
#include "cc/tiles/picture_layer_tiling.h"

@ -6,9 +6,9 @@
#define CC_TREES_COMPOSITOR_COMMIT_DATA_H_
#include <memory>
#include <optional>
#include <vector>
#include <optional>
#include "cc/cc_export.h"
#include "cc/input/browser_controls_state.h"
#include "cc/input/scroll_snap_data.h"

@ -6,6 +6,7 @@
#define CC_TREES_EFFECT_NODE_H_
#include <optional>
#include "cc/cc_export.h"
#include "cc/paint/element_id.h"
#include "cc/paint/filter_operations.h"

@ -7,6 +7,7 @@
#include <optional>
#include <vector>
#include "base/functional/callback.h"
#include "cc/cc_export.h"
#include "components/viz/common/resources/returned_resource.h"

@ -10,13 +10,13 @@
#include <limits>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <optional>
#include "base/cancelable_callback.h"
#include "base/containers/flat_map.h"
#include "base/containers/flat_set.h"

@ -11,10 +11,10 @@
#include <limits>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <optional>
#include "base/auto_reset.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"

@ -8,13 +8,13 @@
#include <stddef.h>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <optional>
#include "base/containers/flat_map.h"
#include "base/containers/flat_set.h"
#include "base/containers/lru_cache.h"

@ -8,9 +8,9 @@
#include <cmath>
#include <memory>
#include <optional>
#include <utility>
#include <optional>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/memory_pressure_listener.h"

@ -6,11 +6,11 @@
#define CC_TREES_LAYER_TREE_MUTATOR_H_
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <vector>
#include <optional>
#include "base/check.h"
#include "base/functional/callback_forward.h"
#include "base/time/time.h"

@ -6,6 +6,7 @@
#define CC_TREES_MUTATOR_HOST_CLIENT_H_
#include <optional>
#include "cc/base/protected_sequence_synchronizer.h"
#include "cc/paint/element_id.h"
#include "cc/paint/paint_worklet_input.h"

@ -8,13 +8,13 @@
#include <stddef.h>
#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include <optional>
#include "base/containers/flat_map.h"
#include "base/containers/flat_set.h"
#include "base/functional/callback.h"

@ -6,6 +6,7 @@
#define CC_TREES_RENDER_FRAME_METADATA_H_
#include <optional>
#include "build/build_config.h"
#include "cc/cc_export.h"
#include "components/viz/common/quads/selection.h"

@ -6,6 +6,7 @@
#define CC_TREES_SCROLL_NODE_H_
#include <optional>
#include "cc/base/region.h"
#include "cc/cc_export.h"
#include "cc/input/main_thread_scrolling_reason.h"

@ -5,9 +5,8 @@
#ifndef CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_
#define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INFO_H_
#include <string>
#include <optional>
#include <string>
#include "base/time/time.h"
#include "services/device/public/mojom/screen_orientation_lock_types.mojom-shared.h"

@ -6,6 +6,7 @@
#define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_INSTALLER_H_
#include <jni.h>
#include <map>
#include <memory>
#include <optional>

@ -5,6 +5,7 @@
#include "chrome/browser/android/webapk/webapk_update_data_fetcher.h"
#include <jni.h>
#include <optional>
#include <set>
#include <string>

Some files were not shown because too many files have changed in this diff Show More