diff --git a/TODO.md b/TODO.md index df8807fa..41e11543 100644 --- a/TODO.md +++ b/TODO.md @@ -28,6 +28,7 @@ Dino strings in components/error_page_strings.grdp --M132-- Add full version renaming support for Linux and Windows, and partial for MacOS. +Add GM2 inkdrop for tabstrip control buttons. Remove //components/optimization_guide_core/optimization_guide_features.cc after upstream MacOS fix Opt with BOLT > https://aaupov.github.io/blog/2022/11/12/bolt-chromium diff --git a/other/thorium-2024-ui.patch b/other/thorium-2024-ui.patch index 0748b508..764c7447 100644 --- a/other/thorium-2024-ui.patch +++ b/other/thorium-2024-ui.patch @@ -1265,7 +1265,7 @@ index fb9afeed5a60e..d40af6311e073 100644 VIEW_ID_MAXIMIZE_BUTTON, VIEW_ID_RESTORE_BUTTON, diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc -index 9cecb25b41d3b..ad63624d72625 100644 +index 9cecb25b41d3b..a0662f288a022 100644 --- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc +++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc @@ -56,6 +56,7 @@ @@ -1296,8 +1296,8 @@ index 9cecb25b41d3b..ad63624d72625 100644 + int kBookmarksBarLeadingMarginWithoutSavedTabGroups; + int kBookmarksBarLeadingMarginWithSavedTabGroups; + if (features::IsThorium2024()) { -+ kBookmarksBarLeadingMarginWithoutSavedTabGroups = 8; -+ kBookmarksBarLeadingMarginWithSavedTabGroups = 14; ++ kBookmarksBarLeadingMarginWithoutSavedTabGroups = 10; ++ kBookmarksBarLeadingMarginWithSavedTabGroups = 16; + } else { + kBookmarksBarLeadingMarginWithoutSavedTabGroups = 6; + kBookmarksBarLeadingMarginWithSavedTabGroups = 12; @@ -2683,18 +2683,10 @@ index 5530486ee3bb3..352aacdbfe227 100644 auto* const ink_drop = views::InkDrop::Get(this); SetAnimationDuration(base::TimeDelta()); diff --git a/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc b/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc -index 4bc8f9177f416..a880929c5196d 100644 +index 4bc8f9177f416..9fc3598a5f1a8 100644 --- a/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc +++ b/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc -@@ -4,6 +4,7 @@ - - #include "chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.h" - -+#include "base/command_line.h" - #include "base/feature_list.h" - #include "base/memory/raw_ptr.h" - #include "build/build_config.h" -@@ -35,9 +36,6 @@ +@@ -35,9 +35,6 @@ namespace { @@ -2704,7 +2696,7 @@ index 4bc8f9177f416..a880929c5196d 100644 #if !defined(USE_AURA) struct WidgetEventPair { -@@ -243,7 +241,10 @@ RoundedOmniboxResultsFrame::RoundedOmniboxResultsFrame( +@@ -243,7 +240,10 @@ RoundedOmniboxResultsFrame::RoundedOmniboxResultsFrame( views::BubbleBorder::Arrow::NONE, views::BubbleBorder::Shadow::STANDARD_SHADOW); border->SetCornerRadius(corner_radius); @@ -2716,17 +2708,13 @@ index 4bc8f9177f416..a880929c5196d 100644 SetBorder(std::move(border)); AddChildView(contents_host_.get()); -@@ -272,10 +273,23 @@ void RoundedOmniboxResultsFrame::OnBeforeWidgetInit( +@@ -272,10 +272,19 @@ void RoundedOmniboxResultsFrame::OnBeforeWidgetInit( params->shadow_type = views::Widget::InitParams::ShadowType::kNone; } +// Static value from the spec controlling appearance of the shadow. +int RoundedOmniboxResultsFrame::GetBubbleElevation() { -+ static const bool classic_omnibox = -+ base::CommandLine::ForCurrentProcess()->HasSwitch("classic-omnibox"); + if (features::IsThorium2024()) { -+ return 8; -+ } else if (classic_omnibox) { + return 6; + } else { + return 16; @@ -2741,7 +2729,7 @@ index 4bc8f9177f416..a880929c5196d 100644 } // static -@@ -283,12 +297,26 @@ gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() { +@@ -283,12 +292,26 @@ gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() { if (ui::TouchUiController::Get()->touch_ui()) { return gfx::Insets::TLBR(6, 1, 5, 1); } @@ -2846,7 +2834,7 @@ index 12f3662bee633..d4295bb1f3785 100644 } diff --git a/chrome/browser/ui/views/side_panel/side_panel_resize_area.cc b/chrome/browser/ui/views/side_panel/side_panel_resize_area.cc -index e65fda1bf0161..53a99f0575c20 100644 +index e65fda1bf0161..63a226c4bbf6e 100644 --- a/chrome/browser/ui/views/side_panel/side_panel_resize_area.cc +++ b/chrome/browser/ui/views/side_panel/side_panel_resize_area.cc @@ -12,6 +12,7 @@ @@ -2878,7 +2866,7 @@ index e65fda1bf0161..53a99f0575c20 100644 gfx::Insets().set_left(resize_handle_left_margin)); - } else { + } else if (!lens::features::IsLensOverlayEnabled() || features::IsThorium2024()) { -+ constexpr float resize_handle_right_margin = 2.0f; ++ constexpr float resize_handle_right_margin = 1.5f; + SetProperty(views::kMarginsKey, + gfx::Insets().set_left(resize_handle_right_margin)); constexpr int kIconSize = 16; @@ -2907,7 +2895,7 @@ index fa14797259775..6031b27d539e6 100644 const int x = tabs::GetTabSearchTrailingTabstrip(profile_) ? bounds.right() - offset diff --git a/chrome/browser/ui/views/tabs/tab.cc b/chrome/browser/ui/views/tabs/tab.cc -index 30ec5058583ed..3103949fe60ec 100644 +index 30ec5058583ed..1b1b144a965aa 100644 --- a/chrome/browser/ui/views/tabs/tab.cc +++ b/chrome/browser/ui/views/tabs/tab.cc @@ -1,4 +1,4 @@ @@ -3017,7 +3005,7 @@ index 30ec5058583ed..3103949fe60ec 100644 + if (event.IsOnlyMiddleMouseButton() || + // Close tab on double click, mirror of IsOnlyMiddleMouseButton + // Based on gz83's work. -+ ((event.IsOnlyLeftMouseButton() && event.GetClickCount() == 2) && ++ ((event.IsOnlyLeftMouseButton() && event.GetClickCount() == 2) && + base::CommandLine::ForCurrentProcess()->HasSwitch("double-click-close-tab"))) { if (HitTestPoint(event.location())) { controller_->CloseTab(this, CLOSE_TAB_FROM_MOUSE); @@ -3409,10 +3397,10 @@ index b071682471a32..94123478b7fab 100644 // TODO(elainechien): Check with UI whether we want to draw overflow diff --git a/chrome/browser/ui/views/toolbar/restore_tab_button.cc b/chrome/browser/ui/views/toolbar/restore_tab_button.cc new file mode 100644 -index 0000000000000..d80d7b69ce583 +index 0000000000000..4bd2f5fa3eb41 --- /dev/null +++ b/chrome/browser/ui/views/toolbar/restore_tab_button.cc -@@ -0,0 +1,70 @@ +@@ -0,0 +1,71 @@ +// Copyright 2024 The Chromium Authors and Alex313031 +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -3426,8 +3414,9 @@ index 0000000000000..d80d7b69ce583 +#include "chrome/browser/command_updater.h" +#include "chrome/browser/external_protocol/external_protocol_handler.h" +#include "chrome/browser/ui/browser.h" ++#include "chrome/grit/generated_resources.h" +#include "components/vector_icons/vector_icons.h" -+//#include "ui/base/l10n/l10n_util.h" ++#include "ui/base/l10n/l10n_util.h" +#include "ui/base/metadata/metadata_impl_macros.h" +#include "ui/base/ui_base_features.h" +#include "ui/views/accessibility/view_accessibility.h" @@ -3440,12 +3429,12 @@ index 0000000000000..d80d7b69ce583 + + SetIcon(); + -+ constexpr char16_t RestoreTabAccessName[] = u"Restore Tab Button"; -+ GetViewAccessibility().SetName(RestoreTabAccessName); -+ constexpr char16_t RestoreTabAccessToolTipName[] = u"Restore Tab"; -+ SetTooltipText(RestoreTabAccessToolTipName); ++ SetTooltipText(l10n_util::GetStringUTF16(IDS_RESTORE_TAB_BUTTON_TOOLTIP)); ++ SetAccessibleName(l10n_util::GetStringUTF16(IDS_RESTORE_TAB_BUTTON_NAME)); + button_controller()->set_notify_action( + views::ButtonController::NotifyAction::kOnPress); ++ SetID(VIEW_ID_RESTORE_TAB_BUTTON); ++ SizeToPreferredSize(); +} + +RestoreTabButton::~RestoreTabButton() = default; @@ -4444,14 +4433,13 @@ index aec943d266793..98ee677630ff3 100644 + //use_bubble_border = corner_radius > 0; } // namespace views diff --git a/ui/views/controls/menu/menu_config_linux.cc b/ui/views/controls/menu/menu_config_linux.cc -index 09c03d1e87011..55a19743f0757 100644 +index 09c03d1e87011..9e661b29b27e6 100644 --- a/ui/views/controls/menu/menu_config_linux.cc +++ b/ui/views/controls/menu/menu_config_linux.cc -@@ -4,12 +4,28 @@ +@@ -4,12 +4,26 @@ #include "ui/views/controls/menu/menu_config.h" -+#include "base/command_line.h" +#include "chrome/browser/ui/thorium_2024.h" +#include "ui/base/ui_base_features.h" #include "ui/ozone/public/ozone_platform.h" @@ -4460,18 +4448,17 @@ index 09c03d1e87011..55a19743f0757 100644 void MenuConfig::InitPlatform() { - use_bubble_border = true; -+ static const bool bubble_borders = -+ base::CommandLine::ForCurrentProcess()->HasSwitch("bubble-borders"); -+ use_bubble_border = corner_radius > 0 || bubble_borders; ++ use_bubble_border = corner_radius > 0; + use_outer_border = true; + menu_horizontal_border_size = features::IsThorium2024() + ? 1 + : 0; -+ submenu_horizontal_overlap = features::IsThorium2024() ? 1 : 0; ++ submenu_horizontal_overlap = features::IsThorium2024() ? 2 : 0; ++ separator_horizontal_border_padding = features::IsThorium2024() ? 5 : 0; + arrow_to_edge_padding = features::IsThorium2024() ? 0 : 8; + separator_height = features::IsThorium2024() ? 5 : 13; -+ separator_upper_height = features::IsThorium2024() ? 3 : 3; -+ separator_lower_height = features::IsThorium2024() ? 3 : 4; ++ separator_upper_height = features::IsThorium2024() ? 2 : 3; ++ separator_lower_height = features::IsThorium2024() ? 2 : 4; + separator_spacing_height = features::IsThorium2024() ? 2 : 3; + nonrounded_menu_vertical_border_size = features::IsThorium2024() ? 3 : 4; } diff --git a/src/chrome/browser/BUILD.gn b/src/chrome/browser/BUILD.gn new file mode 100644 index 00000000..f7e38d75 --- /dev/null +++ b/src/chrome/browser/BUILD.gn @@ -0,0 +1,9336 @@ +# Copyright 2024 The Chromium Authors and Alex313031 +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//base/allocator/allocator.gni") +import("//build/buildflag_header.gni") +import("//build/config/buildflags_paint_preview.gni") +import("//build/config/chrome_build.gni") +import("//build/config/chromebox_for_meetings/buildflags.gni") +import("//build/config/chromeos/ui_mode.gni") +import("//build/config/compiler/pgo/pgo.gni") +import("//build/config/features.gni") +import("//build/config/python.gni") +import("//build/config/ui.gni") +import("//chrome/browser/buildflags.gni") +import("//chrome/browser/downgrade/buildflags.gni") +import("//chrome/browser/request_header_integrity/buildflags.gni") +import("//chrome/common/features.gni") +import("//chrome/services/speech/buildflags/buildflags.gni") +import("//chromeos/ash/components/assistant/assistant.gni") +import("//components/captive_portal/core/features.gni") +import("//components/compose/features.gni") +import("//components/enterprise/buildflags/buildflags.gni") +import("//components/lens/features.gni") +import("//components/nacl/features.gni") +import("//components/offline_pages/buildflags/features.gni") +import("//components/optimization_guide/features.gni") +import("//components/os_crypt/sync/features.gni") +import("//components/spellcheck/spellcheck_build_features.gni") +import("//crypto/features.gni") +import("//device/vr/buildflags/buildflags.gni") +import("//extensions/buildflags/buildflags.gni") +import("//media/gpu/args.gni") +import("//net/features.gni") +import("//pdf/features.gni") +import("//ppapi/buildflags/buildflags.gni") +import("//printing/buildflags/buildflags.gni") +import("//rlz/buildflags/buildflags.gni") +import("//sandbox/features.gni") +import("//services/screen_ai/buildflags/features.gni") +import("//testing/libfuzzer/fuzzer_test.gni") +import("//third_party/blink/public/public_features.gni") +import("//third_party/protobuf/proto_library.gni") +import("//third_party/webrtc/webrtc.gni") +import("//third_party/widevine/cdm/widevine.gni") +import("//tools/grit/grit_rule.gni") +import("//ui/base/ui_features.gni") + +assert(enable_supervised_users) + +# //build/config/android/rules.gni imports //tools/grit/grit_rule.gni, which +# produces a conflict for the "grit" template so we have to only include one. +if (is_android) { + import("//build/config/android/rules.gni") + import("//chrome/android/features/dev_ui/dev_ui_module.gni") +} + +if (is_win) { + import("//build/config/win/manifest.gni") +} + +assert(!is_fuchsia, "Fuchsia shouldn't use anything in //chrome") + +declare_args() { + # You can set the variable 'use_official_enterprise_connectors_api_keys' to + # true to use the Google-internal file containing official API keys + # for enterprise connector partners even in a developer build. Setting this + # variable explicitly to true will cause your build to fail if the + # internal file is missing. + # + # Note that official builds always behave as if the variable + # was explicitly set to true, i.e. they always use official keys, + # and will fail to build if the internal file is missing. + use_official_enterprise_connectors_api_keys = false +} + +additional_modules_list_file = + "$root_gen_dir/chrome/browser/internal/additional_modules_list.txt" + +if (is_win) { + # This is in a separate config so the flags can be applied to dependents. + # ldflags in GN aren't automatically inherited. + config("browser_win_linker_flags") { + libs = [ + "credui.lib", + "cryptui.lib", + "dwmapi.lib", + "imm32.lib", # chrome_elf_init.cc + "netapi32.lib", + "ndfapi.lib", # For browser/net/net_error_diagnostics_dialog_win.h + "wbemuuid.lib", # For browser/metrics / + # antivirus_metrics_provider_win.cc + ] + ldflags = [ "/DELAYLOAD:ndfapi.dll" ] + } +} + +buildflag_header("buildflags") { + header = "buildflags.h" + flags = [ + "ENABLE_UPDATER=$enable_updater", + "ENABLE_UPDATE_NOTIFICATIONS=$enable_update_notifications", + "USE_MINIKIN_HYPHENATION=$use_minikin_hyphenation", + "USE_THIN_LTO=$use_thin_lto", + ] + + if (is_win) { + flags += [ "ENABLE_SEGMENT_HEAP=$enable_segment_heap" ] + } + + # Android and ChromeOS don't support multiple browser processes, so they don't + # employ ProcessSingleton. + if (is_android || is_chromeos) { + flags += [ "ENABLE_PROCESS_SINGLETON=0" ] + } else { + flags += [ "ENABLE_PROCESS_SINGLETON=1" ] + } +} + +source_set("browser_process") { + sources = [ + "browser_process.cc", + "browser_process.h", + ] + deps = [ "//base" ] + public_deps = [ + "//build:chromeos_buildflags", + "//chrome/common:buildflags", + "//media:media_buildflags", + ] +} + +source_set("main_extra_parts") { + sources = [ "chrome_browser_main_extra_parts.h" ] +} + +source_set("global_features") { + sources = [ "global_features.h" ] + public_deps = [ "//base" ] +} + +# Use a static library here because many test binaries depend on this but don't +# require many files from it. This makes linking more efficient. +static_library("browser") { + sources = [ + "about_flags.cc", + "about_flags.h", + "accessibility/accessibility_labels_service.cc", + "accessibility/accessibility_labels_service.h", + "accessibility/accessibility_labels_service_factory.cc", + "accessibility/accessibility_labels_service_factory.h", + "accessibility/page_colors.cc", + "accessibility/page_colors.h", + "accessibility/page_colors_factory.cc", + "accessibility/page_colors_factory.h", + "accessibility/prefers_default_scrollbar_styles_prefs.cc", + "accessibility/prefers_default_scrollbar_styles_prefs.h", + "affiliations/affiliation_service_factory.cc", + "affiliations/affiliation_service_factory.h", + "after_startup_task_utils.cc", + "after_startup_task_utils.h", + "app_mode/app_mode_utils.cc", + "app_mode/app_mode_utils.h", + "assist_ranker/assist_ranker_service_factory.cc", + "assist_ranker/assist_ranker_service_factory.h", + "autocomplete/autocomplete_classifier_factory.cc", + "autocomplete/autocomplete_classifier_factory.h", + "autocomplete/chrome_autocomplete_provider_client.cc", + "autocomplete/chrome_autocomplete_provider_client.h", + "autocomplete/chrome_autocomplete_scheme_classifier.cc", + "autocomplete/chrome_autocomplete_scheme_classifier.h", + "autocomplete/document_suggestions_service_factory.cc", + "autocomplete/document_suggestions_service_factory.h", + "autocomplete/in_memory_url_index_factory.cc", + "autocomplete/in_memory_url_index_factory.h", + "autocomplete/provider_state_service_factory.cc", + "autocomplete/provider_state_service_factory.h", + "autocomplete/remote_suggestions_service_factory.cc", + "autocomplete/remote_suggestions_service_factory.h", + "autocomplete/shortcuts_backend_factory.cc", + "autocomplete/shortcuts_backend_factory.h", + "autocomplete/zero_suggest_cache_service_factory.cc", + "autocomplete/zero_suggest_cache_service_factory.h", + "background_fetch/background_fetch_delegate_factory.cc", + "background_fetch/background_fetch_delegate_factory.h", + "background_fetch/background_fetch_delegate_impl.cc", + "background_fetch/background_fetch_delegate_impl.h", + "background_fetch/background_fetch_permission_context.cc", + "background_fetch/background_fetch_permission_context.h", + "background_sync/background_sync_controller_factory.cc", + "background_sync/background_sync_controller_factory.h", + "background_sync/background_sync_delegate_impl.cc", + "background_sync/background_sync_delegate_impl.h", + "background_sync/periodic_background_sync_permission_context.cc", + "background_sync/periodic_background_sync_permission_context.h", + "bad_message.cc", + "bad_message.h", + "battery/battery_metrics.cc", + "battery/battery_metrics.h", + "battery/battery_saver.cc", + "battery/battery_saver.h", + "bluetooth/bluetooth_chooser_context_factory.cc", + "bluetooth/bluetooth_chooser_context_factory.h", + "bluetooth/chrome_bluetooth_delegate.cc", + "bluetooth/chrome_bluetooth_delegate.h", + "bluetooth/chrome_bluetooth_delegate_impl_client.cc", + "bluetooth/chrome_bluetooth_delegate_impl_client.h", + "bookmarks/bookmark_model_factory.cc", + "bookmarks/bookmark_model_factory.h", + "bookmarks/chrome_bookmark_client.cc", + "bookmarks/chrome_bookmark_client.h", + "bookmarks/managed_bookmark_service_factory.cc", + "bookmarks/managed_bookmark_service_factory.h", + "browser_about_handler.cc", + "browser_about_handler.h", + "browser_features.cc", + "browser_features.h", + "browser_process_impl.cc", + "browser_process_impl.h", + "browser_process_platform_part.h", + "browser_process_platform_part_base.cc", + "browser_process_platform_part_base.h", + "browsing_data/browsing_data_file_system_util.cc", + "browsing_data/browsing_data_file_system_util.h", + "browsing_data/browsing_data_history_observer_service.cc", + "browsing_data/browsing_data_history_observer_service.h", + "browsing_data/browsing_data_important_sites_util.cc", + "browsing_data/browsing_data_important_sites_util.h", + "browsing_data/browsing_data_lifetime_policy_handler.cc", + "browsing_data/browsing_data_lifetime_policy_handler.h", + "browsing_data/chrome_browsing_data_lifetime_manager.cc", + "browsing_data/chrome_browsing_data_lifetime_manager.h", + "browsing_data/chrome_browsing_data_lifetime_manager_factory.cc", + "browsing_data/chrome_browsing_data_lifetime_manager_factory.h", + "browsing_data/chrome_browsing_data_model_delegate.cc", + "browsing_data/chrome_browsing_data_model_delegate.h", + "browsing_data/chrome_browsing_data_remover_delegate.cc", + "browsing_data/chrome_browsing_data_remover_delegate.h", + "browsing_data/chrome_browsing_data_remover_delegate_factory.cc", + "browsing_data/chrome_browsing_data_remover_delegate_factory.h", + "browsing_data/counters/browsing_data_counter_factory.cc", + "browsing_data/counters/browsing_data_counter_factory.h", + "browsing_data/counters/browsing_data_counter_utils.cc", + "browsing_data/counters/browsing_data_counter_utils.h", + "browsing_data/counters/cache_counter.cc", + "browsing_data/counters/cache_counter.h", + "browsing_data/counters/downloads_counter.cc", + "browsing_data/counters/downloads_counter.h", + "browsing_data/counters/signin_data_counter.cc", + "browsing_data/counters/signin_data_counter.h", + "browsing_data/counters/site_data_counter.cc", + "browsing_data/counters/site_data_counter.h", + "browsing_data/counters/site_data_counting_helper.cc", + "browsing_data/counters/site_data_counting_helper.h", + "browsing_data/counters/site_settings_counter.cc", + "browsing_data/counters/site_settings_counter.h", + "browsing_data/navigation_entry_remover.cc", + "browsing_data/navigation_entry_remover.h", + "browsing_data/site_data_size_collector.cc", + "browsing_data/site_data_size_collector.h", + "browsing_topics/browsing_topics_service_factory.cc", + "browsing_topics/browsing_topics_service_factory.h", + "cart/commerce_hint_service.cc", + "cart/commerce_hint_service.h", + "chained_back_navigation_tracker.cc", + "chained_back_navigation_tracker.h", + "child_process_host_flags.h", + "chooser_controller/title_util.cc", + "chooser_controller/title_util.h", + "chrome_browser_field_trials.cc", + "chrome_browser_field_trials.h", + "chrome_browser_interface_binders.cc", + "chrome_browser_interface_binders.h", + "chrome_browser_main.cc", + "chrome_browser_main.h", + "chrome_browser_main_extra_parts_nacl_deprecation.cc", + "chrome_browser_main_extra_parts_nacl_deprecation.h", + "chrome_content_browser_client.cc", + "chrome_content_browser_client.h", + "chrome_content_browser_client_binder_policies.cc", + "chrome_content_browser_client_binder_policies.h", + "chrome_content_browser_client_parts.h", + "chrome_content_browser_client_receiver_bindings.cc", + "chrome_resource_bundle_helper.cc", + "chrome_resource_bundle_helper.h", + "client_hints/client_hints_factory.cc", + "client_hints/client_hints_factory.h", + "command_observer.h", + "command_updater_delegate.h", + "command_updater_impl.cc", + "command_updater_impl.h", + "commerce/product_specifications/product_specifications_service_factory.cc", + "commerce/product_specifications/product_specifications_service_factory.h", + "complex_tasks/task_tab_helper.cc", + "complex_tasks/task_tab_helper.h", + "component_updater/afp_blocked_domain_list_component_installer.cc", + "component_updater/afp_blocked_domain_list_component_installer.h", + "component_updater/chrome_component_updater_configurator.cc", + "component_updater/chrome_component_updater_configurator.h", + "component_updater/chrome_origin_trials_component_installer.cc", + "component_updater/chrome_origin_trials_component_installer.h", + "component_updater/commerce_heuristics_component_installer.cc", + "component_updater/commerce_heuristics_component_installer.h", + "component_updater/component_updater_prefs.cc", + "component_updater/component_updater_prefs.h", + "component_updater/component_updater_utils.cc", + "component_updater/component_updater_utils.h", + "component_updater/crl_set_component_installer.cc", + "component_updater/crl_set_component_installer.h", + "component_updater/crowd_deny_component_installer.cc", + "component_updater/crowd_deny_component_installer.h", + "component_updater/desktop_sharing_hub_component_remover.cc", + "component_updater/desktop_sharing_hub_component_remover.h", + "component_updater/file_type_policies_component_installer.cc", + "component_updater/file_type_policies_component_installer.h", + "component_updater/first_party_sets_component_installer.cc", + "component_updater/first_party_sets_component_installer.h", + "component_updater/masked_domain_list_component_installer.cc", + "component_updater/masked_domain_list_component_installer.h", + "component_updater/mei_preload_component_installer.cc", + "component_updater/mei_preload_component_installer.h", + "component_updater/optimization_guide_on_device_model_installer.cc", + "component_updater/optimization_guide_on_device_model_installer.h", + "component_updater/pki_metadata_component_installer.cc", + "component_updater/pki_metadata_component_installer.h", + "component_updater/pnacl_component_installer.cc", + "component_updater/pnacl_component_installer.h", + "component_updater/privacy_sandbox_attestations_component_installer.cc", + "component_updater/privacy_sandbox_attestations_component_installer.h", + "component_updater/recovery_component_installer.cc", + "component_updater/recovery_component_installer.h", + "component_updater/recovery_improved_component_installer.cc", + "component_updater/recovery_improved_component_installer.h", + "component_updater/registration.cc", + "component_updater/registration.h", + "component_updater/ssl_error_assistant_component_installer.cc", + "component_updater/ssl_error_assistant_component_installer.h", + "component_updater/subresource_filter_component_installer.cc", + "component_updater/subresource_filter_component_installer.h", + "component_updater/tpcd_metadata_component_installer.cc", + "component_updater/tpcd_metadata_component_installer.h", + "component_updater/trust_token_key_commitments_component_installer.cc", + "component_updater/trust_token_key_commitments_component_installer.h", + "consent_auditor/consent_auditor_factory.cc", + "consent_auditor/consent_auditor_factory.h", + "content_index/content_index_metrics.cc", + "content_index/content_index_metrics.h", + "content_index/content_index_provider_factory.cc", + "content_index/content_index_provider_factory.h", + "content_index/content_index_provider_impl.cc", + "content_index/content_index_provider_impl.h", + "content_settings/chrome_content_settings_utils.cc", + "content_settings/chrome_content_settings_utils.h", + "content_settings/content_settings_manager_delegate.cc", + "content_settings/content_settings_manager_delegate.h", + "content_settings/cookie_settings_factory.cc", + "content_settings/cookie_settings_factory.h", + "content_settings/host_content_settings_map_factory.cc", + "content_settings/host_content_settings_map_factory.h", + "content_settings/mixed_content_settings_tab_helper.cc", + "content_settings/mixed_content_settings_tab_helper.h", + "content_settings/one_time_permission_provider.cc", + "content_settings/one_time_permission_provider.h", + "content_settings/page_specific_content_settings_delegate.cc", + "content_settings/page_specific_content_settings_delegate.h", + "content_settings/sound_content_setting_observer.cc", + "content_settings/sound_content_setting_observer.h", + "custom_handlers/chrome_protocol_handler_registry_delegate.cc", + "custom_handlers/chrome_protocol_handler_registry_delegate.h", + "custom_handlers/protocol_handler_registry_factory.cc", + "custom_handlers/protocol_handler_registry_factory.h", + "data_saver/data_saver.cc", + "data_saver/data_saver.h", + "data_sharing/data_sharing_navigation_throttle.cc", + "data_sharing/data_sharing_navigation_throttle.h", + "data_sharing/data_sharing_service_factory.cc", + "data_sharing/data_sharing_service_factory.h", + "defaults.cc", + "defaults.h", + "digital_credentials/digital_identity_interstitial_closed_reason.h", + "digital_credentials/digital_identity_low_risk_origins.cc", + "digital_credentials/digital_identity_low_risk_origins.h", + "dips/chrome_dips_delegate.cc", + "dips/chrome_dips_delegate.h", + "dips/cookie_access_filter.cc", + "dips/cookie_access_filter.h", + "dips/dips_bounce_detector.cc", + "dips/dips_bounce_detector.h", + "dips/dips_browser_signin_detector.cc", + "dips/dips_browser_signin_detector.h", + "dips/dips_cleanup_service.cc", + "dips/dips_cleanup_service.h", + "dips/dips_cleanup_service_factory.cc", + "dips/dips_cleanup_service_factory.h", + "dips/dips_database.cc", + "dips/dips_database.h", + "dips/dips_database_migrator.cc", + "dips/dips_database_migrator.h", + "dips/dips_navigation_flow_detector.cc", + "dips/dips_navigation_flow_detector.h", + "dips/dips_navigation_flow_detector_wrapper.cc", + "dips/dips_navigation_flow_detector_wrapper.h", + "dips/dips_redirect_info.cc", + "dips/dips_redirect_info.h", + "dips/dips_service.cc", + "dips/dips_service.h", + "dips/dips_service_factory.cc", + "dips/dips_service_factory.h", + "dips/dips_state.cc", + "dips/dips_state.h", + "dips/dips_storage.cc", + "dips/dips_storage.h", + "dips/dips_utils.cc", + "dips/dips_utils.h", + "dips/persistent_repeating_timer.cc", + "dips/persistent_repeating_timer.h", + "display_capture/captured_surface_control_permission_context.cc", + "display_capture/captured_surface_control_permission_context.h", + "display_capture/display_capture_permission_context.cc", + "display_capture/display_capture_permission_context.h", + "dom_distiller/dom_distiller_service_factory.cc", + "dom_distiller/dom_distiller_service_factory.h", + "dom_distiller/lazy_dom_distiller_service.cc", + "dom_distiller/lazy_dom_distiller_service.h", + "dom_distiller/profile_utils.cc", + "dom_distiller/profile_utils.h", + "domain_reliability/service_factory.cc", + "domain_reliability/service_factory.h", + "download/background_download_service_factory.cc", + "download/background_download_service_factory.h", + "download/chrome_download_manager_delegate.cc", + "download/chrome_download_manager_delegate.h", + "download/deferred_client_wrapper.cc", + "download/deferred_client_wrapper.h", + "download/download_confirmation_reason.h", + "download/download_confirmation_result.h", + "download/download_core_service.cc", + "download/download_core_service.h", + "download/download_core_service_factory.cc", + "download/download_core_service_factory.h", + "download/download_core_service_impl.cc", + "download/download_core_service_impl.h", + "download/download_dialog_types.h", + "download/download_file_picker.cc", + "download/download_file_picker.h", + "download/download_history.cc", + "download/download_history.h", + "download/download_item_model.cc", + "download/download_item_model.h", + "download/download_item_warning_data.cc", + "download/download_item_warning_data.h", + "download/download_manager_utils.cc", + "download/download_manager_utils.h", + "download/download_offline_content_provider.cc", + "download/download_offline_content_provider.h", + "download/download_offline_content_provider_factory.cc", + "download/download_offline_content_provider_factory.h", + "download/download_permission_request.cc", + "download/download_permission_request.h", + "download/download_prefs.cc", + "download/download_prefs.h", + "download/download_prompt_status.h", + "download/download_query.cc", + "download/download_query.h", + "download/download_request_limiter.cc", + "download/download_request_limiter.h", + "download/download_stats.cc", + "download/download_stats.h", + "download/download_status_updater.cc", + "download/download_status_updater.h", + "download/download_target_determiner.cc", + "download/download_target_determiner.h", + "download/download_target_determiner_delegate.h", + "download/download_ui_controller.cc", + "download/download_ui_controller.h", + "download/download_ui_model.cc", + "download/download_ui_model.h", + "download/download_ui_safe_browsing_util.cc", + "download/download_ui_safe_browsing_util.h", + "download/drag_download_item.h", + "download/insecure_download_blocking.cc", + "download/insecure_download_blocking.h", + "download/notification/multi_profile_download_notifier.cc", + "download/notification/multi_profile_download_notifier.h", + "download/offline_item_utils.cc", + "download/offline_item_utils.h", + "download/save_package_file_picker.cc", + "download/save_package_file_picker.h", + "download/simple_download_manager_coordinator_factory.cc", + "download/simple_download_manager_coordinator_factory.h", + "download/trusted_sources_manager.cc", + "download/trusted_sources_manager.h", + "engagement/history_aware_site_engagement_service.cc", + "engagement/history_aware_site_engagement_service.h", + "engagement/important_sites_util.cc", + "engagement/important_sites_util.h", + "engagement/site_engagement_service_factory.cc", + "engagement/site_engagement_service_factory.h", + "enterprise/browser_management/browser_management_service.cc", + "enterprise/browser_management/browser_management_service.h", + "enterprise/browser_management/browser_management_status_provider.cc", + "enterprise/browser_management/browser_management_status_provider.h", + "enterprise/browser_management/management_service_factory.cc", + "enterprise/browser_management/management_service_factory.h", + "enterprise/connectors/interstitials/enterprise_block_controller_client.cc", + "enterprise/connectors/interstitials/enterprise_block_controller_client.h", + "enterprise/connectors/interstitials/enterprise_block_page.cc", + "enterprise/connectors/interstitials/enterprise_block_page.h", + "enterprise/connectors/interstitials/enterprise_interstitial_util.cc", + "enterprise/connectors/interstitials/enterprise_interstitial_util.h", + "enterprise/connectors/interstitials/enterprise_warn_controller_client.cc", + "enterprise/connectors/interstitials/enterprise_warn_controller_client.h", + "enterprise/connectors/interstitials/enterprise_warn_page.cc", + "enterprise/connectors/interstitials/enterprise_warn_page.h", + "enterprise/core/dependency_factory_impl.cc", + "enterprise/core/dependency_factory_impl.h", + "enterprise/identifiers/profile_id_delegate_impl.cc", + "enterprise/identifiers/profile_id_delegate_impl.h", + "enterprise/identifiers/profile_id_service_factory.cc", + "enterprise/identifiers/profile_id_service_factory.h", + "enterprise/profile_management/saml_response_parser.cc", + "enterprise/profile_management/saml_response_parser.h", + "enterprise/reporting/legacy_tech/legacy_tech_report_generator.cc", + "enterprise/reporting/legacy_tech/legacy_tech_report_generator.h", + "enterprise/reporting/legacy_tech/legacy_tech_report_policy_handler.cc", + "enterprise/reporting/legacy_tech/legacy_tech_report_policy_handler.h", + "enterprise/reporting/legacy_tech/legacy_tech_service.cc", + "enterprise/reporting/legacy_tech/legacy_tech_service.h", + "enterprise/reporting/legacy_tech/legacy_tech_url_matcher.cc", + "enterprise/reporting/legacy_tech/legacy_tech_url_matcher.h", + "enterprise/reporting/prefs.cc", + "enterprise/reporting/prefs.h", + "enterprise/reporting/profile_report_generator_delegate_base.cc", + "enterprise/reporting/profile_report_generator_delegate_base.h", + "enterprise/util/affiliation.cc", + "enterprise/util/affiliation.h", + "enterprise/util/managed_browser_utils.cc", + "enterprise/util/managed_browser_utils.h", + "expired_flags_list.h", + "external_protocol/constants.cc", + "external_protocol/constants.h", + "external_protocol/external_protocol_handler.cc", + "external_protocol/external_protocol_handler.h", + "external_protocol/external_protocol_observer.cc", + "external_protocol/external_protocol_observer.h", + "feature_engagement/tracker_factory.cc", + "feature_engagement/tracker_factory.h", + "file_select_helper.cc", + "file_select_helper.h", + "file_util_service.cc", + "file_util_service.h", + "first_party_sets/first_party_sets_navigation_throttle.cc", + "first_party_sets/first_party_sets_navigation_throttle.h", + "first_party_sets/first_party_sets_policy_service.cc", + "first_party_sets/first_party_sets_policy_service.h", + "first_party_sets/first_party_sets_policy_service_factory.cc", + "first_party_sets/first_party_sets_policy_service_factory.h", + "flag_descriptions.cc", + "flag_descriptions.h", + "gcm/gcm_product_util.cc", + "gcm/gcm_product_util.h", + "gcm/gcm_profile_service_factory.cc", + "gcm/gcm_profile_service_factory.h", + "gcm/instance_id/instance_id_profile_service_factory.cc", + "gcm/instance_id/instance_id_profile_service_factory.h", + "geolocation/geolocation_permission_context_delegate.cc", + "geolocation/geolocation_permission_context_delegate.h", + "geolocation/geolocation_permission_context_extensions.cc", + "geolocation/geolocation_permission_context_extensions.h", + "global_features.cc", + "gpu/chrome_browser_main_extra_parts_gpu.cc", + "gpu/chrome_browser_main_extra_parts_gpu.h", + "gpu/gpu_mode_manager.cc", + "gpu/gpu_mode_manager.h", + "hang_monitor/hang_crash_dump.h", + "heavy_ad_intervention/heavy_ad_service_factory.cc", + "heavy_ad_intervention/heavy_ad_service_factory.h", + "history/chrome_history_backend_client.cc", + "history/chrome_history_backend_client.h", + "history/chrome_history_client.cc", + "history/chrome_history_client.h", + "history/domain_diversity_reporter_factory.cc", + "history/domain_diversity_reporter_factory.h", + "history/history_service_factory.cc", + "history/history_service_factory.h", + "history/history_tab_helper.cc", + "history/history_tab_helper.h", + "history/history_utils.cc", + "history/history_utils.h", + "history/profile_based_browsing_history_driver.cc", + "history/profile_based_browsing_history_driver.h", + "history/top_sites_factory.cc", + "history/top_sites_factory.h", + "history/web_history_service_factory.cc", + "history/web_history_service_factory.h", + "history_clusters/history_clusters_metrics_logger.cc", + "history_clusters/history_clusters_metrics_logger.h", + "history_clusters/history_clusters_service_factory.cc", + "history_clusters/history_clusters_service_factory.h", + "history_clusters/history_clusters_tab_helper.cc", + "history_clusters/history_clusters_tab_helper.h", + "history_embeddings/chrome_history_embeddings_service.cc", + "history_embeddings/chrome_history_embeddings_service.h", + "history_embeddings/chrome_passage_embeddings_service_controller.cc", + "history_embeddings/chrome_passage_embeddings_service_controller.h", + "history_embeddings/history_embeddings_service_factory.cc", + "history_embeddings/history_embeddings_service_factory.h", + "history_embeddings/history_embeddings_tab_helper.cc", + "history_embeddings/history_embeddings_tab_helper.h", + "history_embeddings/history_embeddings_utils.cc", + "history_embeddings/history_embeddings_utils.h", + "icon_loader.cc", + "icon_loader.h", + "icon_manager.cc", + "icon_manager.h", + "idle/idle_detection_permission_context.cc", + "idle/idle_detection_permission_context.h", + "infobars/confirm_infobar_creator.cc", + "infobars/confirm_infobar_creator.h", + "infobars/infobar_responder.cc", + "infobars/infobar_responder.h", + "infobars/simple_alert_infobar_creator.cc", + "infobars/simple_alert_infobar_creator.h", + "internal_auth.cc", + "internal_auth.h", + "interstitials/chrome_settings_page_helper.cc", + "interstitials/chrome_settings_page_helper.h", + "interstitials/enterprise_util.cc", + "interstitials/enterprise_util.h", + "invalidation/profile_invalidation_provider_factory.cc", + "invalidation/profile_invalidation_provider_factory.h", + "k_anonymity_service/k_anonymity_service_client.cc", + "k_anonymity_service/k_anonymity_service_client.h", + "k_anonymity_service/k_anonymity_service_factory.cc", + "k_anonymity_service/k_anonymity_service_factory.h", + "k_anonymity_service/k_anonymity_service_metrics.cc", + "k_anonymity_service/k_anonymity_service_metrics.h", + "k_anonymity_service/k_anonymity_service_storage.cc", + "k_anonymity_service/k_anonymity_service_storage.h", + "k_anonymity_service/k_anonymity_service_urls.h", + "k_anonymity_service/k_anonymity_trust_token_getter.cc", + "k_anonymity_service/k_anonymity_trust_token_getter.h", + "k_anonymity_service/remote_trust_token_query_answerer.cc", + "k_anonymity_service/remote_trust_token_query_answerer.h", + "language/accept_languages_service_factory.cc", + "language/accept_languages_service_factory.h", + "language/language_model_manager_factory.cc", + "language/language_model_manager_factory.h", + "language/url_language_histogram_factory.cc", + "language/url_language_histogram_factory.h", + "language_detection/language_detection_model_service_factory.cc", + "language_detection/language_detection_model_service_factory.h", + "lifetime/application_lifetime.cc", + "lifetime/application_lifetime.h", + "lifetime/browser_shutdown.cc", + "lifetime/browser_shutdown.h", + "lifetime/termination_notification.cc", + "lifetime/termination_notification.h", + "login_detection/login_detection_keyed_service.cc", + "login_detection/login_detection_keyed_service.h", + "login_detection/login_detection_keyed_service_factory.cc", + "login_detection/login_detection_keyed_service_factory.h", + "login_detection/login_detection_prefs.cc", + "login_detection/login_detection_prefs.h", + "login_detection/login_detection_tab_helper.cc", + "login_detection/login_detection_tab_helper.h", + "login_detection/login_detection_type.h", + "login_detection/login_detection_util.cc", + "login_detection/login_detection_util.h", + "login_detection/oauth_login_detector.cc", + "login_detection/oauth_login_detector.h", + "lookalikes/lookalike_url_blocking_page.cc", + "lookalikes/lookalike_url_blocking_page.h", + "lookalikes/lookalike_url_controller_client.cc", + "lookalikes/lookalike_url_controller_client.h", + "lookalikes/lookalike_url_navigation_throttle.cc", + "lookalikes/lookalike_url_navigation_throttle.h", + "lookalikes/lookalike_url_service.cc", + "lookalikes/lookalike_url_service.h", + "lookalikes/lookalike_url_tab_storage.cc", + "lookalikes/lookalike_url_tab_storage.h", + "lookalikes/safety_tip_ui.h", + "lookalikes/safety_tip_ui_helper.cc", + "lookalikes/safety_tip_ui_helper.h", + "lookalikes/safety_tip_web_contents_observer.cc", + "lookalikes/safety_tip_web_contents_observer.h", + "manta/manta_service_factory.cc", + "manta/manta_service_factory.h", + "media/audio_service_util.cc", + "media/audio_service_util.h", + "media/chrome_media_session_client.cc", + "media/chrome_media_session_client.h", + "media/media_access_handler.cc", + "media/media_access_handler.h", + "media/media_engagement_contents_observer.cc", + "media/media_engagement_contents_observer.h", + "media/media_engagement_preloaded_list.cc", + "media/media_engagement_preloaded_list.h", + "media/media_engagement_score.cc", + "media/media_engagement_score.h", + "media/media_engagement_service.cc", + "media/media_engagement_service.h", + "media/media_engagement_service_factory.cc", + "media/media_engagement_service_factory.h", + "media/media_engagement_session.cc", + "media/media_engagement_session.h", + "media/media_storage_id_salt.cc", + "media/media_storage_id_salt.h", + "media/output_protection_proxy.cc", + "media/output_protection_proxy.h", + "media_effects/media_effects_manager_binder.cc", + "media_effects/media_effects_manager_binder.h", + "media_effects/media_effects_service_factory.cc", + "media_effects/media_effects_service_factory.h", + "memory/chrome_browser_main_extra_parts_memory.cc", + "memory/chrome_browser_main_extra_parts_memory.h", + "memory/enterprise_memory_limit_evaluator.cc", + "memory/enterprise_memory_limit_evaluator.h", + "memory/enterprise_memory_limit_pref_observer.cc", + "memory/enterprise_memory_limit_pref_observer.h", + "memory_details.cc", + "memory_details.h", + "metrics/cached_metrics_profile.cc", + "metrics/cached_metrics_profile.h", + "metrics/chrome_browser_main_extra_parts_metrics.cc", + "metrics/chrome_browser_main_extra_parts_metrics.h", + "metrics/chrome_browser_sampling_trials.cc", + "metrics/chrome_browser_sampling_trials.h", + "metrics/chrome_feature_list_creator.cc", + "metrics/chrome_feature_list_creator.h", + "metrics/chrome_metrics_extensions_helper.cc", + "metrics/chrome_metrics_extensions_helper.h", + "metrics/chrome_metrics_service_accessor.cc", + "metrics/chrome_metrics_service_accessor.h", + "metrics/chrome_metrics_service_client.cc", + "metrics/chrome_metrics_service_client.h", + "metrics/chrome_metrics_services_manager_client.cc", + "metrics/chrome_metrics_services_manager_client.h", + "metrics/https_engagement_metrics_provider.cc", + "metrics/https_engagement_metrics_provider.h", + "metrics/incognito_observer.cc", + "metrics/incognito_observer.h", + "metrics/metrics_memory_details.cc", + "metrics/metrics_memory_details.h", + "metrics/metrics_reporting_state.cc", + "metrics/metrics_reporting_state.h", + "metrics/network_quality_estimator_provider_impl.cc", + "metrics/network_quality_estimator_provider_impl.h", + "metrics/process_memory_metrics_emitter.cc", + "metrics/process_memory_metrics_emitter.h", + "metrics/shutdown_watcher_helper.cc", + "metrics/shutdown_watcher_helper.h", + "metrics/tab_footprint_aggregator.cc", + "metrics/tab_footprint_aggregator.h", + "metrics/thread_watcher_report_hang.cc", + "metrics/thread_watcher_report_hang.h", + "metrics/ukm_background_recorder_service.cc", + "metrics/ukm_background_recorder_service.h", + "metrics/variations/chrome_variations_service_client.cc", + "metrics/variations/chrome_variations_service_client.h", + "metrics/variations/google_groups_manager_factory.cc", + "metrics/variations/google_groups_manager_factory.h", + "navigation_predictor/anchor_element_preloader.cc", + "navigation_predictor/anchor_element_preloader.h", + "navigation_predictor/navigation_predictor.cc", + "navigation_predictor/navigation_predictor.h", + "navigation_predictor/navigation_predictor_features.cc", + "navigation_predictor/navigation_predictor_features.h", + "navigation_predictor/navigation_predictor_keyed_service.cc", + "navigation_predictor/navigation_predictor_keyed_service.h", + "navigation_predictor/navigation_predictor_keyed_service_factory.cc", + "navigation_predictor/navigation_predictor_keyed_service_factory.h", + "navigation_predictor/navigation_predictor_metrics_document_data.cc", + "navigation_predictor/navigation_predictor_metrics_document_data.h", + "navigation_predictor/navigation_predictor_preconnect_client.cc", + "navigation_predictor/navigation_predictor_preconnect_client.h", + "navigation_predictor/preloading_model_keyed_service.cc", + "navigation_predictor/preloading_model_keyed_service.h", + "navigation_predictor/preloading_model_keyed_service_factory.cc", + "navigation_predictor/preloading_model_keyed_service_factory.h", + "navigation_predictor/search_engine_preconnector.cc", + "navigation_predictor/search_engine_preconnector.h", + "net/cert_verifier_service_time_updater.cc", + "net/cert_verifier_service_time_updater.h", + "net/chrome_mojo_proxy_resolver_factory.cc", + "net/chrome_mojo_proxy_resolver_factory.h", + "net/chrome_network_delegate.cc", + "net/chrome_network_delegate.h", + "net/chrome_report_sender.cc", + "net/chrome_report_sender.h", + "net/convert_explicitly_allowed_network_ports_pref.cc", + "net/convert_explicitly_allowed_network_ports_pref.h", + "net/cookie_encryption_provider_impl.cc", + "net/cookie_encryption_provider_impl.h", + "net/default_dns_over_https_config_source.cc", + "net/default_dns_over_https_config_source.h", + "net/dns_over_https_config_source.h", + "net/dns_probe_runner.cc", + "net/dns_probe_runner.h", + "net/dns_probe_service.h", + "net/dns_probe_service_factory.cc", + "net/dns_probe_service_factory.h", + "net/explicitly_allowed_network_ports_policy_handler.cc", + "net/explicitly_allowed_network_ports_policy_handler.h", + "net/net_error_diagnostics_dialog.h", + "net/net_error_tab_helper.cc", + "net/net_error_tab_helper.h", + "net/net_export_helper.cc", + "net/net_export_helper.h", + "net/probe_message.cc", + "net/probe_message.h", + "net/profile_network_context_service.cc", + "net/profile_network_context_service.h", + "net/profile_network_context_service_factory.cc", + "net/profile_network_context_service_factory.h", + "net/proxy_config_monitor.cc", + "net/proxy_config_monitor.h", + "net/proxy_service_factory.cc", + "net/proxy_service_factory.h", + "net/referrer.cc", + "net/referrer.h", + "net/secure_dns_config.cc", + "net/secure_dns_config.h", + "net/secure_dns_policy_handler.cc", + "net/secure_dns_policy_handler.h", + "net/secure_dns_util.cc", + "net/secure_dns_util.h", + "net/stub_resolver_config_reader.cc", + "net/stub_resolver_config_reader.h", + "net/system_network_context_manager.cc", + "net/system_network_context_manager.h", + "net_benchmarking.cc", + "net_benchmarking.h", + "nfc/chrome_nfc_permission_context_delegate.cc", + "nfc/chrome_nfc_permission_context_delegate.h", + "notifications/metrics/notification_metrics_logger.cc", + "notifications/metrics/notification_metrics_logger.h", + "notifications/metrics/notification_metrics_logger_factory.cc", + "notifications/metrics/notification_metrics_logger_factory.h", + "notifications/non_persistent_notification_handler.cc", + "notifications/non_persistent_notification_handler.h", + "notifications/notification_blocker.cc", + "notifications/notification_blocker.h", + "notifications/notification_common.cc", + "notifications/notification_common.h", + "notifications/notification_display_queue.cc", + "notifications/notification_display_queue.h", + "notifications/notification_display_service.cc", + "notifications/notification_display_service.h", + "notifications/notification_display_service_factory.cc", + "notifications/notification_display_service_factory.h", + "notifications/notification_display_service_impl.cc", + "notifications/notification_display_service_impl.h", + "notifications/notification_handler.cc", + "notifications/notification_handler.h", + "notifications/notification_permission_context.cc", + "notifications/notification_permission_context.h", + "notifications/notification_platform_bridge.cc", + "notifications/notification_platform_bridge.h", + "notifications/notification_platform_bridge_delegator.cc", + "notifications/notification_platform_bridge_delegator.h", + "notifications/notification_trigger_scheduler.cc", + "notifications/notification_trigger_scheduler.h", + "notifications/notifier_state_tracker.cc", + "notifications/notifier_state_tracker.h", + "notifications/notifier_state_tracker_factory.cc", + "notifications/notifier_state_tracker_factory.h", + "notifications/persistent_notification_handler.cc", + "notifications/persistent_notification_handler.h", + "notifications/platform_notification_service_factory.cc", + "notifications/platform_notification_service_factory.h", + "notifications/platform_notification_service_impl.cc", + "notifications/platform_notification_service_impl.h", + "notifications/scheduler/notification_background_task_scheduler_impl.cc", + "notifications/scheduler/notification_background_task_scheduler_impl.h", + "notifications/scheduler/notification_schedule_service_factory.cc", + "notifications/scheduler/notification_schedule_service_factory.h", + "notifications/system_notification_helper.cc", + "notifications/system_notification_helper.h", + "ntp_tiles/chrome_custom_links_manager_factory.cc", + "ntp_tiles/chrome_custom_links_manager_factory.h", + "ntp_tiles/chrome_most_visited_sites_factory.cc", + "ntp_tiles/chrome_most_visited_sites_factory.h", + "ntp_tiles/chrome_popular_sites_factory.cc", + "ntp_tiles/chrome_popular_sites_factory.h", + "offline_items_collection/offline_content_aggregator_factory.cc", + "offline_items_collection/offline_content_aggregator_factory.h", + "on_device_translation/translation_manager_impl.cc", + "on_device_translation/translation_manager_impl.h", + "optimization_guide/chrome_browser_main_extra_parts_optimization_guide.cc", + "optimization_guide/chrome_browser_main_extra_parts_optimization_guide.h", + "optimization_guide/chrome_hints_manager.cc", + "optimization_guide/chrome_hints_manager.h", + "optimization_guide/chrome_model_quality_logs_uploader_service.cc", + "optimization_guide/chrome_model_quality_logs_uploader_service.h", + "optimization_guide/chrome_prediction_model_store.cc", + "optimization_guide/chrome_prediction_model_store.h", + "optimization_guide/model_execution/chrome_on_device_model_service_controller.cc", + "optimization_guide/model_execution/chrome_on_device_model_service_controller.h", + "optimization_guide/model_validator_keyed_service.cc", + "optimization_guide/model_validator_keyed_service.h", + "optimization_guide/model_validator_keyed_service_factory.cc", + "optimization_guide/model_validator_keyed_service_factory.h", + "optimization_guide/optimization_guide_internals_ui.cc", + "optimization_guide/optimization_guide_internals_ui.h", + "optimization_guide/optimization_guide_keyed_service.cc", + "optimization_guide/optimization_guide_keyed_service.h", + "optimization_guide/optimization_guide_keyed_service_factory.cc", + "optimization_guide/optimization_guide_keyed_service_factory.h", + "optimization_guide/optimization_guide_tab_url_provider.cc", + "optimization_guide/optimization_guide_tab_url_provider.h", + "optimization_guide/optimization_guide_web_contents_observer.cc", + "optimization_guide/optimization_guide_web_contents_observer.h", + "optimization_guide/prediction/prediction_model_download_client.cc", + "optimization_guide/prediction/prediction_model_download_client.h", + "origin_trials/origin_trials_factory.cc", + "origin_trials/origin_trials_factory.h", + "page_content_annotations/page_content_annotations_service_factory.cc", + "page_content_annotations/page_content_annotations_service_factory.h", + "page_content_annotations/page_content_annotations_web_contents_observer.cc", + "page_content_annotations/page_content_annotations_web_contents_observer.h", + "page_image_service/image_service_factory.cc", + "page_image_service/image_service_factory.h", + "page_info/about_this_site_service_factory.cc", + "page_info/about_this_site_service_factory.h", + "page_info/about_this_site_tab_helper.cc", + "page_info/about_this_site_tab_helper.h", + "page_info/page_info_features.cc", + "page_info/page_info_features.h", + "page_load_metrics/observers/bookmark_bar_page_load_metrics_observer.cc", + "page_load_metrics/observers/bookmark_bar_page_load_metrics_observer.h", + "page_load_metrics/observers/chrome_gws_abandoned_page_load_metrics_observer.cc", + "page_load_metrics/observers/chrome_gws_abandoned_page_load_metrics_observer.h", + "page_load_metrics/observers/core/amp_page_load_metrics_observer.cc", + "page_load_metrics/observers/core/amp_page_load_metrics_observer.h", + "page_load_metrics/observers/core/ukm_page_load_metrics_observer.cc", + "page_load_metrics/observers/core/ukm_page_load_metrics_observer.h", + "page_load_metrics/observers/document_write_page_load_metrics_observer.cc", + "page_load_metrics/observers/document_write_page_load_metrics_observer.h", + "page_load_metrics/observers/foreground_duration_ukm_observer.cc", + "page_load_metrics/observers/foreground_duration_ukm_observer.h", + "page_load_metrics/observers/formfill_page_load_metrics_observer.cc", + "page_load_metrics/observers/formfill_page_load_metrics_observer.h", + "page_load_metrics/observers/from_gws_page_load_metrics_observer.cc", + "page_load_metrics/observers/from_gws_page_load_metrics_observer.h", + "page_load_metrics/observers/gws_hp_page_load_metrics_observer.cc", + "page_load_metrics/observers/gws_hp_page_load_metrics_observer.h", + "page_load_metrics/observers/gws_page_load_metrics_observer.cc", + "page_load_metrics/observers/gws_page_load_metrics_observer.h", + "page_load_metrics/observers/histogram_suffixes.cc", + "page_load_metrics/observers/histogram_suffixes.h", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_page_load_metrics_observer.cc", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_page_load_metrics_observer.h", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_service.cc", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_service.h", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_service_factory.cc", + "page_load_metrics/observers/https_engagement_metrics/https_engagement_service_factory.h", + "page_load_metrics/observers/javascript_frameworks_ukm_observer.cc", + "page_load_metrics/observers/javascript_frameworks_ukm_observer.h", + "page_load_metrics/observers/lcp_critical_path_predictor_page_load_metrics_observer.cc", + "page_load_metrics/observers/lcp_critical_path_predictor_page_load_metrics_observer.h", + "page_load_metrics/observers/loading_predictor_page_load_metrics_observer.cc", + "page_load_metrics/observers/loading_predictor_page_load_metrics_observer.h", + "page_load_metrics/observers/local_network_requests_page_load_metrics_observer.cc", + "page_load_metrics/observers/local_network_requests_page_load_metrics_observer.h", + "page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.cc", + "page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer.h", + "page_load_metrics/observers/new_tab_page_initiated_page_load_metrics_observer.cc", + "page_load_metrics/observers/new_tab_page_initiated_page_load_metrics_observer.h", + "page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.cc", + "page_load_metrics/observers/omnibox_suggestion_used_page_load_metrics_observer.h", + "page_load_metrics/observers/optimization_guide_page_load_metrics_observer.cc", + "page_load_metrics/observers/optimization_guide_page_load_metrics_observer.h", + "page_load_metrics/observers/page_anchors_metrics_observer.cc", + "page_load_metrics/observers/page_anchors_metrics_observer.h", + "page_load_metrics/observers/prefetch_page_load_metrics_observer.cc", + "page_load_metrics/observers/prefetch_page_load_metrics_observer.h", + "page_load_metrics/observers/preview_page_load_metrics_observer.cc", + "page_load_metrics/observers/preview_page_load_metrics_observer.h", + "page_load_metrics/observers/protocol_page_load_metrics_observer.cc", + "page_load_metrics/observers/protocol_page_load_metrics_observer.h", + "page_load_metrics/observers/scheme_page_load_metrics_observer.cc", + "page_load_metrics/observers/scheme_page_load_metrics_observer.h", + "page_load_metrics/observers/security_state_page_load_metrics_observer.cc", + "page_load_metrics/observers/security_state_page_load_metrics_observer.h", + "page_load_metrics/observers/service_worker_page_load_metrics_observer.cc", + "page_load_metrics/observers/service_worker_page_load_metrics_observer.h", + "page_load_metrics/observers/signed_exchange_page_load_metrics_observer.cc", + "page_load_metrics/observers/signed_exchange_page_load_metrics_observer.h", + "page_load_metrics/observers/tab_strip_page_load_metrics_observer.cc", + "page_load_metrics/observers/tab_strip_page_load_metrics_observer.h", + "page_load_metrics/observers/third_party_cookie_deprecation_page_load_metrics_observer.cc", + "page_load_metrics/observers/third_party_cookie_deprecation_page_load_metrics_observer.h", + "page_load_metrics/observers/translate_page_load_metrics_observer.cc", + "page_load_metrics/observers/translate_page_load_metrics_observer.h", + "page_load_metrics/page_load_metrics_initialize.cc", + "page_load_metrics/page_load_metrics_initialize.h", + "page_load_metrics/page_load_metrics_memory_tracker_factory.cc", + "page_load_metrics/page_load_metrics_memory_tracker_factory.h", + "password_manager/account_password_store_factory.cc", + "password_manager/account_password_store_factory.h", + "password_manager/bulk_leak_check_service_factory.cc", + "password_manager/bulk_leak_check_service_factory.h", + "password_manager/chrome_password_manager_client.cc", + "password_manager/chrome_password_manager_client.h", + "password_manager/chrome_webauthn_credentials_delegate.cc", + "password_manager/chrome_webauthn_credentials_delegate.h", + "password_manager/chrome_webauthn_credentials_delegate_factory.cc", + "password_manager/chrome_webauthn_credentials_delegate_factory.h", + "password_manager/credentials_cleaner_runner_factory.cc", + "password_manager/credentials_cleaner_runner_factory.h", + "password_manager/field_info_manager_factory.cc", + "password_manager/field_info_manager_factory.h", + "password_manager/password_manager_settings_service_factory.cc", + "password_manager/password_manager_settings_service_factory.h", + "password_manager/password_receiver_service_factory.cc", + "password_manager/password_receiver_service_factory.h", + "password_manager/password_reuse_manager_factory.cc", + "password_manager/password_reuse_manager_factory.h", + "password_manager/password_sender_service_factory.cc", + "password_manager/password_sender_service_factory.h", + "password_manager/password_store_utils.cc", + "password_manager/password_store_utils.h", + "password_manager/profile_password_store_factory.cc", + "password_manager/profile_password_store_factory.h", + "performance_manager/chrome_browser_main_extra_parts_performance_manager.cc", + "performance_manager/chrome_content_browser_client_performance_manager_part.cc", + "performance_manager/decorators/helpers/page_live_state_decorator_helper.cc", + "performance_manager/decorators/helpers/page_live_state_decorator_helper.h", + "performance_manager/mechanisms/working_set_trimmer.cc", + "performance_manager/mechanisms/working_set_trimmer.h", + "performance_manager/metrics/metrics_provider_common.cc", + "performance_manager/metrics/metrics_provider_common.h", + "performance_manager/observers/page_load_metrics_observer.cc", + "performance_manager/observers/page_load_metrics_observer.h", + "performance_manager/policies/policy_features.cc", + "performance_manager/policies/policy_features.h", + "performance_manager/policies/working_set_trimmer_policy.cc", + "performance_manager/policies/working_set_trimmer_policy.h", + "performance_manager/public/chrome_browser_main_extra_parts_performance_manager.h", + "performance_manager/public/chrome_content_browser_client_performance_manager_part.h", + "performance_manager/public/user_tuning/user_tuning_utils.h", + "performance_manager/user_tuning/user_tuning_utils.cc", + "performance_monitor/chrome_browser_main_extra_parts_performance_monitor.cc", + "performance_monitor/chrome_browser_main_extra_parts_performance_monitor.h", + "performance_monitor/system_monitor.cc", + "performance_monitor/system_monitor.h", + "platform_util_internal.h", + "plugins/pdf_iframe_navigation_throttle.cc", + "plugins/pdf_iframe_navigation_throttle.h", + "plus_addresses/plus_address_service_factory.cc", + "plus_addresses/plus_address_service_factory.h", + "plus_addresses/plus_address_setting_service_factory.cc", + "plus_addresses/plus_address_setting_service_factory.h", + "policy/chrome_browser_policy_connector.cc", + "policy/chrome_browser_policy_connector.h", + "policy/chrome_policy_conversions_client.cc", + "policy/chrome_policy_conversions_client.h", + "policy/cloud/cloud_policy_invalidator.cc", + "policy/cloud/cloud_policy_invalidator.h", + "policy/cloud/fm_registration_token_uploader.cc", + "policy/cloud/fm_registration_token_uploader.h", + "policy/cloud/user_cloud_policy_invalidator.cc", + "policy/cloud/user_cloud_policy_invalidator.h", + "policy/cloud/user_cloud_policy_invalidator_factory.cc", + "policy/cloud/user_cloud_policy_invalidator_factory.h", + "policy/cloud/user_fm_registration_token_uploader.cc", + "policy/cloud/user_fm_registration_token_uploader.h", + "policy/cloud/user_fm_registration_token_uploader_factory.cc", + "policy/cloud/user_fm_registration_token_uploader_factory.h", + "policy/configuration_policy_handler_list_factory.cc", + "policy/configuration_policy_handler_list_factory.h", + "policy/device_management_service_configuration.cc", + "policy/device_management_service_configuration.h", + "policy/dm_token_utils.cc", + "policy/dm_token_utils.h", + "policy/homepage_location_policy_handler.cc", + "policy/homepage_location_policy_handler.h", + "policy/javascript_policy_handler.cc", + "policy/javascript_policy_handler.h", + "policy/messaging_layer/public/report_client.cc", + "policy/messaging_layer/public/report_client.h", + "policy/messaging_layer/upload/configuration_file_controller.cc", + "policy/messaging_layer/upload/configuration_file_controller.h", + "policy/messaging_layer/upload/encrypted_reporting_client.cc", + "policy/messaging_layer/upload/encrypted_reporting_client.h", + "policy/messaging_layer/upload/event_upload_size_controller.cc", + "policy/messaging_layer/upload/event_upload_size_controller.h", + "policy/messaging_layer/upload/file_upload_job.cc", + "policy/messaging_layer/upload/file_upload_job.h", + "policy/messaging_layer/upload/network_condition_service.cc", + "policy/messaging_layer/upload/network_condition_service.h", + "policy/messaging_layer/upload/record_handler_impl.cc", + "policy/messaging_layer/upload/record_handler_impl.h", + "policy/messaging_layer/upload/record_upload_request_builder.cc", + "policy/messaging_layer/upload/record_upload_request_builder.h", + "policy/messaging_layer/upload/server_uploader.cc", + "policy/messaging_layer/upload/server_uploader.h", + "policy/messaging_layer/upload/upload_client.cc", + "policy/messaging_layer/upload/upload_client.h", + "policy/messaging_layer/upload/upload_provider.cc", + "policy/messaging_layer/upload/upload_provider.h", + "policy/messaging_layer/util/dm_token_retriever_provider.cc", + "policy/messaging_layer/util/dm_token_retriever_provider.h", + "policy/messaging_layer/util/report_queue_manual_test_context.cc", + "policy/messaging_layer/util/report_queue_manual_test_context.h", + "policy/messaging_layer/util/reporting_server_connector.cc", + "policy/messaging_layer/util/reporting_server_connector.h", + "policy/messaging_layer/util/upload_declarations.h", + "policy/messaging_layer/util/upload_response_parser.cc", + "policy/messaging_layer/util/upload_response_parser.h", + "policy/messaging_layer/util/user_dm_token_retriever.cc", + "policy/messaging_layer/util/user_dm_token_retriever.h", + "policy/policy_ui_utils.cc", + "policy/policy_ui_utils.h", + "policy/policy_util.cc", + "policy/policy_util.h", + "policy/policy_value_and_status_aggregator.cc", + "policy/policy_value_and_status_aggregator.h", + "policy/profile_policy_connector.cc", + "policy/profile_policy_connector.h", + "policy/profile_policy_connector_builder.cc", + "policy/profile_policy_connector_builder.h", + "policy/schema_registry_service.cc", + "policy/schema_registry_service.h", + "policy/schema_registry_service_builder.cc", + "policy/schema_registry_service_builder.h", + "policy/status_provider/cloud_policy_core_status_provider.cc", + "policy/status_provider/cloud_policy_core_status_provider.h", + "policy/status_provider/status_provider_util.cc", + "policy/status_provider/status_provider_util.h", + "policy/status_provider/user_cloud_policy_status_provider.cc", + "policy/status_provider/user_cloud_policy_status_provider.h", + "policy/value_provider/chrome_policies_value_provider.cc", + "policy/value_provider/chrome_policies_value_provider.h", + "policy/value_provider/policy_value_provider.cc", + "policy/value_provider/policy_value_provider.h", + "policy/value_provider/value_provider_util.cc", + "policy/value_provider/value_provider_util.h", + "policy/webusb_allow_devices_for_urls_policy_handler.cc", + "policy/webusb_allow_devices_for_urls_policy_handler.h", + "power_bookmarks/power_bookmark_service_factory.cc", + "power_bookmarks/power_bookmark_service_factory.h", + "predictors/autocomplete_action_predictor.cc", + "predictors/autocomplete_action_predictor.h", + "predictors/autocomplete_action_predictor_factory.cc", + "predictors/autocomplete_action_predictor_factory.h", + "predictors/autocomplete_action_predictor_table.cc", + "predictors/autocomplete_action_predictor_table.h", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_host.cc", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_host.h", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_util.cc", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_util.h", + "predictors/lcp_critical_path_predictor/prewarm_http_disk_cache_manager.cc", + "predictors/lcp_critical_path_predictor/prewarm_http_disk_cache_manager.h", + "predictors/loading_data_collector.cc", + "predictors/loading_data_collector.h", + "predictors/loading_predictor.cc", + "predictors/loading_predictor.h", + "predictors/loading_predictor_config.cc", + "predictors/loading_predictor_config.h", + "predictors/loading_predictor_factory.cc", + "predictors/loading_predictor_factory.h", + "predictors/loading_predictor_tab_helper.cc", + "predictors/loading_predictor_tab_helper.h", + "predictors/loading_stats_collector.cc", + "predictors/loading_stats_collector.h", + "predictors/network_hints_handler_impl.cc", + "predictors/network_hints_handler_impl.h", + "predictors/preconnect_manager.cc", + "predictors/preconnect_manager.h", + "predictors/predictor_database.cc", + "predictors/predictor_database.h", + "predictors/predictor_database_factory.cc", + "predictors/predictor_database_factory.h", + "predictors/predictors_enums.h", + "predictors/predictors_features.cc", + "predictors/predictors_features.h", + "predictors/predictors_switches.cc", + "predictors/predictors_switches.h", + "predictors/prefetch_manager.cc", + "predictors/prefetch_manager.h", + "predictors/proxy_lookup_client_impl.cc", + "predictors/proxy_lookup_client_impl.h", + "predictors/resolve_host_client_impl.cc", + "predictors/resolve_host_client_impl.h", + "predictors/resource_prefetch_predictor.cc", + "predictors/resource_prefetch_predictor.h", + "predictors/resource_prefetch_predictor_tables.cc", + "predictors/resource_prefetch_predictor_tables.h", + "prefetch/pref_names.cc", + "prefetch/pref_names.h", + "prefetch/prefetch_headers.cc", + "prefetch/prefetch_headers.h", + "prefs/browser_prefs.cc", + "prefs/browser_prefs.h", + "prefs/chrome_command_line_pref_store.cc", + "prefs/chrome_command_line_pref_store.h", + "prefs/chrome_pref_model_associator_client.cc", + "prefs/chrome_pref_model_associator_client.h", + "prefs/chrome_pref_service_factory.cc", + "prefs/chrome_pref_service_factory.h", + "prefs/incognito_mode_prefs.cc", + "prefs/incognito_mode_prefs.h", + "prefs/pref_metrics_service.cc", + "prefs/pref_metrics_service.h", + "prefs/pref_service_incognito_allowlist.cc", + "prefs/pref_service_incognito_allowlist.h", + "prefs/pref_service_syncable_util.cc", + "prefs/pref_service_syncable_util.h", + "prefs/profile_pref_store_manager.cc", + "prefs/profile_pref_store_manager.h", + "prefs/session_startup_pref.cc", + "prefs/session_startup_pref.h", + "preloading/chrome_preloading.cc", + "preloading/chrome_preloading.h", + "preloading/navigation_ablation_throttle.cc", + "preloading/navigation_ablation_throttle.h", + "preloading/prefetch/chrome_prefetch_manager.cc", + "preloading/prefetch/chrome_prefetch_manager.h", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_contents_delegate.cc", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_contents_delegate.h", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_manager_delegate.cc", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_manager_delegate.h", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_processor_impl_delegate.cc", + "preloading/prefetch/no_state_prefetch/chrome_no_state_prefetch_processor_impl_delegate.h", + "preloading/prefetch/no_state_prefetch/chrome_speculation_host_delegate.cc", + "preloading/prefetch/no_state_prefetch/chrome_speculation_host_delegate.h", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_link_manager_factory.cc", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_link_manager_factory.h", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_manager_factory.cc", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_manager_factory.h", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_navigation_throttle.cc", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_navigation_throttle.h", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_tab_helper.cc", + "preloading/prefetch/no_state_prefetch/no_state_prefetch_tab_helper.h", + "preloading/prefetch/prefetch_service/chrome_prefetch_service_delegate.cc", + "preloading/prefetch/prefetch_service/chrome_prefetch_service_delegate.h", + "preloading/prefetch/prefetch_service/prefetch_origin_decider.cc", + "preloading/prefetch/prefetch_service/prefetch_origin_decider.h", + "preloading/prefetch/search_prefetch/cache_alias_search_prefetch_url_loader.cc", + "preloading/prefetch/search_prefetch/cache_alias_search_prefetch_url_loader.h", + "preloading/prefetch/search_prefetch/field_trial_settings.cc", + "preloading/prefetch/search_prefetch/field_trial_settings.h", + "preloading/prefetch/search_prefetch/search_prefetch_request.cc", + "preloading/prefetch/search_prefetch/search_prefetch_request.h", + "preloading/prefetch/search_prefetch/search_prefetch_service.cc", + "preloading/prefetch/search_prefetch/search_prefetch_service.h", + "preloading/prefetch/search_prefetch/search_prefetch_service_factory.cc", + "preloading/prefetch/search_prefetch/search_prefetch_service_factory.h", + "preloading/prefetch/search_prefetch/search_prefetch_url_loader.cc", + "preloading/prefetch/search_prefetch/search_prefetch_url_loader.h", + "preloading/prefetch/search_prefetch/search_prefetch_url_loader_interceptor.cc", + "preloading/prefetch/search_prefetch/search_prefetch_url_loader_interceptor.h", + "preloading/prefetch/search_prefetch/streaming_search_prefetch_url_loader.cc", + "preloading/prefetch/search_prefetch/streaming_search_prefetch_url_loader.h", + "preloading/preloading_features.cc", + "preloading/preloading_features.h", + "preloading/preloading_prefs.cc", + "preloading/preloading_prefs.h", + "preloading/prerender/prerender_manager.cc", + "preloading/prerender/prerender_manager.h", + "preloading/prerender/prerender_utils.cc", + "preloading/prerender/prerender_utils.h", + "preloading/prerender/prerender_web_contents_delegate.cc", + "preloading/prerender/prerender_web_contents_delegate.h", + "privacy/privacy_metrics_service.cc", + "privacy/privacy_metrics_service.h", + "privacy/privacy_metrics_service_factory.cc", + "privacy/privacy_metrics_service_factory.h", + "privacy_sandbox/privacy_sandbox_countries.h", + "privacy_sandbox/privacy_sandbox_countries_impl.cc", + "privacy_sandbox/privacy_sandbox_countries_impl.h", + "privacy_sandbox/privacy_sandbox_notice_confirmation.cc", + "privacy_sandbox/privacy_sandbox_notice_confirmation.h", + "privacy_sandbox/privacy_sandbox_notice_service.cc", + "privacy_sandbox/privacy_sandbox_notice_service.h", + "privacy_sandbox/privacy_sandbox_notice_service_factory.cc", + "privacy_sandbox/privacy_sandbox_notice_service_factory.h", + "privacy_sandbox/privacy_sandbox_policy_handler.cc", + "privacy_sandbox/privacy_sandbox_policy_handler.h", + "privacy_sandbox/privacy_sandbox_service.h", + "privacy_sandbox/privacy_sandbox_service_factory.cc", + "privacy_sandbox/privacy_sandbox_service_factory.h", + "privacy_sandbox/privacy_sandbox_service_impl.cc", + "privacy_sandbox/privacy_sandbox_service_impl.h", + "privacy_sandbox/privacy_sandbox_settings_delegate.cc", + "privacy_sandbox/privacy_sandbox_settings_delegate.h", + "privacy_sandbox/privacy_sandbox_settings_factory.cc", + "privacy_sandbox/privacy_sandbox_settings_factory.h", + "privacy_sandbox/privacy_sandbox_survey_factory.cc", + "privacy_sandbox/privacy_sandbox_survey_factory.h", + "privacy_sandbox/tracking_protection_onboarding_factory.cc", + "privacy_sandbox/tracking_protection_onboarding_factory.h", + "privacy_sandbox/tracking_protection_settings_factory.cc", + "privacy_sandbox/tracking_protection_settings_factory.h", + "private_network_access/chrome_private_network_device_chooser.cc", + "private_network_access/chrome_private_network_device_chooser.h", + "private_network_access/chrome_private_network_device_delegate.cc", + "private_network_access/chrome_private_network_device_delegate.h", + "private_network_access/private_network_device_chooser_controller.cc", + "private_network_access/private_network_device_chooser_controller.h", + "private_network_access/private_network_device_permission_context.cc", + "private_network_access/private_network_device_permission_context.h", + "private_network_access/private_network_device_permission_context_factory.cc", + "private_network_access/private_network_device_permission_context_factory.h", + "process_resource_usage.cc", + "process_resource_usage.h", + "process_singleton.h", + "process_singleton_internal.cc", + "process_singleton_internal.h", + "profiles/bookmark_model_loaded_observer.cc", + "profiles/bookmark_model_loaded_observer.h", + "profiles/chrome_browser_main_extra_parts_profiles.cc", + "profiles/chrome_browser_main_extra_parts_profiles.h", + "profiles/chrome_version_service.cc", + "profiles/chrome_version_service.h", + "profiles/force_safe_search_policy_handler.cc", + "profiles/force_safe_search_policy_handler.h", + "profiles/force_youtube_safety_mode_policy_handler.cc", + "profiles/force_youtube_safety_mode_policy_handler.h", + "profiles/incognito_mode_policy_handler.cc", + "profiles/incognito_mode_policy_handler.h", + "profiles/keep_alive/profile_keep_alive_types.cc", + "profiles/keep_alive/profile_keep_alive_types.h", + "profiles/keep_alive/scoped_profile_keep_alive.cc", + "profiles/keep_alive/scoped_profile_keep_alive.h", + "profiles/off_the_record_profile_impl.cc", + "profiles/off_the_record_profile_impl.h", + "profiles/profile_avatar_downloader.cc", + "profiles/profile_avatar_downloader.h", + "profiles/profile_destroyer.cc", + "profiles/profile_destroyer.h", + "profiles/profile_downloader.cc", + "profiles/profile_downloader.h", + "profiles/profile_downloader_delegate.h", + "profiles/profile_impl.cc", + "profiles/profile_impl.h", + "profiles/profile_io_data.cc", + "profiles/profile_io_data.h", + "profiles/profile_manager.cc", + "profiles/profile_manager.h", + "profiles/profile_metrics.cc", + "profiles/profile_metrics.h", + "profiles/profiles_state.cc", + "profiles/profiles_state.h", + "profiles/renderer_updater.cc", + "profiles/renderer_updater.h", + "profiles/renderer_updater_factory.cc", + "profiles/renderer_updater_factory.h", + "profiles/sql_init_error_message_ids.cc", + "profiles/sql_init_error_message_ids.h", + "profiles/storage_partition_descriptor.h", + "push_messaging/budget_database.cc", + "push_messaging/budget_database.h", + "push_messaging/push_messaging_app_identifier.cc", + "push_messaging/push_messaging_app_identifier.h", + "push_messaging/push_messaging_constants.cc", + "push_messaging/push_messaging_constants.h", + "push_messaging/push_messaging_features.cc", + "push_messaging/push_messaging_features.h", + "push_messaging/push_messaging_notification_manager.cc", + "push_messaging/push_messaging_notification_manager.h", + "push_messaging/push_messaging_refresher.cc", + "push_messaging/push_messaging_refresher.h", + "push_messaging/push_messaging_service_factory.cc", + "push_messaging/push_messaging_service_factory.h", + "push_messaging/push_messaging_service_impl.cc", + "push_messaging/push_messaging_service_impl.h", + "push_messaging/push_messaging_utils.cc", + "push_messaging/push_messaging_utils.h", + "reading_list/reading_list_model_factory.cc", + "reading_list/reading_list_model_factory.h", + "reduce_accept_language/reduce_accept_language_factory.cc", + "reduce_accept_language/reduce_accept_language_factory.h", + "renderer_context_menu/context_menu_content_type_factory.cc", + "renderer_context_menu/context_menu_content_type_factory.h", + "renderer_host/chrome_navigation_ui_data.cc", + "renderer_host/chrome_navigation_ui_data.h", + "renderer_preferences_util.cc", + "renderer_preferences_util.h", + "resource_coordinator/resource_coordinator_parts.cc", + "resource_coordinator/resource_coordinator_parts.h", + "resource_coordinator/session_restore_policy.cc", + "resource_coordinator/session_restore_policy.h", + "resource_coordinator/tab_helper.cc", + "resource_coordinator/tab_helper.h", + "resource_coordinator/tab_load_tracker.cc", + "resource_coordinator/tab_load_tracker.h", + "resource_coordinator/tab_memory_metrics_reporter.cc", + "resource_coordinator/tab_memory_metrics_reporter.h", + "resource_coordinator/time.cc", + "resource_coordinator/time.h", + "resource_coordinator/utils.cc", + "resource_coordinator/utils.h", + "resources_util.cc", + "resources_util.h", + "safe_browsing/metrics/safe_browsing_metrics_provider.cc", + "safe_browsing/metrics/safe_browsing_metrics_provider.h", + "search_engines/template_url_service_factory.cc", + "search_provider_logos/logo_service_factory.cc", + "search_provider_logos/logo_service_factory.h", + "security_events/security_event_recorder.h", + "security_events/security_event_recorder_factory.cc", + "security_events/security_event_recorder_factory.h", + "security_events/security_event_recorder_impl.cc", + "security_events/security_event_recorder_impl.h", + "security_events/security_event_sync_bridge.h", + "security_events/security_event_sync_bridge_impl.cc", + "security_events/security_event_sync_bridge_impl.h", + "segmentation_platform/chrome_browser_main_extra_parts_segmentation_platform.cc", + "segmentation_platform/chrome_browser_main_extra_parts_segmentation_platform.h", + "segmentation_platform/client_util/local_tab_handler.cc", + "segmentation_platform/client_util/local_tab_handler.h", + "segmentation_platform/segmentation_platform_config.cc", + "segmentation_platform/segmentation_platform_config.h", + "segmentation_platform/segmentation_platform_profile_observer.cc", + "segmentation_platform/segmentation_platform_profile_observer.h", + "segmentation_platform/segmentation_platform_service_factory.cc", + "segmentation_platform/segmentation_platform_service_factory.h", + "segmentation_platform/ukm_database_client.cc", + "segmentation_platform/ukm_database_client.h", + "send_tab_to_self/receiving_ui_handler.h", + "send_tab_to_self/receiving_ui_handler_registry.cc", + "send_tab_to_self/receiving_ui_handler_registry.h", + "send_tab_to_self/send_tab_to_self_client_service.cc", + "send_tab_to_self/send_tab_to_self_client_service.h", + "send_tab_to_self/send_tab_to_self_client_service_factory.cc", + "send_tab_to_self/send_tab_to_self_client_service_factory.h", + "send_tab_to_self/send_tab_to_self_util.cc", + "send_tab_to_self/send_tab_to_self_util.h", + "sessions/chrome_serialized_navigation_driver.cc", + "sessions/chrome_serialized_navigation_driver.h", + "sessions/chrome_tab_restore_service_client.cc", + "sessions/chrome_tab_restore_service_client.h", + "sessions/session_common_utils.cc", + "sessions/session_common_utils.h", + "sessions/session_tab_helper_factory.cc", + "sessions/session_tab_helper_factory.h", + "sessions/tab_restore_service_factory.cc", + "sessions/tab_restore_service_factory.h", + "sharing/optimization_guide/optimization_guide_message_handler.cc", + "sharing/optimization_guide/optimization_guide_message_handler.h", + "sharing/shared_clipboard/shared_clipboard_message_handler.cc", + "sharing/shared_clipboard/shared_clipboard_message_handler.h", + "sharing/sharing_device_registration_impl.cc", + "sharing/sharing_device_registration_impl.h", + "sharing/sharing_handler_registry_impl.cc", + "sharing/sharing_handler_registry_impl.h", + "sharing/sharing_message_bridge_factory.cc", + "sharing/sharing_message_bridge_factory.h", + "sharing/sharing_service_factory.cc", + "sharing/sharing_service_factory.h", + "sharing/sms/sms_remote_fetcher.cc", + "sharing/sms/sms_remote_fetcher.h", + "sharing/sms/sms_remote_fetcher_metrics.cc", + "sharing/sms/sms_remote_fetcher_metrics.h", + "shell_integration.cc", + "shell_integration.h", + "signin/about_signin_internals_factory.cc", + "signin/about_signin_internals_factory.h", + "signin/account_consistency_mode_manager.cc", + "signin/account_consistency_mode_manager.h", + "signin/account_consistency_mode_manager_factory.cc", + "signin/account_consistency_mode_manager_factory.h", + "signin/account_id_from_account_info.cc", + "signin/account_id_from_account_info.h", + "signin/account_investigator_factory.cc", + "signin/account_investigator_factory.h", + "signin/account_reconcilor_factory.cc", + "signin/account_reconcilor_factory.h", + "signin/chrome_device_id_helper.cc", + "signin/chrome_device_id_helper.h", + "signin/chrome_signin_client.cc", + "signin/chrome_signin_client.h", + "signin/chrome_signin_client_factory.cc", + "signin/chrome_signin_client_factory.h", + "signin/chrome_signin_helper.cc", + "signin/chrome_signin_helper.h", + "signin/chrome_signin_pref_names.h", + "signin/chrome_signin_proxying_url_loader_factory.cc", + "signin/chrome_signin_proxying_url_loader_factory.h", + "signin/chrome_signin_url_loader_throttle.cc", + "signin/chrome_signin_url_loader_throttle.h", + "signin/google_accounts_private_api_host.cc", + "signin/google_accounts_private_api_host.h", + "signin/google_accounts_private_api_util.cc", + "signin/google_accounts_private_api_util.h", + "signin/header_modification_delegate.h", + "signin/header_modification_delegate_impl.cc", + "signin/header_modification_delegate_impl.h", + "signin/identity_manager_factory.cc", + "signin/identity_manager_factory.h", + "signin/primary_account_policy_manager.cc", + "signin/primary_account_policy_manager.h", + "signin/primary_account_policy_manager_factory.cc", + "signin/primary_account_policy_manager_factory.h", + "signin/reauth_result.h", + "signin/reauth_tab_helper.cc", + "signin/reauth_tab_helper.h", + "signin/signin_error_controller_factory.cc", + "signin/signin_error_controller_factory.h", + "signin/signin_metrics_service_factory.cc", + "signin/signin_metrics_service_factory.h", + "signin/signin_profile_attributes_updater.cc", + "signin/signin_profile_attributes_updater.h", + "signin/signin_profile_attributes_updater_factory.cc", + "signin/signin_profile_attributes_updater_factory.h", + "signin/signin_promo_util.cc", + "signin/signin_promo_util.h", + "signin/signin_util.cc", + "signin/signin_util.h", + "site_isolation/about_flags.h", + "site_isolation/prefs_observer.cc", + "site_isolation/prefs_observer.h", + "site_isolation/site_details.cc", + "site_isolation/site_details.h", + "site_protection/site_familiarity_heuristic_name.h", + "site_protection/site_protection_metrics_observer.cc", + "site_protection/site_protection_metrics_observer.h", + "speech/chrome_speech_recognition_manager_delegate.cc", + "speech/chrome_speech_recognition_manager_delegate.h", + "speech/on_device_speech_recognition_impl.cc", + "speech/on_device_speech_recognition_impl.h", + "ssl/chrome_security_blocking_page_factory.cc", + "ssl/chrome_security_blocking_page_factory.h", + "ssl/chrome_security_state_tab_helper.cc", + "ssl/chrome_security_state_tab_helper.h", + "ssl/connection_help_tab_helper.cc", + "ssl/connection_help_tab_helper.h", + "ssl/daily_navigation_counter.cc", + "ssl/daily_navigation_counter.h", + "ssl/https_defaulted_callbacks.cc", + "ssl/https_defaulted_callbacks.h", + "ssl/https_first_mode_settings_tracker.cc", + "ssl/https_first_mode_settings_tracker.h", + "ssl/https_only_mode_controller_client.cc", + "ssl/https_only_mode_controller_client.h", + "ssl/https_only_mode_tab_helper.cc", + "ssl/https_only_mode_tab_helper.h", + "ssl/https_upgrades_interceptor.cc", + "ssl/https_upgrades_interceptor.h", + "ssl/https_upgrades_navigation_throttle.cc", + "ssl/https_upgrades_navigation_throttle.h", + "ssl/https_upgrades_util.cc", + "ssl/https_upgrades_util.h", + "ssl/insecure_form/insecure_form_controller_client.cc", + "ssl/insecure_form/insecure_form_controller_client.h", + "ssl/known_interception_disclosure_infobar_delegate.cc", + "ssl/known_interception_disclosure_infobar_delegate.h", + "ssl/sct_reporting_service.cc", + "ssl/sct_reporting_service.h", + "ssl/sct_reporting_service_factory.cc", + "ssl/sct_reporting_service_factory.h", + "ssl/secure_origin_policy_handler.cc", + "ssl/secure_origin_policy_handler.h", + "ssl/secure_origin_prefs_observer.cc", + "ssl/secure_origin_prefs_observer.h", + "ssl/ssl_client_certificate_selector.h", + "ssl/ssl_config_service_manager.cc", + "ssl/ssl_config_service_manager.h", + "ssl/ssl_error_controller_client.cc", + "ssl/ssl_error_controller_client.h", + "ssl/stateful_ssl_host_state_delegate_factory.cc", + "ssl/stateful_ssl_host_state_delegate_factory.h", + "ssl/typed_navigation_upgrade_throttle.cc", + "ssl/typed_navigation_upgrade_throttle.h", + "startup_data.cc", + "startup_data.h", + "status_icons/status_icon.cc", + "status_icons/status_icon.h", + "status_icons/status_icon_menu_model.cc", + "status_icons/status_icon_menu_model.h", + "status_icons/status_icon_observer.h", + "status_icons/status_tray.cc", + "status_icons/status_tray.h", + "storage/durable_storage_permission_context.cc", + "storage/durable_storage_permission_context.h", + "subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.cc", + "subresource_filter/chrome_content_subresource_filter_web_contents_helper_factory.h", + "subresource_filter/subresource_filter_history_observer.cc", + "subresource_filter/subresource_filter_history_observer.h", + "subresource_filter/subresource_filter_profile_context_factory.cc", + "subresource_filter/subresource_filter_profile_context_factory.h", + "supervised_user/child_accounts/child_account_service_factory.cc", + "supervised_user/child_accounts/child_account_service_factory.h", + "supervised_user/child_accounts/list_family_members_service_factory.cc", + "supervised_user/child_accounts/list_family_members_service_factory.h", + "supervised_user/chrome_supervised_user_service_platform_delegate_base.cc", + "supervised_user/chrome_supervised_user_service_platform_delegate_base.h", + "supervised_user/chrome_supervised_user_web_content_handler_base.cc", + "supervised_user/chrome_supervised_user_web_content_handler_base.h", + "supervised_user/classify_url_navigation_throttle.cc", + "supervised_user/classify_url_navigation_throttle.h", + "supervised_user/supervised_user_browser_utils.cc", + "supervised_user/supervised_user_browser_utils.h", + "supervised_user/supervised_user_google_auth_navigation_throttle.cc", + "supervised_user/supervised_user_google_auth_navigation_throttle.h", + "supervised_user/supervised_user_interstitial_tab_closer.cc", + "supervised_user/supervised_user_interstitial_tab_closer.h", + "supervised_user/supervised_user_metrics_service_factory.cc", + "supervised_user/supervised_user_metrics_service_factory.h", + "supervised_user/supervised_user_navigation_observer.cc", + "supervised_user/supervised_user_navigation_observer.h", + "supervised_user/supervised_user_navigation_throttle.cc", + "supervised_user/supervised_user_navigation_throttle.h", + "supervised_user/supervised_user_service_factory.cc", + "supervised_user/supervised_user_service_factory.h", + "supervised_user/supervised_user_settings_service_factory.cc", + "supervised_user/supervised_user_settings_service_factory.h", + "tab_contents/navigation_metrics_recorder.cc", + "tab_contents/navigation_metrics_recorder.h", + "tab_contents/tab_util.cc", + "tab_contents/tab_util.h", + "tab_contents/web_contents_collection.cc", + "tab_contents/web_contents_collection.h", + "tab_group_sync/tab_group_sync_service_factory.cc", + "tab_group_sync/tab_group_sync_service_factory.h", + "tab_group_sync/tab_group_sync_tab_state.cc", + "tab_group_sync/tab_group_sync_tab_state.h", + "tab_group_sync/tab_group_sync_utils.cc", + "tab_group_sync/tab_group_sync_utils.h", + "tab_group_sync/tab_group_trial.cc", + "tab_group_sync/tab_group_trial.h", + "thorium_flag_choices.h", + "thorium_flag_entries.h", + "tpcd/experiment/eligibility_service.cc", + "tpcd/experiment/eligibility_service.h", + "tpcd/experiment/eligibility_service_factory.cc", + "tpcd/experiment/eligibility_service_factory.h", + "tpcd/experiment/experiment_manager.h", + "tpcd/experiment/experiment_manager_impl.cc", + "tpcd/experiment/experiment_manager_impl.h", + "tpcd/experiment/tpcd_experiment_features.cc", + "tpcd/experiment/tpcd_experiment_features.h", + "tpcd/heuristics/opener_heuristic_metrics.cc", + "tpcd/heuristics/opener_heuristic_metrics.h", + "tpcd/heuristics/opener_heuristic_service.cc", + "tpcd/heuristics/opener_heuristic_service.h", + "tpcd/heuristics/opener_heuristic_service_factory.cc", + "tpcd/heuristics/opener_heuristic_service_factory.h", + "tpcd/heuristics/opener_heuristic_tab_helper.cc", + "tpcd/heuristics/opener_heuristic_tab_helper.h", + "tpcd/heuristics/opener_heuristic_utils.cc", + "tpcd/heuristics/opener_heuristic_utils.h", + "tpcd/heuristics/redirect_heuristic_tab_helper.cc", + "tpcd/heuristics/redirect_heuristic_tab_helper.h", + "tpcd/http_error_observer/http_error_tab_helper.cc", + "tpcd/http_error_observer/http_error_tab_helper.h", + "tpcd/metadata/devtools_observer.cc", + "tpcd/metadata/devtools_observer.h", + "tpcd/metadata/manager_factory.cc", + "tpcd/metadata/manager_factory.h", + "tpcd/support/origin_trial_service.cc", + "tpcd/support/origin_trial_service.h", + "tpcd/support/origin_trial_service_factory.cc", + "tpcd/support/origin_trial_service_factory.h", + "tpcd/support/top_level_trial_service.cc", + "tpcd/support/top_level_trial_service.h", + "tpcd/support/top_level_trial_service_factory.cc", + "tpcd/support/top_level_trial_service_factory.h", + "tpcd/support/tpcd_support_service.cc", + "tpcd/support/tpcd_support_service.h", + "tpcd/support/tpcd_support_service_factory.cc", + "tpcd/support/tpcd_support_service_factory.h", + "tpcd/support/validity_service.cc", + "tpcd/support/validity_service.h", + "tracing/chrome_background_tracing_metrics_provider.cc", + "tracing/chrome_background_tracing_metrics_provider.h", + "tracing/chrome_tracing_delegate.cc", + "tracing/chrome_tracing_delegate.h", + "tracing/trace_event_system_stats_monitor.cc", + "tracing/trace_event_system_stats_monitor.h", + "transition_manager/full_browser_transition_manager.cc", + "transition_manager/full_browser_transition_manager.h", + "translate/chrome_translate_client.cc", + "translate/chrome_translate_client.h", + "translate/translate_frame_binder.cc", + "translate/translate_frame_binder.h", + "translate/translate_ranker_factory.cc", + "translate/translate_ranker_factory.h", + "translate/translate_ranker_metrics_provider.cc", + "translate/translate_ranker_metrics_provider.h", + "translate/translate_service.cc", + "translate/translate_service.h", + "trusted_vault/trusted_vault_encryption_keys_tab_helper.cc", + "trusted_vault/trusted_vault_encryption_keys_tab_helper.h", + "trusted_vault/trusted_vault_service_factory.cc", + "trusted_vault/trusted_vault_service_factory.h", + "undo/bookmark_undo_service_factory.cc", + "undo/bookmark_undo_service_factory.h", + "unexpire_flags.cc", + "unexpire_flags.h", + "unified_consent/unified_consent_service_factory.cc", + "unified_consent/unified_consent_service_factory.h", + "universal_web_contents_observers.cc", + "universal_web_contents_observers.h", + "update_client/chrome_update_query_params_delegate.cc", + "update_client/chrome_update_query_params_delegate.h", + "usb/chrome_usb_delegate.cc", + "usb/chrome_usb_delegate.h", + "usb/usb_blocklist.cc", + "usb/usb_blocklist.h", + "usb/usb_chooser_context.cc", + "usb/usb_chooser_context.h", + "usb/usb_chooser_context_factory.cc", + "usb/usb_chooser_context_factory.h", + "usb/usb_chooser_controller.cc", + "usb/usb_chooser_controller.h", + "usb/usb_policy_allowed_devices.cc", + "usb/usb_policy_allowed_devices.h", + "usb/web_usb_chooser.cc", + "usb/web_usb_chooser.h", + "usb/web_usb_histograms.cc", + "usb/web_usb_histograms.h", + "user_annotations/user_annotations_service_factory.cc", + "user_annotations/user_annotations_service_factory.h", + "user_annotations/user_annotations_web_contents_observer.cc", + "user_annotations/user_annotations_web_contents_observer.h", + "user_bypass/user_bypass_web_contents_observer.cc", + "user_bypass/user_bypass_web_contents_observer.h", + "v8_compile_hints/v8_compile_hints_tab_helper.cc", + "v8_compile_hints/v8_compile_hints_tab_helper.h", + "visibility_timer_tab_helper.cc", + "visibility_timer_tab_helper.h", + "visited_url_ranking/url_deduplication/search_engine_url_strip_handler.cc", + "visited_url_ranking/url_deduplication/search_engine_url_strip_handler.h", + "visited_url_ranking/visited_url_ranking_service_factory.cc", + "visited_url_ranking/visited_url_ranking_service_factory.h", + "vr/vr_tab_helper.cc", + "vr/vr_tab_helper.h", + "webapps/chrome_webapps_client.cc", + "webapps/chrome_webapps_client.h", + "webapps/installable/installable_utils.cc", + "webapps/installable/installable_utils.h", + "webapps/web_app_offline.cc", + "webapps/web_app_offline.h", + "webauthn/webauthn_metrics_util.cc", + "webauthn/webauthn_metrics_util.h", + "webauthn/webauthn_pref_names.cc", + "webauthn/webauthn_pref_names.h", + "webdata_services/web_data_service_factory.cc", + "webdata_services/web_data_service_factory.h", + "webid/federated_identity_account_keyed_permission_context.cc", + "webid/federated_identity_account_keyed_permission_context.h", + "webid/federated_identity_api_permission_context.cc", + "webid/federated_identity_api_permission_context.h", + "webid/federated_identity_api_permission_context_factory.cc", + "webid/federated_identity_api_permission_context_factory.h", + "webid/federated_identity_auto_reauthn_permission_context.cc", + "webid/federated_identity_auto_reauthn_permission_context.h", + "webid/federated_identity_auto_reauthn_permission_context_factory.cc", + "webid/federated_identity_auto_reauthn_permission_context_factory.h", + "webid/federated_identity_identity_provider_registration_context.cc", + "webid/federated_identity_identity_provider_registration_context.h", + "webid/federated_identity_identity_provider_signin_status_context.cc", + "webid/federated_identity_identity_provider_signin_status_context.h", + "webid/federated_identity_permission_context.cc", + "webid/federated_identity_permission_context.h", + "webid/federated_identity_permission_context_factory.cc", + "webid/federated_identity_permission_context_factory.h", + "webid/identity_provider_permission_request.cc", + "webid/identity_provider_permission_request.h", + ] + + configs += [ + "//build/config/compiler:wexit_time_destructors", + "//build/config:precompiled_headers", + ] + defines = [ "ZLIB_CONST" ] + + if (is_chrome_branded || use_official_enterprise_connectors_api_keys) { + defines += [ "USE_OFFICIAL_ENTERPRISE_CONNECTORS_API_KEYS=1" ] + } + + libs = [] + ldflags = [] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from = [ + "//chrome/browser/ui/autofill:impl", + "//chrome/browser/ui/autofill/payments", + "//chrome/browser/ui/autofill/payments:impl", + "//chrome/browser/ui/bluetooth:impl", + "//chrome/browser/ai:impl", + "//chrome/browser/autofill", + "//chrome/browser/commerce:impl", + "//chrome/browser/devtools", + "//chrome/browser/favicon", + "//chrome/browser/feedback", + "//chrome/browser/feedback:feedback_impl", + "//chrome/browser/google", + "//chrome/browser/media/webrtc", + "//chrome/browser/file_system_access:impl", + "//chrome/browser/search", + + # Circular dependency due to SystemNetworkContextManager. + "//chrome/browser/image_fetcher", + "//chrome/browser/profiling_host", + + # TODO(crbug.com/40228447): break this dep when favicon is in its own target + "//chrome/browser/share", + "//chrome/browser/ui", + + # TODO(358041220): There is a circular_dependency of `cookie_controls:impl` module + # with "//chrome/browser" due to the inclusion of //c/b/policy/profile_policy_connector.h + # from cookie_controls_service.cc. When the respective //c/b/policy directory gets + # modularized, `cookie_controls:impl` can depend on it directly, and the circular dependency + # be removed. + "//chrome/browser/ui/cookie_controls:impl", + "//chrome/browser/ui/omnibox:impl", + "//chrome/browser/storage_access_api", + "//chrome/browser/top_level_storage_access_api:permissions", + "//chrome/browser/safe_browsing", + "//chrome/browser/safe_browsing:verdict_cache_manager_factory", + "//chrome/browser/safe_browsing:advanced_protection", + "//chrome/browser/safe_browsing:metrics_collector", + "//chrome/browser/ip_protection", + + # TODO(crbug.com/40110173): Eliminate usages of browser.h from Media Router. + "//chrome/browser/media/router", + + "//chrome/browser/permissions", + "//chrome/browser/policy/messaging_layer/storage_selector", + + # TODO(crbug.com/344921703): Remove circular dependencies. + "//chrome/browser/sync", + + # TODO(crbug.com/360599255): Remove this circular dependency when //c/b/content_settings + # get modularized. + "//chrome/browser/ui/blocked_content:impl", + + "//chrome/browser/search_engine_choice:impl", + "//chrome/browser/profiles:profile_attributes_impl", + "//chrome/browser/profiles:profile_util_impl", + "//chrome/browser/profiles:profile_statistics_impl", + "//chrome/browser/signin:impl", + ] + + if (!is_chromeos_lacros) { + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += + [ "//chrome/browser/ui/webui/bluetooth_internals" ] + } else { + # Circular dependency due to `EmbeddedA11yManagerLacros`. + allow_circular_includes_from += [ "//chrome/browser/accessibility:utils" ] + } + + public_deps = [ + # WARNING WARNING WARNING + # New dependencies outside of //chrome/browser should be added to + # browser_public_depedenencies. + # New dependencies inside of //chrome/browser that generate header files + # should be added to browser_generated_files. + ":browser_public_dependencies", + "//chrome/browser/google", + "//chrome/browser/headless", + "//chrome/browser/profiles", + "//chrome/browser/resource_coordinator:tab_lifecycle_observer", + "//chrome/browser/ui/tabs:tab_enums", + ] + + deps = [ + ":active_use_util", + ":browser_process", + ":dev_ui_browser_resources_grit", + ":expired_flags_list", + ":font_pref", + ":global_features", + ":k_anonymity_storage_proto", + ":lcp_critical_path_predictor_proto", + ":main_extra_parts", + ":resource_prefetch_predictor_proto", + ":unexpire_flags", + "//base", + "//base:i18n", + "//base/allocator:buildflags", + "//build:branding_buildflags", + "//build:chromeos_buildflags", + "//build/config/chromebox_for_meetings:buildflags", + "//build/config/compiler:compiler_buildflags", + "//cc", + "//chrome:extra_resources", + "//chrome:resources", + "//chrome:strings", + "//chrome/app:command_ids", + "//chrome/app/resources:platform_locale_settings", + "//chrome/app/theme:theme_resources", + "//chrome/app/vector_icons", + "//chrome/browser/accessibility:utils", + "//chrome/browser/ai", + "//chrome/browser/ai:impl", + "//chrome/browser/autofill", + "//chrome/browser/bitmap_fetcher", + "//chrome/browser/breadcrumbs", + "//chrome/browser/browsing_data:constants", + "//chrome/browser/commerce", + "//chrome/browser/commerce:impl", + "//chrome/browser/companion/text_finder", + "//chrome/browser/content_extraction", + "//chrome/browser/crash_upload_list", + "//chrome/browser/devtools", + "//chrome/browser/enterprise/platform_auth:features", + "//chrome/browser/favicon", + "//chrome/browser/feedback", + "//chrome/browser/feedback:feedback_impl", + "//chrome/browser/file_system_access", + "//chrome/browser/file_system_access:impl", + "//chrome/browser/fingerprinting_protection", + "//chrome/browser/first_party_sets", + "//chrome/browser/image_decoder", + "//chrome/browser/image_fetcher", + "//chrome/browser/ip_protection", + "//chrome/browser/media/prefs", + "//chrome/browser/media/router", + "//chrome/browser/media/router:media_router_feature", + "//chrome/browser/media/router/discovery/access_code:access_code_cast_feature", + "//chrome/browser/media/webrtc", + "//chrome/browser/metrics:expired_histograms_array", + "//chrome/browser/metrics/structured", + "//chrome/browser/metrics/variations:chrome_ui_string_overrider_factory", + "//chrome/browser/notifications", + "//chrome/browser/notifications/scheduler:factory", + "//chrome/browser/notifications/scheduler/public", + "//chrome/browser/password_manager", + "//chrome/browser/permissions", + "//chrome/browser/persisted_state_db:persisted_state_db", + "//chrome/browser/picture_in_picture", + "//chrome/browser/picture_in_picture:impl", + "//chrome/browser/policy:path_parser", + "//chrome/browser/policy/messaging_layer/storage_selector", + "//chrome/browser/privacy_budget", + "//chrome/browser/profiles:profile", + "//chrome/browser/profiles:profile_attributes", + "//chrome/browser/profiles:profile_attributes_impl", + "//chrome/browser/profiles:profile_statistics", + "//chrome/browser/profiles:profile_statistics_impl", + "//chrome/browser/profiles:profile_util", + "//chrome/browser/profiles:profile_util_impl", + "//chrome/browser/profiles:profiles", + "//chrome/browser/profiling_host", + "//chrome/browser/promos:utils", + "//chrome/browser/resource_coordinator:tab_manager_features", + "//chrome/browser/resources/accessibility:resources", + "//chrome/browser/safe_browsing", + "//chrome/browser/safe_browsing:advanced_protection", + "//chrome/browser/safe_browsing:metrics_collector", + "//chrome/browser/safe_browsing:verdict_cache_manager_factory", + "//chrome/browser/search", + "//chrome/browser/search_engine_choice", + "//chrome/browser/search_engine_choice:impl", + "//chrome/browser/search_engines", + "//chrome/browser/share", + "//chrome/browser/sharing:buildflags", + "//chrome/browser/signin", + "//chrome/browser/signin:identity_manager_provider", + "//chrome/browser/signin:impl", + "//chrome/browser/storage_access_api", + "//chrome/browser/sync", + "//chrome/browser/thumbnail", + "//chrome/browser/top_level_storage_access_api:permissions", + "//chrome/browser/touch_to_fill/password_manager", + "//chrome/browser/ui", + "//chrome/browser/ui:browser_element_identifiers", + "//chrome/browser/ui:ui_features", + "//chrome/browser/ui/actions:actions", + "//chrome/browser/ui/actions:actions_headers", + "//chrome/browser/ui/autofill", + "//chrome/browser/ui/autofill:impl", + "//chrome/browser/ui/autofill/payments", + "//chrome/browser/ui/autofill/payments:impl", + "//chrome/browser/ui/blocked_content", + "//chrome/browser/ui/blocked_content:impl", + "//chrome/browser/ui/bluetooth", + "//chrome/browser/ui/bluetooth:impl", + "//chrome/browser/ui/color:color_headers", + "//chrome/browser/ui/color:mixers", + "//chrome/browser/ui/cookie_controls", + "//chrome/browser/ui/cookie_controls:impl", + "//chrome/browser/ui/find_bar", + "//chrome/browser/ui/omnibox", + "//chrome/browser/ui/omnibox:impl", + "//chrome/browser/ui/tabs", + "//chrome/browser/ui/webui", + "//chrome/browser/ui/webui:configs", + "//chrome/browser/ui/zoom", + "//chrome/browser/updater:scheduler", + "//chrome/browser/updates/announcement_notification", + "//chrome/browser/web_share_target", + "//chrome/common:channel_info", + "//chrome/common:supervised_user_commands_mojom", + "//chrome/common:version_header", + "//chrome/common/cart:mojo_bindings", + "//chrome/common/companion:mojo_bindings", + "//chrome/common/companion/visual_query:flags", + "//chrome/common/net", + "//chrome/common/notifications", + "//chrome/installer/util:with_no_strings", + "//chrome/services/speech/buildflags", + "//components/assist_ranker", + "//components/autofill/content/browser", + "//components/autofill/content/common:features", + "//components/autofill/core/browser", + "//components/back_forward_cache", + "//components/background_fetch", + "//components/background_sync", + "//components/background_task_scheduler", + "//components/blocked_content", + "//components/blocklist/opt_out_blocklist", + "//components/blocklist/opt_out_blocklist/sql:opt_out_blocklist_sql", + "//components/bookmarks/browser", + "//components/bookmarks/managed", + "//components/breadcrumbs/core", + "//components/breadcrumbs/core:status", + "//components/browser_sync", + "//components/browsing_data/content", + "//components/browsing_data/core", + "//components/browsing_topics", + "//components/browsing_topics/mojom:mojo_bindings", + "//components/captive_portal/content", + "//components/captive_portal/core", + "//components/captive_portal/core:buildflags", + "//components/certificate_matching", + "//components/certificate_transparency", + "//components/certificate_transparency:proto", + "//components/client_hints/browser", + "//components/cloud_devices/common", + "//components/color", + "//components/commerce/content/browser:browser", + "//components/commerce/core:commerce_heuristics_data", + "//components/commerce/core:commerce_subscription_db_content_proto", + "//components/commerce/core:feature_list", + "//components/commerce/core:parcel_tracking_db_content_proto", + "//components/commerce/core:persisted_state_db_content_proto", + "//components/commerce/core:pref_names", + "//components/commerce/core:shopping_service", + "//components/component_updater", + "//components/component_updater/installer_policies", + "//components/compose:buildflags", + "//components/compose/core/browser", + "//components/compose/core/browser:features", + "//components/consent_auditor", + "//components/content_capture/browser", + "//components/content_relationship_verification", + "//components/content_settings/browser", + "//components/content_settings/common:mojom", + "//components/content_settings/core/browser", + "//components/content_settings/core/browser:cookie_settings", + "//components/content_settings/core/common", + "//components/contextual_search/core/browser", + "//components/continuous_search/browser", + "//components/cookie_config", + "//components/country_codes", + "//components/crash/core/browser", + "//components/crx_file", + "//components/custom_handlers", + "//components/data_sharing/internal", + "//components/data_sharing/public", + "//components/device_event_log", + "//components/device_reauth", + "//components/device_signals/core/browser:browser", + "//components/dom_distiller/content/browser", + "//components/dom_distiller/content/common/mojom", + "//components/domain_reliability", + "//components/domain_reliability:prefs", + "//components/download/content/factory", + "//components/download/content/public", + "//components/download/database", + "//components/download/public/background_service:public", + "//components/embedder_support", + "//components/embedder_support:browser_util", + "//components/embedder_support/origin_trials", + "//components/encrypted_messages", + "//components/enterprise", + "//components/enterprise/browser/identifiers", + "//components/enterprise/common/proto:connectors_proto", + "//components/enterprise/common/proto:extensions_workflow_events_proto", + "//components/enterprise/common/proto:legacy_tech_events_proto", + "//components/enterprise/content", + "//components/enterprise/device_trust", + "//components/enterprise/obfuscation/core:enterprise_obfuscation", + "//components/error_page/common", + "//components/error_page/content/browser", + "//components/facilitated_payments/core/features", + "//components/facilitated_payments/core/metrics", + "//components/favicon/content", + "//components/favicon/core", + "//components/favicon/core:history_implementation", + "//components/favicon_base", + "//components/feature_engagement", + "//components/feed/core/common:feed_core_common", + "//components/feed/core/shared_prefs:feed_shared_prefs", + "//components/filename_generation", + "//components/find_in_page", + "//components/fingerprinting_protection_filter/browser", + "//components/fingerprinting_protection_filter/common", + "//components/flags_ui", + "//components/gcm_driver", + "//components/handoff", + "//components/headless/select_file_dialog", + "//components/heap_profiling/in_process", + "//components/heap_profiling/in_process:mojom", + "//components/heavy_ad_intervention", + "//components/history/content/browser", + "//components/history/core/browser", + "//components/history/core/common", + "//components/history/metrics", + "//components/history_clusters/core", + "//components/history_clusters/history_clusters_internals/webui", + "//components/history_clusters/history_clusters_internals/webui:constants", + "//components/history_embeddings", + "//components/infobars/content", + "//components/infobars/core", + "//components/invalidation", + "//components/invalidation/impl", + "//components/javascript_dialogs", + "//components/keyed_service/content", + "//components/language/content/browser", + "//components/language/content/browser/ulp_language_code_locator", + "//components/language/core/browser", + "//components/language/core/common", + "//components/language/core/language_model", + "//components/language_detection/content/browser", + "//components/language_detection/core/browser:language_detection_model_service", + "//components/lens", + "//components/lens:buildflags", + "//components/lens:enterprise_policy", + "//components/leveldb_proto", + "//components/live_caption:constants", + "//components/live_caption:utils", + "//components/lookalikes/core", + "//components/lookalikes/core:proto", + "//components/lookalikes/core:safety_tips", + "//components/manta", + "//components/media_device_salt", + "//components/media_effects", + "//components/memory_pressure", + "//components/metrics:call_stack_profile_collector", + "//components/metrics:component_metrics", + "//components/metrics:content", + "//components/metrics:net", + "//components/metrics:ui", + "//components/metrics/demographics", + "//components/metrics/structured", + "//components/metrics/structured:structured_events", + "//components/metrics/structured:structured_metrics_validator", + "//components/metrics_services_manager", + "//components/mirroring/service:mirroring_service", + "//components/navigation_interception", + "//components/navigation_metrics", + "//components/net_log", + "//components/network_hints/common:mojo_bindings", + "//components/network_session_configurator/browser", + "//components/network_time", + "//components/network_time/time_tracker", + "//components/no_state_prefetch/browser", + "//components/no_state_prefetch/common", + "//components/no_state_prefetch/common:mojo_bindings", + "//components/ntp_tiles", + "//components/offline_items_collection/core", + "//components/offline_pages/buildflags", + "//components/offline_pages/core", + "//components/offline_pages/core/background:background_offliner", + "//components/offline_pages/core/request_header", + "//components/omnibox/browser", + "//components/onc", + "//components/open_from_clipboard", + "//components/optimization_guide/content/browser", + "//components/optimization_guide/core", + "//components/optimization_guide/core:bloomfilter", + "//components/optimization_guide/core:prediction", + "//components/optimization_guide/optimization_guide_internals/webui", + "//components/origin_trials:browser", + "//components/origin_trials:common", + "//components/os_crypt/async/browser", + "//components/os_crypt/sync", + "//components/page_content_annotations/core", + "//components/page_image_service", + "//components/page_info/core:proto", + "//components/page_load_metrics/browser", + "//components/page_load_metrics/browser/observers/ad_metrics", + "//components/page_load_metrics/common", + "//components/page_load_metrics/google/browser", + "//components/paint_preview/buildflags", + "//components/paint_preview/features", + "//components/password_manager/content/browser", + "//components/password_manager/content/common", + "//components/password_manager/core/browser", + "//components/password_manager/core/browser:password_manager_buildflags", + "//components/password_manager/core/browser:password_switches", + "//components/password_manager/core/browser/affiliation:affiliation_fetching", + "//components/password_manager/core/browser/export", + "//components/password_manager/core/browser/features:password_features", + "//components/password_manager/core/browser/sharing", + "//components/password_manager/core/common", + "//components/payments/content:utils", + "//components/payments/core", + "//components/pdf/common:constants", + "//components/pdf/common:util", + "//components/performance_manager", + "//components/permissions", + "//components/permissions/prediction_service", + "//components/permissions/prediction_service:prediction_service_messages_proto", + "//components/plus_addresses", + "//components/plus_addresses:prefs", + "//components/plus_addresses/settings", + "//components/plus_addresses/webdata", + "//components/policy:generated", + "//components/policy/content:safe_sites_navigation_throttle", + "//components/policy/content/", + "//components/policy/core/browser", + "//components/policy/proto", + "//components/power_bookmarks/core", + "//components/power_bookmarks/core:features", + "//components/power_bookmarks/storage", + "//components/pref_registry", + "//components/prefs", + "//components/privacy_sandbox", + "//components/privacy_sandbox:privacy_sandbox_notice_constants", + "//components/privacy_sandbox:privacy_sandbox_notice_storage", + "//components/privacy_sandbox:privacy_sandbox_prefs", + "//components/privacy_sandbox:privacy_sandbox_survey_service", + "//components/privacy_sandbox:tpcd", + "//components/privacy_sandbox:tracking_protection_onboarding", + "//components/privacy_sandbox:tracking_protection_prefs", + "//components/privacy_sandbox:tracking_protection_settings", + "//components/privacy_sandbox/privacy_sandbox_attestations", + "//components/profile_metrics", + "//components/proxy_config", + "//components/qr_code_generator:bitmap_generator", + "//components/query_parser", + "//components/reading_list/core", + "//components/reading_list/features:flags", + "//components/reduce_accept_language/browser:browser", + "//components/renderer_context_menu", + "//components/reporting/client:report_queue", + "//components/reporting/client:report_queue_configuration", + "//components/reporting/client:report_queue_factory", + "//components/reporting/client:report_queue_provider", + "//components/reporting/encryption:primitives", + "//components/reporting/encryption:verification", + "//components/reporting/proto:record_constants", + "//components/reporting/proto:record_proto", + "//components/reporting/proto:status_proto", + "//components/reporting/proto:upload_tracker_proto", + "//components/reporting/resources:resource_manager", + "//components/reporting/storage:storage_module_interface", + "//components/reporting/util:backoff_settings", + "//components/reporting/util:status", + "//components/reporting/util:status_macros", + "//components/reporting/util:task_runner_context", + "//components/resources", + "//components/safe_browsing/content/browser", + "//components/safe_browsing/content/browser:client_side_detection", + "//components/safe_browsing/content/browser:safe_browsing_service", + "//components/safe_browsing/content/browser/password_protection", + "//components/safe_browsing/content/browser/web_ui", + "//components/safe_browsing/core/browser", + "//components/safe_browsing/core/browser:safe_browsing_metrics_collector", + "//components/safe_browsing/core/browser:verdict_cache_manager", + "//components/safe_browsing/core/browser/db:database_manager", + "//components/safe_browsing/core/browser/hashprefix_realtime:hash_realtime_service", + "//components/safe_browsing/core/browser/password_protection:password_protection_metrics_util", + "//components/safe_browsing/core/browser/realtime:policy_engine", + "//components/safe_browsing/core/browser/realtime:url_lookup_service", + "//components/safe_browsing/core/browser/sync", + "//components/safe_browsing/core/common", + "//components/safe_browsing/core/common:safe_browsing_policy_handler", + "//components/safe_browsing/core/common/hashprefix_realtime:hash_realtime_utils", + "//components/safe_browsing/core/common/proto:csd_proto", + "//components/safe_browsing/core/common/proto:realtimeapi_proto", + "//components/safe_search_api", + "//components/safe_search_api:safe_search_client", + "//components/saved_tab_groups:core", + "//components/saved_tab_groups:tab_group_sync_bridge", + "//components/schema_org/common:improved_mojom", + "//components/search", + "//components/search_engines", + "//components/search_provider_logos", + "//components/security_interstitials/content:proto", + "//components/security_interstitials/content:security_interstitial_page", + "//components/security_interstitials/core", + "//components/security_interstitials/core:unsafe_resource", + "//components/security_state/content", + "//components/security_state/core", + "//components/segmentation_platform/embedder", + "//components/segmentation_platform/embedder/default_model", + "//components/segmentation_platform/internal", + "//components/segmentation_platform/internal/proto", + "//components/segmentation_platform/public", + "//components/send_tab_to_self", + "//components/services/app_service", + "//components/services/heap_profiling", + "//components/services/language_detection/public/cpp", + "//components/services/language_detection/public/mojom", + "//components/services/on_device_translation:on_device_translation_service", + "//components/services/paint_preview_compositor/public/mojom:mojom", + "//components/services/patch/content", + "//components/services/quarantine", + "//components/services/quarantine/public/mojom", + "//components/services/unzip/content", + "//components/services/unzip/public/cpp", + "//components/services/unzip/public/mojom", + "//components/sessions", + "//components/shared_highlighting/browser", + "//components/shared_highlighting/core/common", + "//components/sharing_message:buildflags", + "//components/sharing_message/ios_push", + "//components/sharing_message/proto", + "//components/sharing_message/shared_clipboard", + "//components/sharing_message/web_push", + "//components/signin/core/browser", + "//components/signin/public/base:signin_buildflags", + "//components/signin/public/identity_manager", + "//components/signin/public/webdata", + "//components/site_engagement/content", + "//components/site_engagement/core/mojom:mojo_bindings", + "//components/site_isolation", + "//components/spellcheck:buildflags", + "//components/sqlite_proto", + "//components/startup_metric_utils", + "//components/storage_monitor", + "//components/strings", + "//components/subresource_filter/content/browser", + "//components/subresource_filter/content/shared/browser", + "//components/subresource_filter/core/browser", + "//components/subresource_filter/core/common", + "//components/supervised_user/core/browser", + "//components/supervised_user/core/browser:fetcher", + "//components/supervised_user/core/common", + "//components/supervised_user/core/common:buildflags", + "//components/sync", + "//components/sync_bookmarks", + "//components/sync_preferences", + "//components/sync_preferences:common_syncable_prefs_database", + "//components/sync_sessions", + "//components/tab_groups", + "//components/tpcd/metadata/browser", + "//components/tpcd/metadata/browser:prefs", + "//components/tracing:background_tracing_metrics_provider", + "//components/tracing:background_tracing_utils", + "//components/tracing:startup_tracing", + "//components/translate/content/browser", + "//components/translate/core/browser", + "//components/translate/core/common", + "//components/trusted_vault", + "//components/ui_devtools", + "//components/ukm", + "//components/ukm:observers", + "//components/undo", + "//components/update_client", + "//components/update_client:common_impl", + "//components/upload_list", + "//components/url_formatter", + "//components/url_formatter/spoof_checks/top_domains:common", + "//components/url_formatter/spoof_checks/top_domains:top_bucket_domains", + "//components/url_formatter/spoof_checks/top_domains:top_bucket_domains_header", + "//components/url_matcher", + "//components/user_annotations", + "//components/user_manager", + "//components/user_prefs", + "//components/variations", + "//components/variations:variations_mojom", + "//components/variations/field_trial_config", + "//components/variations/net", + "//components/variations/proto", + "//components/variations/service", + "//components/variations/service:service", + "//components/vector_icons", + "//components/version_info", + "//components/visited_url_ranking/internal", + "//components/visited_url_ranking/public", + "//components/visitedlink/browser", + "//components/visitedlink/common", + "//components/web_cache/browser", + "//components/web_resource", + "//components/webapps/browser", + "//components/webapps/common", + "//components/webapps/common:mojo_bindings", + "//components/webauthn/core/browser:passkey_model", + "//components/webdata/common", + "//components/webdata_services", + "//components/webid", + "//components/webrtc", + "//components/webrtc_logging/browser", + "//components/webrtc_logging/common", + "//components/zoom", + "//content/public/browser", + "//content/public/common", + "//crypto", + "//device/base", + "//device/base/synchronization", + "//device/fido", + "//device/gamepad/public/cpp:switches", + "//device/vr/buildflags", + "//extensions/buildflags", + "//google_apis", + "//gpu/config", + "//media", + "//media:media_buildflags", + "//media/capture", + "//media/capture:capture_switches", + "//media/midi", + "//media/mojo:buildflags", + "//media/mojo/common", + "//media/mojo/mojom:web_speech_recognition", + "//media/mojo/services", + "//media/webrtc", + "//mojo/core/embedder", + "//mojo/core/embedder:features", + "//mojo/public/cpp/base:protobuf_support", + "//mojo/public/cpp/bindings", + "//net", + "//net:extras", + "//pdf:buildflags", + "//ppapi/buildflags", + "//printing/buildflags", + "//rlz/buildflags", + "//services/audio/public/cpp", + "//services/cert_verifier:lib", + "//services/data_decoder/public/cpp", + "//services/device/public/cpp:device_features", + "//services/device/public/cpp/geolocation", + "//services/device/public/cpp/usb", + "//services/device/public/mojom", + "//services/device/public/mojom:usb", + "//services/image_annotation:service", + "//services/media_session/public/mojom", + "//services/metrics/public/cpp:ukm_builders", + "//services/network:network_service", + "//services/network/public/cpp", + "//services/network/public/mojom", + "//services/network/public/proto", + "//services/on_device_model/public/cpp", + "//services/on_device_model/public/mojom", + "//services/preferences/public/cpp", + "//services/preferences/public/cpp/tracked", + "//services/preferences/public/mojom", + "//services/preferences/tracked", + "//services/proxy_resolver/public/mojom", + "//services/resource_coordinator/public/cpp:resource_coordinator_cpp", + "//services/resource_coordinator/public/cpp/memory_instrumentation:browser", + "//services/service_manager/public/cpp", + "//services/shape_detection/public/mojom", + "//services/strings", + "//services/webnn/public/mojom", + "//skia", + "//sql", + "//storage/browser", + "//storage/common", + "//third_party/anonymous_tokens:anonymous_tokens_cc_proto", + "//third_party/blink/public:buildflags", + "//third_party/blink/public:resources", + "//third_party/blink/public:scaled_resources", + "//third_party/blink/public/common", + "//third_party/blink/public/common:buildflags", + "//third_party/blink/public/common:headers", + "//third_party/icu", + "//third_party/leveldatabase", + "//third_party/libaddressinput", + "//third_party/libxml:xml_writer", + "//third_party/libyuv", + "//third_party/metrics_proto", + "//third_party/re2", + "//third_party/webrtc_overrides:webrtc_component", + "//third_party/widevine/cdm:buildflags", + "//third_party/widevine/cdm:headers", + "//third_party/zlib", + "//third_party/zlib:minizip", + "//third_party/zlib/google:compression_utils", + "//third_party/zlib/google:zip", + "//ui/accessibility", + "//ui/actions", + "//ui/base", + "//ui/base:ozone_buildflags", + "//ui/base/clipboard", + "//ui/base/emoji", + "//ui/base/idle", + "//ui/base/ime", + "//ui/color", + "//ui/color/dynamic_color", + "//ui/compositor", + "//ui/display/util:util", + "//ui/events:events_base", + "//ui/events/devices", + "//ui/gfx", + "//ui/gfx/geometry", + "//ui/gl", + "//ui/gl:buildflags", + "//ui/message_center", + "//ui/message_center/public/cpp", + "//ui/resources", + "//ui/shell_dialogs", + "//ui/snapshot", + "//ui/strings", + "//ui/surface", + "//ui/webui", + ] + + # Platforms that have a network diagnostics dialog. All others fall through + # to the stub which is not implemented. + if (is_chromeos_ash) { + sources += [ "net/net_error_diagnostics_dialog_chromeos.cc" ] + } else if (is_chromeos_lacros) { + sources += [ "net/net_error_diagnostics_dialog_lacros.cc" ] + } else if (is_win) { + sources += [ "net/net_error_diagnostics_dialog_win.cc" ] + } else { + sources += [ "net/net_error_diagnostics_dialog_stub.cc" ] + } + + if (is_posix) { + sources += [ + "download/trusted_sources_manager_posix.cc", + "performance_monitor/metric_evaluator_helper_posix.cc", + "performance_monitor/metric_evaluator_helper_posix.h", + ] + } + + if (!is_chromeos_ash) { + sources += [ + "signin/wait_for_network_callback_helper_chrome.cc", + "signin/wait_for_network_callback_helper_chrome.h", + ] + } + + if (is_android) { + sources += [ + "accessibility/accessibility_prefs/android/accessibility_prefs_controller.cc", + "accessibility/accessibility_prefs/android/accessibility_prefs_controller.h", + "after_startup_task_utils_android.cc", + "android/android_theme_resources.h", + "android/autocomplete/tab_matcher_android.cc", + "android/autocomplete/tab_matcher_android.h", + "android/auxiliary_search/auxiliary_search_provider.cc", + "android/auxiliary_search/auxiliary_search_provider.h", + "android/background_sync_launcher_android.cc", + "android/background_sync_launcher_android.h", + "android/background_tab_manager.cc", + "android/background_tab_manager.h", + "android/background_task_scheduler/chrome_background_task_factory.cc", + "android/background_task_scheduler/chrome_background_task_factory.h", + "android/background_task_scheduler/proxy_native_task.cc", + "android/background_task_scheduler/proxy_native_task.h", + "android/backup/chrome_backup_agent.cc", + "android/backup/dict_pref_backup_serializer.cc", + "android/backup/dict_pref_backup_serializer.h", + "android/bookmarks/partner_bookmarks_reader.cc", + "android/bookmarks/partner_bookmarks_reader.h", + "android/bookmarks/partner_bookmarks_shim.cc", + "android/bookmarks/partner_bookmarks_shim.h", + "android/bottombar/overlay_panel_content.cc", + "android/bottombar/overlay_panel_content.h", + "android/browserservices/site_isolator.cc", + "android/browsing_data/browsing_data_bridge.cc", + "android/browsing_data/browsing_data_counter_bridge.cc", + "android/browsing_data/browsing_data_counter_bridge.h", + "android/browsing_data/url_filter_bridge.cc", + "android/browsing_data/url_filter_bridge.h", + "android/chrome_startup_flags.cc", + "android/chrome_startup_flags.h", + "android/compose_bitmaps_helper.cc", + "android/compose_bitmaps_helper.h", + "android/compositor/compositor_view.cc", + "android/compositor/compositor_view.h", + "android/compositor/decoration_title.cc", + "android/compositor/decoration_title.h", + "android/compositor/layer/content_layer.cc", + "android/compositor/layer/content_layer.h", + "android/compositor/layer/contextual_search_layer.cc", + "android/compositor/layer/contextual_search_layer.h", + "android/compositor/layer/layer.h", + "android/compositor/layer/overlay_panel_layer.cc", + "android/compositor/layer/overlay_panel_layer.h", + "android/compositor/layer/tab_handle_layer.cc", + "android/compositor/layer/tab_handle_layer.h", + "android/compositor/layer/tab_layer.cc", + "android/compositor/layer/tab_layer.h", + "android/compositor/layer/thumbnail_layer.cc", + "android/compositor/layer/thumbnail_layer.h", + "android/compositor/layer/toolbar_layer.cc", + "android/compositor/layer/toolbar_layer.h", + "android/compositor/layer_title_cache.cc", + "android/compositor/layer_title_cache.h", + "android/compositor/resources/resource_factory.cc", + "android/compositor/resources/toolbar_resource.cc", + "android/compositor/resources/toolbar_resource.h", + "android/compositor/scene_layer/contextual_search_scene_layer.cc", + "android/compositor/scene_layer/contextual_search_scene_layer.h", + "android/compositor/scene_layer/edge_to_edge_bottom_chin_scene_layer.cc", + "android/compositor/scene_layer/edge_to_edge_bottom_chin_scene_layer.h", + "android/compositor/scene_layer/readaloud_mini_player_scene_layer.cc", + "android/compositor/scene_layer/readaloud_mini_player_scene_layer.h", + "android/compositor/scene_layer/scrolling_bottom_view_scene_layer.cc", + "android/compositor/scene_layer/scrolling_bottom_view_scene_layer.h", + "android/compositor/scene_layer/solid_color_scene_layer.cc", + "android/compositor/scene_layer/solid_color_scene_layer.h", + "android/compositor/scene_layer/static_tab_scene_layer.cc", + "android/compositor/scene_layer/static_tab_scene_layer.h", + "android/compositor/scene_layer/status_indicator_scene_layer.cc", + "android/compositor/scene_layer/status_indicator_scene_layer.h", + "android/compositor/scene_layer/tab_list_scene_layer.cc", + "android/compositor/scene_layer/tab_list_scene_layer.h", + "android/compositor/scene_layer/tab_strip_scene_layer.cc", + "android/compositor/scene_layer/tab_strip_scene_layer.h", + "android/compositor/scene_layer/toolbar_swipe_scene_layer.cc", + "android/compositor/scene_layer/toolbar_swipe_scene_layer.h", + "android/compositor/scene_layer/top_toolbar_scene_layer.cc", + "android/compositor/scene_layer/top_toolbar_scene_layer.h", + "android/compositor/tab_content_manager.cc", + "android/compositor/tab_content_manager.h", + "android/consent_auditor/consent_auditor_bridge.cc", + "android/content/content_utils.cc", + "android/content/web_contents_factory.cc", + "android/content/web_contents_factory_data_deleter.cc", + "android/content/web_contents_factory_data_deleter.h", + "android/context_menu/context_menu_native_delegate_impl.cc", + "android/context_menu/context_menu_native_delegate_impl.h", + "android/contextualsearch/contextual_search_manager.cc", + "android/contextualsearch/contextual_search_manager.h", + "android/contextualsearch/contextual_search_tab_helper.cc", + "android/contextualsearch/contextual_search_tab_helper.h", + "android/contextualsearch/native_contextual_search_context.cc", + "android/contextualsearch/native_contextual_search_context.h", + "android/contextualsearch/unhandled_tap_notifier_impl.cc", + "android/contextualsearch/unhandled_tap_notifier_impl.h", + "android/contextualsearch/unhandled_tap_web_contents_observer.cc", + "android/contextualsearch/unhandled_tap_web_contents_observer.h", + "android/cookies/cookies_fetcher_restore_util.cc", + "android/cookies/cookies_fetcher_restore_util.h", + "android/cookies/cookies_fetcher_util.cc", + "android/customtabs/chrome_origin_verifier.cc", + "android/customtabs/chrome_origin_verifier.h", + "android/customtabs/client_data_header_web_contents_observer.cc", + "android/customtabs/client_data_header_web_contents_observer.h", + "android/customtabs/custom_tab_auth_url_heuristics.cc", + "android/customtabs/custom_tab_session_state_tracker.cc", + "android/customtabs/custom_tab_session_state_tracker.h", + "android/customtabs/custom_tabs_connection.cc", + "android/customtabs/detached_resource_request.cc", + "android/customtabs/detached_resource_request.h", + "android/customtabs/tab_interaction_recorder_android.cc", + "android/customtabs/tab_interaction_recorder_android.h", + "android/customtabs/text_fragment_lookup_state_tracker.cc", + "android/customtabs/text_fragment_lookup_state_tracker.h", + "android/devtools_manager_delegate_android.cc", + "android/devtools_manager_delegate_android.h", + "android/devtools_server.cc", + "android/devtools_server.h", + "android/dom_distiller/distiller_ui_handle_android.cc", + "android/dom_distiller/distiller_ui_handle_android.h", + "android/favicon_helper.cc", + "android/favicon_helper.h", + "android/feature_engagement/tracker_factory_android.cc", + "android/feedback/connectivity_checker.cc", + "android/feedback/screenshot_mode.h", + "android/feedback/screenshot_task.cc", + "android/flags/bad_flags_snackbar_manager.cc", + "android/flags/bad_flags_snackbar_manager.h", + "android/flags/chrome_cached_flags.cc", + "android/flags/chrome_cached_flags.h", + "android/foreign_session_helper.cc", + "android/foreign_session_helper.h", + "android/framebust_intervention/framebust_blocked_delegate_android.cc", + "android/framebust_intervention/framebust_blocked_delegate_android.h", + "android/historical_tab_saver.cc", + "android/historical_tab_saver.h", + "android/history/browsing_history_bridge.cc", + "android/history/browsing_history_bridge.h", + "android/history/history_deletion_bridge.cc", + "android/history/history_deletion_bridge.h", + "android/history/history_deletion_info.cc", + "android/history/history_deletion_info.h", + "android/httpclient/http_client_bridge.cc", + "android/httpclient/http_client_bridge.h", + "android/intent_handler.cc", + "android/media/media_capture_devices_dispatcher_android.cc", + "android/messages_resource_mapper_initializer.cc", + "android/metrics/android_session_durations_service.cc", + "android/metrics/android_session_durations_service.h", + "android/metrics/android_session_durations_service_factory.cc", + "android/metrics/android_session_durations_service_factory.h", + "android/metrics/launch_metrics.cc", + "android/metrics/uma_session_stats.cc", + "android/metrics/uma_session_stats.h", + "android/metrics/uma_utils.cc", + "android/metrics/uma_utils.h", + "android/metrics/variations_session.cc", + "android/mojo/chrome_interface_registrar_android.cc", + "android/mojo/chrome_interface_registrar_android.h", + "android/navigation_predictor/navigation_predictor_bridge.cc", + "android/ntp/most_visited_sites_bridge.cc", + "android/ntp/most_visited_sites_bridge.h", + "android/ntp/new_tab_page_url_handler.cc", + "android/ntp/new_tab_page_url_handler.h", + "android/ntp/recent_tabs_page_prefs.cc", + "android/ntp/recent_tabs_page_prefs.h", + "android/omnibox/autocomplete_controller_android.cc", + "android/omnibox/autocomplete_controller_android.h", + "android/omnibox/chrome_omnibox_navigation_observer_android.cc", + "android/omnibox/chrome_omnibox_navigation_observer_android.h", + "android/omnibox/geolocation_header.cc", + "android/omnibox/geolocation_header.h", + "android/omnibox/omnibox_prerender.cc", + "android/omnibox/omnibox_prerender.h", + "android/oom_intervention/near_oom_monitor.cc", + "android/oom_intervention/near_oom_monitor.h", + "android/oom_intervention/near_oom_reduction_message_delegate.cc", + "android/oom_intervention/near_oom_reduction_message_delegate.h", + "android/oom_intervention/oom_intervention_config.cc", + "android/oom_intervention/oom_intervention_config.h", + "android/oom_intervention/oom_intervention_decider.cc", + "android/oom_intervention/oom_intervention_decider.h", + "android/oom_intervention/oom_intervention_tab_helper.cc", + "android/oom_intervention/oom_intervention_tab_helper.h", + "android/partner_browser_customizations.cc", + "android/partner_browser_customizations.h", + "android/permissions/permission_settings_bridge.cc", + "android/persisted_tab_data/leveldb_persisted_tab_data_storage_android.cc", + "android/persisted_tab_data/leveldb_persisted_tab_data_storage_android.h", + "android/persisted_tab_data/leveldb_persisted_tab_data_storage_android_factory.cc", + "android/persisted_tab_data/leveldb_persisted_tab_data_storage_android_factory.h", + "android/persisted_tab_data/persisted_tab_data_android.cc", + "android/persisted_tab_data/persisted_tab_data_android.h", + "android/persisted_tab_data/persisted_tab_data_config_android.cc", + "android/persisted_tab_data/persisted_tab_data_config_android.h", + "android/persisted_tab_data/persisted_tab_data_storage_android.h", + "android/persisted_tab_data/sensitivity_persisted_tab_data_android.cc", + "android/persisted_tab_data/sensitivity_persisted_tab_data_android.h", + "android/policy/policy_auditor.cc", + "android/policy/policy_auditor_bridge.cc", + "android/policy/policy_auditor_bridge.h", + "android/preferences/about_settings_bridge.cc", + "android/preferences/autofill/autofill_payment_methods_delegate.cc", + "android/preferences/autofill/autofill_payment_methods_delegate.h", + "android/preferences/autofill/autofill_profile_bridge.cc", + "android/preferences/autofill/autofill_profile_bridge.h", + "android/preferences/autofill/settings_launcher_helper.cc", + "android/preferences/autofill/settings_launcher_helper.h", + "android/preferences/browser_prefs_android.cc", + "android/preferences/browser_prefs_android.h", + "android/preferences/clipboard_android.cc", + "android/preferences/clipboard_android.h", + "android/preferences/cookie_controls_service_bridge.cc", + "android/preferences/cookie_controls_service_bridge.h", + "android/preferences/pref_change_registrar_android.cc", + "android/preferences/pref_change_registrar_android.h", + "android/preferences/privacy_preferences_manager_impl.cc", + "android/preferences/shared_preferences_migrator_android.cc", + "android/preferences/shared_preferences_migrator_android.h", + "android/preloading/android_prerender_manager.cc", + "android/preloading/android_prerender_manager.h", + "android/profile_key_startup_accessor.cc", + "android/profile_key_startup_accessor.h", + "android/profile_key_util.cc", + "android/profile_key_util.h", + "android/quick_delete/quick_delete_bridge.cc", + "android/quick_delete/quick_delete_bridge.h", + "android/recently_closed_tabs_bridge.cc", + "android/recently_closed_tabs_bridge.h", + "android/renderer_host/chrome_navigation_ui_data_android.cc", + "android/reparenting_task.cc", + "android/resource_id.h", + "android/resource_mapper.cc", + "android/resource_mapper.h", + "android/rlz/revenue_stats.cc", + "android/rlz/rlz_ping_handler.cc", + "android/rlz/rlz_ping_handler.h", + "android/search_permissions/search_permissions_service.cc", + "android/search_permissions/search_permissions_service.h", + "android/seccomp_support_detector.cc", + "android/seccomp_support_detector.h", + "android/send_tab_to_self/android_notification_handler.cc", + "android/send_tab_to_self/android_notification_handler.h", + "android/send_tab_to_self/metrics_recorder.cc", + "android/send_tab_to_self/send_tab_to_self_android_bridge.cc", + "android/service_tab_launcher.cc", + "android/service_tab_launcher.h", + "android/shortcut_helper.cc", + "android/shortcut_helper.h", + "android/signin/signin_bridge.cc", + "android/signin/signin_bridge.h", + "android/signin/signin_manager_android.cc", + "android/signin/signin_manager_android.h", + "android/signin/signin_metrics_utils.cc", + "android/signin/unified_consent_service_bridge.cc", + "android/signin/web_signin_bridge.cc", + "android/signin/web_signin_bridge.h", + "android/startup_bridge.cc", + "android/startup_bridge.h", + "android/tab_android.cc", + "android/tab_android.h", + "android/tab_android_data_provider.h", + "android/tab_android_user_data.h", + "android/tab_browser_controls_constraints_helper.cc", + "android/tab_browser_controls_constraints_helper.h", + "android/tab_favicon.cc", + "android/tab_favicon.h", + "android/tab_printer.cc", + "android/tab_printer.h", + "android/tab_web_contents_delegate_android.cc", + "android/tab_web_contents_delegate_android.h", + "android/thin_webview/chrome_thin_webview_initializer.cc", + "android/thin_webview/chrome_thin_webview_initializer.h", + "android/trusted_cdn.cc", + "android/trusted_cdn.h", + "android/usage_stats/usage_stats_bridge.cc", + "android/usage_stats/usage_stats_bridge.h", + "android/usage_stats/usage_stats_database.cc", + "android/usage_stats/usage_stats_database.h", + "android/warmup_manager.cc", + "android/webapk/pwa_restore_bottom_sheet_mediator.cc", + "android/webapk/pwa_restore_bottom_sheet_mediator.h", + "android/webapk/webapk_database.cc", + "android/webapk/webapk_database.h", + "android/webapk/webapk_database_factory.cc", + "android/webapk/webapk_database_factory.h", + "android/webapk/webapk_install_service.cc", + "android/webapk/webapk_install_service.h", + "android/webapk/webapk_install_service_factory.cc", + "android/webapk/webapk_install_service_factory.h", + "android/webapk/webapk_installer.cc", + "android/webapk/webapk_installer.h", + "android/webapk/webapk_restore_manager.cc", + "android/webapk/webapk_restore_manager.h", + "android/webapk/webapk_restore_task.cc", + "android/webapk/webapk_restore_task.h", + "android/webapk/webapk_restore_web_contents_manager.cc", + "android/webapk/webapk_restore_web_contents_manager.h", + "android/webapk/webapk_specifics_fetcher.cc", + "android/webapk/webapk_specifics_fetcher.h", + "android/webapk/webapk_sync_bridge.cc", + "android/webapk/webapk_sync_bridge.h", + "android/webapk/webapk_sync_service.cc", + "android/webapk/webapk_sync_service.h", + "android/webapk/webapk_sync_service_factory.cc", + "android/webapk/webapk_sync_service_factory.h", + "android/webapk/webapk_update_manager.cc", + "android/webapps/webapp_registry.cc", + "android/webapps/webapp_registry.h", + "banners/android/chrome_app_banner_manager_android.cc", + "banners/android/chrome_app_banner_manager_android.h", + "bluetooth/android/bluetooth_bridge.cc", + "bookmarks/android/bookmark_bridge.cc", + "bookmarks/android/bookmark_bridge.h", + "browser_process_platform_part_android.cc", + "browser_process_platform_part_android.h", + "browsing_data/counters/tabs_counter.cc", + "browsing_data/counters/tabs_counter.h", + "chrome_browser_main_android.cc", + "chrome_browser_main_android.h", + "commerce/android/price_tracking_utils_android.cc", + "commerce/android/shopping_service_factory_android.cc", + "commerce/price_tracking/android/price_tracking_notification_bridge.cc", + "commerce/price_tracking/android/price_tracking_notification_bridge.h", + "content_extraction/android/inner_text_bridge.cc", + "content_settings/request_desktop_site_web_contents_observer_android.cc", + "content_settings/request_desktop_site_web_contents_observer_android.h", + "data_sharing/android/data_sharing_service_factory_android.cc", + "data_sharing/android/data_sharing_ui_delegate_android.cc", + "data_sharing/android/data_sharing_ui_delegate_android.h", + "data_sharing/data_sharing_service_factory_bridge.cc", + "data_sharing/data_sharing_service_factory_bridge.h", + "device_reauth/android/device_authenticator_android.cc", + "device_reauth/android/device_authenticator_android.h", + "device_reauth/android/device_authenticator_bridge.h", + "device_reauth/android/device_authenticator_bridge_impl.cc", + "device_reauth/android/device_authenticator_bridge_impl.h", + "device_reauth/android/reauthenticator_bridge.cc", + "device_reauth/android/reauthenticator_bridge.h", + "digital_credentials/digital_identity_provider_android.cc", + "digital_credentials/digital_identity_provider_android.h", + "dom_distiller/dom_distiller_service_factory_android.cc", + "dom_distiller/dom_distiller_service_factory_android.h", + "dom_distiller/tab_utils.cc", + "dom_distiller/tab_utils.h", + "dom_distiller/tab_utils_android.cc", + "download/android/available_offline_content_provider.cc", + "download/android/available_offline_content_provider.h", + "download/android/chrome_duplicate_download_infobar_delegate.cc", + "download/android/chrome_duplicate_download_infobar_delegate.h", + "download/android/dangerous_download_dialog_bridge.cc", + "download/android/dangerous_download_dialog_bridge.h", + "download/android/dangerous_download_infobar_delegate.cc", + "download/android/dangerous_download_infobar_delegate.h", + "download/android/download_callback_validator.cc", + "download/android/download_callback_validator.h", + "download/android/download_controller.cc", + "download/android/download_controller.h", + "download/android/download_controller_base.cc", + "download/android/download_controller_base.h", + "download/android/download_dialog_bridge.cc", + "download/android/download_dialog_bridge.h", + "download/android/download_dialog_utils.cc", + "download/android/download_dialog_utils.h", + "download/android/download_manager_bridge.cc", + "download/android/download_manager_bridge.h", + "download/android/download_manager_service.cc", + "download/android/download_manager_service.h", + "download/android/download_message_bridge.cc", + "download/android/download_message_bridge.h", + "download/android/download_open_source.h", + "download/android/download_startup_utils.cc", + "download/android/download_startup_utils.h", + "download/android/download_utils.cc", + "download/android/download_utils.h", + "download/android/duplicate_download_dialog_bridge.cc", + "download/android/duplicate_download_dialog_bridge.h", + "download/android/duplicate_download_dialog_bridge_delegate.cc", + "download/android/duplicate_download_dialog_bridge_delegate.h", + "download/android/duplicate_download_infobar_delegate.cc", + "download/android/duplicate_download_infobar_delegate.h", + "download/android/insecure_download_dialog_bridge.cc", + "download/android/insecure_download_dialog_bridge.h", + "download/android/insecure_download_infobar_delegate.cc", + "download/android/insecure_download_infobar_delegate.h", + "download/android/intercept_oma_download_navigation_throttle.cc", + "download/android/intercept_oma_download_navigation_throttle.h", + "download/android/items/offline_content_aggregator_factory_android.cc", + "download/android/new_navigation_observer.cc", + "download/android/new_navigation_observer.h", + "download/android/open_download_dialog_bridge.cc", + "download/android/open_download_dialog_bridge.h", + "download/android/open_download_dialog_bridge_delegate.cc", + "download/android/open_download_dialog_bridge_delegate.h", + "download/android/service/download_background_task.cc", + "download/android/service/download_task_scheduler.cc", + "download/android/service/download_task_scheduler.h", + "download/android/string_utils.cc", + "download/download_crx_util_android.cc", + "enterprise/reporting/browser_report_generator_android.cc", + "enterprise/reporting/browser_report_generator_android.h", + "enterprise/reporting/profile_report_generator_android.cc", + "enterprise/reporting/profile_report_generator_android.h", + "enterprise/reporting/real_time_report_controller_android.cc", + "enterprise/reporting/real_time_report_controller_android.h", + "enterprise/reporting/report_scheduler_android.cc", + "enterprise/reporting/report_scheduler_android.h", + "enterprise/reporting/reporting_delegate_factory_android.cc", + "enterprise/reporting/reporting_delegate_factory_android.h", + "enterprise/util/android_enterprise_info.cc", + "enterprise/util/android_enterprise_info.h", + "fast_checkout/fast_checkout_accessibility_service.h", + "fast_checkout/fast_checkout_accessibility_service_impl.cc", + "fast_checkout/fast_checkout_accessibility_service_impl.h", + "fast_checkout/fast_checkout_capabilities_fetcher.h", + "fast_checkout/fast_checkout_capabilities_fetcher_factory.cc", + "fast_checkout/fast_checkout_capabilities_fetcher_factory.h", + "fast_checkout/fast_checkout_capabilities_fetcher_impl.cc", + "fast_checkout/fast_checkout_capabilities_fetcher_impl.h", + "fast_checkout/fast_checkout_client_impl.cc", + "fast_checkout/fast_checkout_client_impl.h", + "fast_checkout/fast_checkout_delegate_impl.cc", + "fast_checkout/fast_checkout_delegate_impl.h", + "fast_checkout/fast_checkout_personal_data_helper.h", + "fast_checkout/fast_checkout_personal_data_helper_impl.cc", + "fast_checkout/fast_checkout_personal_data_helper_impl.h", + "fast_checkout/fast_checkout_tab_helper.cc", + "fast_checkout/fast_checkout_tab_helper.h", + "fast_checkout/fast_checkout_trigger_validator.h", + "fast_checkout/fast_checkout_trigger_validator_impl.cc", + "fast_checkout/fast_checkout_trigger_validator_impl.h", + "feed/android/background_refresh_task.cc", + "feed/android/background_refresh_task.h", + "feed/android/feed_image_fetch_client.cc", + "feed/android/feed_persistent_key_value_cache.cc", + "feed/android/feed_process_scope_dependency_provider.cc", + "feed/android/feed_reliability_logging_bridge.cc", + "feed/android/feed_reliability_logging_bridge.h", + "feed/android/feed_service_bridge.cc", + "feed/android/feed_service_bridge.h", + "feed/android/feed_surface_renderer_bridge.cc", + "feed/android/feed_surface_renderer_bridge.h", + "feed/android/feed_surface_scope_dependency_provider_impl.cc", + "feed/android/jni_translation.cc", + "feed/android/jni_translation.h", + "feed/android/refresh_task_scheduler_impl.cc", + "feed/android/refresh_task_scheduler_impl.h", + "feed/android/web_feed_bridge.cc", + "feed/feed_service_factory.cc", + "feed/feed_service_factory.h", + "feed/rss_links_fetcher.cc", + "feed/rss_links_fetcher.h", + "feed/web_feed_page_information_fetcher.cc", + "feed/web_feed_page_information_fetcher.h", + "feed/web_feed_tab_helper.cc", + "feed/web_feed_tab_helper.h", + "feed/web_feed_ui_util.cc", + "feed/web_feed_ui_util.h", + "feed/web_feed_util.cc", + "feed/web_feed_util.h", + "first_run/android/first_run_prefs.cc", + "first_run/android/first_run_prefs.h", + "first_run/android/first_run_utils.cc", + "flags/android/chrome_feature_list.cc", + "flags/android/chrome_feature_list.h", + "geolocation/geolocation_permission_context_delegate_android.cc", + "geolocation/geolocation_permission_context_delegate_android.h", + "gesturenav/android/tab_on_back_gesture_handler.cc", + "gesturenav/android/tab_on_back_gesture_handler.h", + "history_clusters/history_clusters_tab_helper_android.cc", + "icon_loader_android.cc", + "incognito/android/incognito_utils_android.cc", + "page_image_service/android/image_service_bridge.cc", + "page_image_service/android/image_service_bridge.h", + "supervised_user/android/supervised_user_service_platform_delegate.cc", + "supervised_user/android/supervised_user_service_platform_delegate.h", + "supervised_user/android/website_parent_approval.cc", + "supervised_user/android/website_parent_approval.h", + "supervised_user/child_accounts/child_account_service_android.cc", + "supervised_user/child_accounts/child_account_service_android.h", + "tab_group_sync/android/tab_group_sync_service_factory_android.cc", + "visited_url_ranking/android_tab_model_url_visit_data_fetcher.cc", + "visited_url_ranking/android_tab_model_url_visit_data_fetcher.h", + "webapps/installable/installed_webapp_bridge.cc", + "webapps/installable/installed_webapp_bridge.h", + "webapps/installable/installed_webapp_geolocation_bridge.cc", + "webapps/installable/installed_webapp_geolocation_bridge.h", + "webapps/installable/installed_webapp_geolocation_context.cc", + "webapps/installable/installed_webapp_geolocation_context.h", + "webapps/installable/installed_webapp_provider.cc", + "webapps/installable/installed_webapp_provider.h", + + # TODO(b/40071344): Fold into "keyboard_accessory/android". + "keyboard_accessory/android/address_accessory_controller_impl.cc", + "keyboard_accessory/android/address_accessory_controller_impl.h", + "keyboard_accessory/android/affiliated_plus_profiles_cache.cc", + "keyboard_accessory/android/affiliated_plus_profiles_cache.h", + "keyboard_accessory/android/manual_filling_controller_impl.cc", + "keyboard_accessory/android/manual_filling_controller_impl.h", + "keyboard_accessory/android/password_accessory_controller_impl.cc", + "keyboard_accessory/android/password_accessory_controller_impl.h", + "keyboard_accessory/android/payment_method_accessory_controller_impl.cc", + "keyboard_accessory/android/payment_method_accessory_controller_impl.h", + "language/android/language_bridge.cc", + "language/android/language_bridge.h", + "lens/android/lens_policy_utils.cc", + "lens/android/lens_prefs.cc", + "lens/android/lens_prefs.h", + "lifetime/application_lifetime_android.cc", + "lifetime/application_lifetime_android.h", + "long_screenshots/long_screenshots_tab_service_factory.cc", + "long_screenshots/long_screenshots_tab_service_factory.h", + "lookalikes/safety_tip_infobar_android.cc", + "lookalikes/safety_tip_infobar_android.h", + "lookalikes/safety_tip_infobar_delegate_android.cc", + "lookalikes/safety_tip_infobar_delegate_android.h", + "lookalikes/safety_tip_message_delegate_android.cc", + "lookalikes/safety_tip_message_delegate_android.h", + "mandatory_reauth/android/mandatory_reauth_opt_in_view_android.cc", + "mandatory_reauth/android/mandatory_reauth_opt_in_view_android.h", + "media/android/cdm/media_drm_origin_id_manager.cc", + "media/android/cdm/media_drm_origin_id_manager.h", + "media/android/cdm/media_drm_origin_id_manager_factory.cc", + "media/android/cdm/media_drm_origin_id_manager_factory.h", + "media/android/cdm/media_drm_storage_factory.cc", + "media/android/cdm/media_drm_storage_factory.h", + "media/android/cdm/per_device_provisioning_permission.cc", + "media/android/cdm/per_device_provisioning_permission.h", + "media/android/router/chrome_media_router_client.cc", + "media/android/router/chrome_media_router_client.h", + "memory_details_android.cc", + "metrics/chrome_android_metrics_provider.cc", + "metrics/chrome_android_metrics_provider.h", + "metrics/incognito_observer_android.cc", + "metrics/page_load_metrics_provider.cc", + "metrics/page_load_metrics_provider.h", + "notifications/notification_platform_bridge_android.cc", + "notifications/notification_platform_bridge_android.h", + "notifications/notification_suspender_android.cc", + "notifications/notification_trigger_scheduler_android.cc", + "notifications/notification_trigger_scheduler_android.h", + "notifications/scheduler/display_agent_android.cc", + "notifications/scheduler/display_agent_android.h", + "notifications/scheduler/notification_background_task_scheduler_android.cc", + "notifications/scheduler/notification_background_task_scheduler_android.h", + "optimization_guide/android/optimization_guide_bridge.cc", + "optimization_guide/android/optimization_guide_bridge.h", + "optimization_guide/android/optimization_guide_tab_url_provider_android.cc", + "optimization_guide/android/optimization_guide_tab_url_provider_android.h", + "page_info/about_this_site_controller_android.cc", + "page_load_metrics/observers/android_page_load_metrics_observer.cc", + "page_load_metrics/observers/android_page_load_metrics_observer.h", + "password_check/android/password_check_bridge.cc", + "password_check/android/password_check_bridge.h", + "password_check/android/password_check_manager.cc", + "password_check/android/password_check_manager.h", + "password_manager/android/account_chooser_dialog_android.cc", + "password_manager/android/account_chooser_dialog_android.h", + "password_manager/android/all_passwords_bottom_sheet_controller.cc", + "password_manager/android/all_passwords_bottom_sheet_controller.h", + "password_manager/android/all_passwords_bottom_sheet_helper.cc", + "password_manager/android/all_passwords_bottom_sheet_helper.h", + "password_manager/android/auto_signin_first_run_dialog_android.cc", + "password_manager/android/auto_signin_first_run_dialog_android.h", + "password_manager/android/auto_signin_prompt_controller.cc", + "password_manager/android/auto_signin_prompt_controller.h", + "password_manager/android/cred_man_controller.cc", + "password_manager/android/cred_man_controller.h", + "password_manager/android/credential_android.cc", + "password_manager/android/credential_android.h", + "password_manager/android/credential_leak_controller_android.cc", + "password_manager/android/credential_leak_controller_android.h", + "password_manager/android/generated_password_saved_message_delegate.cc", + "password_manager/android/generated_password_saved_message_delegate.h", + "password_manager/android/local_passwords_migration_warning_util.cc", + "password_manager/android/local_passwords_migration_warning_util.h", + "password_manager/android/password_accessory_metrics_util.h", + "password_manager/android/password_checkup_launcher_helper.cc", + "password_manager/android/password_checkup_launcher_helper.h", + "password_manager/android/password_checkup_launcher_helper_impl.cc", + "password_manager/android/password_checkup_launcher_helper_impl.h", + "password_manager/android/password_generation_controller.h", + "password_manager/android/password_generation_controller_impl.cc", + "password_manager/android/password_generation_controller_impl.h", + "password_manager/android/password_infobar_utils.cc", + "password_manager/android/password_infobar_utils.h", + "password_manager/android/password_manager_error_message_delegate.cc", + "password_manager/android/password_manager_error_message_delegate.h", + "password_manager/android/password_manager_error_message_helper_bridge.h", + "password_manager/android/password_manager_error_message_helper_bridge_impl.cc", + "password_manager/android/password_manager_error_message_helper_bridge_impl.h", + "password_manager/android/password_manager_launcher_android.cc", + "password_manager/android/password_manager_launcher_android.h", + "password_manager/android/password_manager_ui_util_android.cc", + "password_manager/android/password_manager_ui_util_android.h", + "password_manager/android/password_migration_warning_startup_launcher.cc", + "password_manager/android/password_migration_warning_startup_launcher.h", + "password_manager/android/password_store_bridge.cc", + "password_manager/android/password_store_bridge.h", + "password_manager/android/password_ui_view_android.cc", + "password_manager/android/password_ui_view_android.h", + "password_manager/android/save_update_password_message_delegate.cc", + "password_manager/android/save_update_password_message_delegate.h", + "password_manager/android/shared_preferences_delegate_android.cc", + "password_manager/android/shared_preferences_delegate_android.h", + "payments/android/service_worker_payment_app_bridge.cc", + "platform_util_android.cc", + "plugins/plugin_observer_android.cc", + "plugins/plugin_observer_android.h", + "policy/android/cloud_management_shared_preferences.cc", + "policy/android/cloud_management_shared_preferences.h", + "policy/browser_dm_token_storage_android.cc", + "policy/browser_dm_token_storage_android.h", + "policy/chrome_browser_cloud_management_controller_android.cc", + "policy/chrome_browser_cloud_management_controller_android.h", + "policy/client_data_delegate_android.cc", + "policy/client_data_delegate_android.h", + "policy/cloud/user_policy_signin_service_mobile.cc", + "policy/cloud/user_policy_signin_service_mobile.h", + "policy/policy_service_factory_android.cc", + "prefetch/android/preload_pages_settings_bridge.cc", + "privacy/secure_dns_bridge.cc", + "privacy_sandbox/android/privacy_sandbox_bridge.cc", + "profiles/android/profile_manager_utils.cc", + "profiles/android/profile_resolver.cc", + "profiles/android/profile_resolver.h", + "profiles/profile_manager_android.cc", + "profiles/profile_manager_android.h", + "readaloud/android/read_aloud_features.cc", + "readaloud/android/synthetic_trial.cc", + "readaloud/android/synthetic_trial.h", + "safe_browsing/android/password_reuse_controller_android.cc", + "safe_browsing/android/password_reuse_controller_android.h", + "safe_browsing/android/safe_browsing_referring_app_bridge_android.cc", + "safe_browsing/android/safe_browsing_referring_app_bridge_android.h", + "safe_browsing/android/safe_browsing_settings_launcher_android.cc", + "safe_browsing/android/safe_browsing_settings_launcher_android.h", + "search_resumption/search_resumption_module_bridge.cc", + "search_resumption/search_resumption_module_bridge.h", + "search_resumption/start_suggest_service_factory.cc", + "search_resumption/start_suggest_service_factory.h", + "segmentation_platform/android/contextual_page_action_controller_android.cc", + "segmentation_platform/android/segmentation_platform_service_factory_android.cc", + "segmentation_platform/client_util/tab_data_collection_util.cc", + "segmentation_platform/client_util/tab_data_collection_util.h", + "sessions/session_restore_android.cc", + "sharing/click_to_call/click_to_call_message_handler_android.cc", + "sharing/click_to_call/click_to_call_message_handler_android.h", + "sharing/sms/sms_fetch_request_handler.cc", + "sharing/sms/sms_fetch_request_handler.h", + "shell_integration_android.cc", + "signin/identity_services_provider_android.cc", + "signin/signin_manager_android_factory.cc", + "signin/signin_manager_android_factory.h", + "ssl/chrome_security_state_client.cc", + "ssl/chrome_security_state_client.h", + "ssl/chrome_security_state_model_delegate.cc", + "ssl/chrome_security_state_model_delegate.h", + "ssl/known_interception_disclosure_infobar.cc", + "ssl/known_interception_disclosure_infobar.h", + "supervised_user/android/favicon_fetcher.cc", + "supervised_user/android/favicon_fetcher.h", + "supervised_user/android/supervised_user_web_content_handler_impl.cc", + "supervised_user/android/supervised_user_web_content_handler_impl.h", + "tab/web_contents_state.cc", + "tab/web_contents_state.h", + "tab_resumption/visited_url_ranking_backend.cc", + "tab_resumption/visited_url_ranking_backend.h", + "trusted_vault/trusted_vault_client_android.cc", + "trusted_vault/trusted_vault_client_android.h", + + # TODO(crbug.com/40261269): Move to its own target in touch_to_fill/. + "touch_to_fill/autofill/android/touch_to_fill_delegate_android_impl.cc", + "touch_to_fill/autofill/android/touch_to_fill_delegate_android_impl.h", + "touch_to_fill/autofill/android/touch_to_fill_payment_method_controller.cc", + "touch_to_fill/autofill/android/touch_to_fill_payment_method_controller.h", + "touch_to_fill/password_manager/touch_to_fill_controller.cc", + "touch_to_fill/password_manager/touch_to_fill_controller.h", + "touch_to_fill/password_manager/touch_to_fill_controller_autofill_delegate.cc", + "touch_to_fill/password_manager/touch_to_fill_controller_autofill_delegate.h", + "touch_to_fill/password_manager/touch_to_fill_controller_delegate.cc", + "touch_to_fill/password_manager/touch_to_fill_controller_delegate.h", + "touch_to_fill/password_manager/touch_to_fill_controller_webauthn_delegate.cc", + "touch_to_fill/password_manager/touch_to_fill_controller_webauthn_delegate.h", + "translate/android/translate_bridge.cc", + "translate/android/translate_bridge.h", + "usb/android/usb_bridge.cc", + "usb/android/web_usb_chooser_android.cc", + "usb/android/web_usb_chooser_android.h", + "wallet/android/boarding_pass_bridge.cc", + "wallet/android/boarding_pass_detector.cc", + "wallet/android/boarding_pass_detector.h", + "webapps/web_app_offline_android.cc", + "webapps/webapps_client_android.cc", + "webapps/webapps_client_android.h", + "webauthn/android/cable_module_android.cc", + "webauthn/android/cable_registration_state.cc", + "webauthn/android/cable_registration_state.h", + "webauthn/android/chrome_webauthn_client_android.cc", + "webauthn/android/chrome_webauthn_client_android.h", + "webauthn/android/webauthn_request_delegate_android.cc", + "webauthn/android/webauthn_request_delegate_android.h", + ] + deps += [ + ":delta_file_proto", + ":fast_checkout_funnels_proto", + ":profile_token", + ":sensitivity_data_proto", + ":usage_stats_proto", + "//cc/slim", + "//chrome/android:jni_headers", + "//chrome/browser/android/content:jni_headers", + "//chrome/browser/android/httpclient:android", + "//chrome/browser/android/httpclient:jni_headers", + "//chrome/browser/android/locale", + "//chrome/browser/android/messages:jni_headers", + "//chrome/browser/android/metrics:jni_headers", + "//chrome/browser/android/webapk:webapk_sources", + "//chrome/browser/autofill/android:jni_headers", + "//chrome/browser/bluetooth/android:jni_headers", + "//chrome/browser/commerce/android:shopping_service_jni", + "//chrome/browser/commerce/merchant_viewer:merchant_signal_db", + "//chrome/browser/commerce/merchant_viewer:merchant_viewer_data_manager", + "//chrome/browser/commerce/merchant_viewer/android:jni_headers", + "//chrome/browser/consent_auditor/android:jni_headers", + "//chrome/browser/content_extraction/android:jni_headers", + "//chrome/browser/device_reauth/android:jni_headers", + "//chrome/browser/download/internal/android", + "//chrome/browser/facilitated_payments", + "//chrome/browser/facilitated_payments/ui/android", + "//chrome/browser/feed/android:jni_headers", + "//chrome/browser/feedback/android", + "//chrome/browser/feedback/android:jni_headers", + "//chrome/browser/flags:flags_android", + "//chrome/browser/gesturenav/android:jni_headers", + "//chrome/browser/keyboard_accessory/android", + "//chrome/browser/language/android:jni_headers", + "//chrome/browser/lifetime/android:jni_headers", + "//chrome/browser/long_screenshots:services", + "//chrome/browser/notifications:jni_headers", + "//chrome/browser/notifications/chime/android", + "//chrome/browser/notifications/scheduler/public", + "//chrome/browser/optimization_guide/android:jni_headers", + "//chrome/browser/page_image_service/android:jni_headers", + "//chrome/browser/partnercustomizations:jni_headers", + "//chrome/browser/password_check/android:jni_headers", + "//chrome/browser/password_check/android:password_check_enums_srcjar", + "//chrome/browser/password_edit_dialog/android", + "//chrome/browser/password_entry_edit/android", + "//chrome/browser/password_manager/android:backend_public", + "//chrome/browser/password_manager/android:jni_headers", + "//chrome/browser/password_manager/android:utils", + "//chrome/browser/password_manager/android/access_loss:public", + "//chrome/browser/password_manager/android/account_storage_notice", + "//chrome/browser/password_manager/android/add_username_dialog:android", + "//chrome/browser/policy/android:android", + "//chrome/browser/policy/android:jni_headers", + "//chrome/browser/preferences:android", + "//chrome/browser/prefetch/android:jni_headers", + "//chrome/browser/privacy:jni_headers", + "//chrome/browser/privacy_sandbox/android:jni_headers", + "//chrome/browser/quick_delete:jni_headers", + "//chrome/browser/readaloud/android:jni_headers", + "//chrome/browser/readaloud/android:native", + "//chrome/browser/reading_list/android", + "//chrome/browser/recent_tabs:jni_headers", + "//chrome/browser/safe_browsing/android:safe_browsing_enums", + "//chrome/browser/safety_check/android", + "//chrome/browser/safety_hub/android", + "//chrome/browser/search_resumption:jni_headers", + "//chrome/browser/signin/services/android:jni_headers", + "//chrome/browser/supervised_user:supervised_user_service_platform_delegate_jni_headers", + "//chrome/browser/supervised_user:website_parent_approval_jni_headers", + "//chrome/browser/sync/android:jni_headers", + "//chrome/browser/tab:jni_headers", + "//chrome/browser/tab_group_sync:utils", + "//chrome/browser/tab_resumption:jni_headers", + "//chrome/browser/touch_to_fill/autofill/android:public", + "//chrome/browser/touch_to_fill/password_manager/no_passkeys/android:public", + "//chrome/browser/touch_to_fill/password_manager/password_generation/android", + "//chrome/browser/touch_to_fill/password_manager/password_generation/android:public", + "//chrome/browser/translate/android", + "//chrome/browser/translate/android:jni_headers", + "//chrome/browser/ui/android/layouts:android", + "//chrome/browser/ui/android/pdf:pdf_jni_headers", + "//chrome/browser/ui/digital_credentials", + "//chrome/browser/ui/fast_checkout", + "//chrome/browser/ui/fast_checkout:impl", + "//chrome/browser/usb/android:jni_headers", + "//chrome/browser/wallet/android:jni_headers", + "//chrome/common:non_code_constants", + "//chrome/common/wallet:mojo_bindings", + "//chrome/services/media_gallery_util/public/cpp", + "//components/android_autofill/browser:android", + "//components/autofill/android:keyboard_suppressor", + "//components/background_sync", + "//components/bookmarks/common/android", + "//components/browser_ui/accessibility/android", + "//components/browser_ui/contacts_picker/android", + "//components/browser_ui/device_lock/android:android", + "//components/browser_ui/modaldialog/android", + "//components/browser_ui/photo_picker/android", + "//components/browser_ui/share/android", + "//components/browser_ui/site_settings/android", + "//components/browser_ui/sms/android", + "//components/browser_ui/util/android", + "//components/browsing_data/content/android", + "//components/browsing_data/content/android:jni_headers", + "//components/cbor", + "//components/cdm/browser", + "//components/commerce/core:commerce_subscription_db_content_proto", + "//components/commerce/core:feature_list", + "//components/commerce/core:heuristics_provider", + "//components/commerce/core:merchant_signal_db_proto", + "//components/commerce/core:proto", + "//components/component_updater/android:native_background_task_update_scheduler", + "//components/content_capture/android", + "//components/content_settings/android", + "//components/crash/android:crash_android", + "//components/device_reauth", + "//components/embedder_support/android:context_menu", + "//components/embedder_support/android:simple_factory_key", + "//components/embedder_support/android:util", + "//components/embedder_support/android:web_contents_delegate", + "//components/endpoint_fetcher:endpoint_fetcher", + "//components/external_intents/android", + "//components/facilitated_payments/android", + "//components/favicon/android", + "//components/favicon/core:database", + "//components/feed:feature_list", + "//components/feed/core/v2:feed_core_v2", + "//components/feed/mojom:mojo_bindings", + "//components/image_fetcher:android", + "//components/image_fetcher/core:metrics", + "//components/infobars/android", + "//components/installedapp/android", + "//components/invalidation/impl:feature_list", + "//components/javascript_dialogs/android:jni_headers", + "//components/language/android:language_bridge", + "//components/location/android:settings", + "//components/messages/android", + "//components/messages/android:feature_flags", + "//components/module_installer/android:native", + "//components/offline_pages/task", + "//components/omnibox/browser", + "//components/page_info/android", + "//components/page_info/core:proto", + "//components/page_load_metrics/browser", + "//components/page_load_metrics/browser", + "//components/paint_preview/browser", + "//components/password_manager/content/browser", + "//components/password_manager/core/browser:password_manager_buildflags", + "//components/password_manager/core/browser/affiliation:affiliation_fetching", + "//components/password_manager/core/browser/form_parsing:form_parsing", + "//components/password_manager/core/browser/leak_detection", + "//components/payments/content", + "//components/payments/content/android", + "//components/payments/content/android:jni_headers", + "//components/permissions/android:native", + "//components/plus_addresses:features", + "//components/power_bookmarks/core", + "//components/power_bookmarks/storage", + "//components/reading_list/features:flags", + "//components/resources:android_resources", + "//components/resources:components_resources", + "//components/safe_browsing/android:referring_app_info", + "//components/safe_browsing/android:safe_browsing_api_handler", + "//components/safe_browsing/android:safe_browsing_api_handler_util", + "//components/safe_browsing/core/browser/password_protection:password_protection_metrics_util", + "//components/search:start_suggest", + "//components/security_state/content/android", + "//components/send_tab_to_self", + "//components/sensitive_content:features", + "//components/sharing_message", + "//components/signin/internal/identity_manager", # cf android/signin/DEPS + "//components/signin/public/android:jni_headers", + "//components/subresource_filter/android", + "//components/supervised_user/core/browser", + "//components/supervised_user/core/browser:fetcher", + "//components/thin_webview/internal", + "//components/tpcd/metadata/browser", + "//components/translate/content/android", + "//components/translate/core/language_detection", + "//components/ukm/android:ukm_recorder", + "//components/ukm/content", + "//components/user_prefs/android:jni_cc", + "//components/visited_url_ranking/public", + "//components/viz/common", + "//components/webapk:proto", + "//components/webapps/browser/android:pwa_restore_bottom_sheet_mediator_jni_headers", + "//components/webauthn/android", + "//content/public/browser", + "//device/fido:cablev2_registration", + "//ipc:param_traits", + "//media/mojo/clients", + "//rlz:rlz_utils", + "//sandbox", + "//sandbox:sandbox_buildflags", + "//services/device/public/cpp:device_feature_list", + "//services/device/public/cpp/geolocation", + "//services/proxy_resolver:lib", + "//third_party/android_opengl/etc1", + "//third_party/blink/public/common", + "//third_party/blink/public/mojom:android_mojo_bindings_blink_headers", + "//third_party/cpu_features:ndk_compat", + "//third_party/crashpad/crashpad/client", + "//third_party/libaddressinput:util", + "//third_party/libphonenumber", + "//ui/accessibility", + "//url", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + # TODO(crbug.com/335257259): Resolve circular deps caused by including + # `IdentityManagerFactory` in facilitated payments. + "//chrome/browser/facilitated_payments", + + # "TODO(crbug.com:365919643): Remove this circular dependency when + # //c/b/android/preferences/autofill/settings_launcher_helper.h" get modularized. + "//chrome/browser/ui/fast_checkout:impl", + ] + + if (safe_browsing_mode == 2) { + sources += [ + "component_updater/real_time_url_checks_allowlist_component_installer.cc", + "component_updater/real_time_url_checks_allowlist_component_installer.h", + ] + deps += [ + "//components/safe_browsing/android:real_time_url_checks_allowlist", + ] + } + + deps -= [ "//components/storage_monitor" ] + + if (dfmify_dev_ui) { + # TODO(huangs): Extracting this to a separate target. + sources += [ + "dev_ui/android/dev_ui_loader_error_page.cc", + "dev_ui/android/dev_ui_loader_error_page.h", + "dev_ui/android/dev_ui_loader_throttle.cc", + "dev_ui/android/dev_ui_loader_throttle.h", + ] + deps += [ "//chrome/android/modules/dev_ui/provider:native" ] + } + } else { + #!is_android + sources += [ + "accessibility/ax_main_node_annotator_controller.cc", + "accessibility/ax_main_node_annotator_controller.h", + "accessibility/ax_main_node_annotator_controller_factory.cc", + "accessibility/ax_main_node_annotator_controller_factory.h", + "accessibility/caption_bubble_context_browser.h", + "accessibility/embedded_a11y_extension_loader.cc", + "accessibility/embedded_a11y_extension_loader.h", + "accessibility/invert_bubble_prefs.cc", + "accessibility/invert_bubble_prefs.h", + "accessibility/live_translate_controller_factory.cc", + "accessibility/live_translate_controller_factory.h", + "accessibility/phrase_segmentation/dependency_parser_model_loader.cc", + "accessibility/phrase_segmentation/dependency_parser_model_loader.h", + "accessibility/phrase_segmentation/dependency_parser_model_loader_factory.cc", + "accessibility/phrase_segmentation/dependency_parser_model_loader_factory.h", + "apps/intent_helper/intent_chip_display_prefs.cc", + "apps/intent_helper/intent_chip_display_prefs.h", + "autocomplete/tab_matcher_desktop.cc", + "autocomplete/tab_matcher_desktop.h", + "autofill_prediction_improvements/chrome_autofill_prediction_improvements_client.cc", + "autofill_prediction_improvements/chrome_autofill_prediction_improvements_client.h", + "background/background_contents.cc", + "background/background_contents.h", + "background/background_contents_service_observer.h", + "badging/badge_manager.cc", + "badging/badge_manager.h", + "badging/badge_manager_delegate.h", + "badging/badge_manager_factory.cc", + "badging/badge_manager_factory.h", + "banners/app_banner_manager_desktop.cc", + "banners/app_banner_manager_desktop.h", + "bookmarks/bookmark_expanded_state_tracker.cc", + "bookmarks/bookmark_expanded_state_tracker.h", + "bookmarks/bookmark_expanded_state_tracker_factory.cc", + "bookmarks/bookmark_expanded_state_tracker_factory.h", + "bookmarks/bookmark_html_writer.cc", + "bookmarks/bookmark_html_writer.h", + "bookmarks/url_and_id.h", + "cart/cart_db.cc", + "cart/cart_db.h", + "cart/cart_discount_fetcher.cc", + "cart/cart_discount_fetcher.h", + "cart/cart_discount_link_fetcher.cc", + "cart/cart_discount_link_fetcher.h", + "cart/cart_discount_metric_collector.cc", + "cart/cart_discount_metric_collector.h", + "cart/cart_handler.cc", + "cart/cart_handler.h", + "cart/cart_metrics_tracker.cc", + "cart/cart_metrics_tracker.h", + "cart/cart_service.cc", + "cart/cart_service.h", + "cart/cart_service_factory.cc", + "cart/cart_service_factory.h", + "cart/discount_url_loader.cc", + "cart/discount_url_loader.h", + "cart/fetch_discount_worker.cc", + "cart/fetch_discount_worker.h", + "certificate_viewer.h", + "chrome_process_singleton.cc", + "chrome_process_singleton.h", + "commerce/coupons/coupon_db.cc", + "commerce/coupons/coupon_db.h", + "commerce/coupons/coupon_service.cc", + "commerce/coupons/coupon_service.h", + "commerce/coupons/coupon_service_factory.cc", + "commerce/coupons/coupon_service_factory.h", + "commerce/coupons/coupon_service_observer.h", + "companion/visual_query/visual_query_suggestions_service_factory.cc", + "companion/visual_query/visual_query_suggestions_service_factory.h", + "component_updater/iwa_key_distribution_component_installer.cc", + "component_updater/iwa_key_distribution_component_installer.h", + "component_updater/soda_component_installer.cc", + "component_updater/soda_component_installer.h", + "component_updater/soda_language_pack_component_installer.cc", + "component_updater/soda_language_pack_component_installer.h", + "component_updater/translate_kit_component_installer.cc", + "component_updater/translate_kit_component_installer.h", + "component_updater/translate_kit_language_pack_component_installer.cc", + "component_updater/translate_kit_language_pack_component_installer.h", + "component_updater/zxcvbn_data_component_installer.cc", + "component_updater/zxcvbn_data_component_installer.h", + "content_settings/generated_cookie_prefs.cc", + "content_settings/generated_cookie_prefs.h", + "content_settings/generated_notification_pref.cc", + "content_settings/generated_notification_pref.h", + "content_settings/generated_permission_prompting_behavior_pref.cc", + "content_settings/generated_permission_prompting_behavior_pref.h", + "data_sharing/desktop/data_sharing_conversion_utils.cc", + "data_sharing/desktop/data_sharing_conversion_utils.h", + "data_sharing/desktop/data_sharing_sdk_delegate_desktop.cc", + "data_sharing/desktop/data_sharing_sdk_delegate_desktop.h", + "data_sharing/desktop/data_sharing_ui_delegate_desktop.cc", + "data_sharing/desktop/data_sharing_ui_delegate_desktop.h", + "device_api/device_attribute_api.cc", + "device_api/device_attribute_api.h", + "device_api/device_service_impl.cc", + "device_api/device_service_impl.h", + "device_api/managed_configuration_api.cc", + "device_api/managed_configuration_api.h", + "device_api/managed_configuration_api_factory.cc", + "device_api/managed_configuration_api_factory.h", + "device_api/managed_configuration_service.cc", + "device_api/managed_configuration_service.h", + "device_api/managed_configuration_store.cc", + "device_api/managed_configuration_store.h", + "device_identity/device_identity_provider.cc", + "device_identity/device_identity_provider.h", + "device_identity/device_oauth2_token_service.cc", + "device_identity/device_oauth2_token_service.h", + "device_identity/device_oauth2_token_service_factory.cc", + "device_identity/device_oauth2_token_service_factory.h", + "device_identity/device_oauth2_token_store.h", + "device_notifications/device_connection_tracker.cc", + "device_notifications/device_connection_tracker.h", + "device_notifications/device_system_tray_icon.cc", + "device_notifications/device_system_tray_icon.h", + "device_notifications/device_system_tray_icon_renderer.h", + "diagnostics/diagnostics_controller.cc", + "diagnostics/diagnostics_controller.h", + "diagnostics/diagnostics_model.cc", + "diagnostics/diagnostics_model.h", + "diagnostics/diagnostics_test.cc", + "diagnostics/diagnostics_test.h", + "diagnostics/diagnostics_writer.cc", + "diagnostics/diagnostics_writer.h", + "diagnostics/recon_diagnostics.cc", + "diagnostics/recon_diagnostics.h", + "diagnostics/sqlite_diagnostics.cc", + "diagnostics/sqlite_diagnostics.h", + "digital_credentials/digital_identity_provider_desktop.cc", + "digital_credentials/digital_identity_provider_desktop.h", + "direct_sockets/chrome_direct_sockets_delegate.cc", + "direct_sockets/chrome_direct_sockets_delegate.h", + "download/bubble/download_bubble_accessible_alerts_map.cc", + "download/bubble/download_bubble_accessible_alerts_map.h", + "download/bubble/download_bubble_display_info.cc", + "download/bubble/download_bubble_display_info.h", + "download/bubble/download_bubble_prefs.cc", + "download/bubble/download_bubble_prefs.h", + "download/bubble/download_bubble_ui_controller.cc", + "download/bubble/download_bubble_ui_controller.h", + "download/bubble/download_bubble_update_service.cc", + "download/bubble/download_bubble_update_service.h", + "download/bubble/download_bubble_update_service_factory.cc", + "download/bubble/download_bubble_update_service_factory.h", + "download/bubble/download_bubble_utils.cc", + "download/bubble/download_bubble_utils.h", + "download/bubble/download_display_controller.cc", + "download/bubble/download_display_controller.h", + "download/default_download_dir_policy_handler.cc", + "download/default_download_dir_policy_handler.h", + "download/download_auto_open_policy_handler.cc", + "download/download_auto_open_policy_handler.h", + "download/download_commands.cc", + "download/download_commands.h", + "download/download_crx_util.cc", + "download/download_crx_util.h", + "download/download_danger_prompt.cc", + "download/download_danger_prompt.h", + "download/download_dir_policy_handler.cc", + "download/download_dir_policy_handler.h", + "download/download_dir_util.cc", + "download/download_dir_util.h", + "download/download_item_web_app_data.cc", + "download/download_item_web_app_data.h", + "download/download_open_prompt.cc", + "download/download_open_prompt.h", + "download/download_shelf.cc", + "download/download_shelf.h", + "download/download_shelf_context_menu.cc", + "download/download_shelf_context_menu.h", + "download/download_shelf_controller.cc", + "download/download_shelf_controller.h", + "download/download_warning_desktop_hats_utils.cc", + "download/download_warning_desktop_hats_utils.h", + "download/offline_item_model.cc", + "download/offline_item_model.h", + "download/offline_item_model_data.h", + "download/offline_item_model_manager.cc", + "download/offline_item_model_manager.h", + "download/offline_item_model_manager_factory.cc", + "download/offline_item_model_manager_factory.h", + "enterprise/data_protection/data_protection_navigation_controller.cc", + "enterprise/data_protection/data_protection_navigation_controller.h", + "enterprise/data_protection/data_protection_navigation_observer.cc", + "enterprise/data_protection/data_protection_navigation_observer.h", + "enterprise/data_protection/data_protection_page_user_data.cc", + "enterprise/data_protection/data_protection_page_user_data.h", + "enterprise/reporting/browser_report_generator_desktop.cc", + "enterprise/reporting/browser_report_generator_desktop.h", + "enterprise/reporting/extension_info.cc", + "enterprise/reporting/extension_info.h", + "enterprise/reporting/extension_request/extension_request_notification.cc", + "enterprise/reporting/extension_request/extension_request_notification.h", + "enterprise/reporting/extension_request/extension_request_observer.cc", + "enterprise/reporting/extension_request/extension_request_observer.h", + "enterprise/reporting/extension_request/extension_request_observer_factory.cc", + "enterprise/reporting/extension_request/extension_request_observer_factory.h", + "enterprise/reporting/extension_request/extension_request_policy_handler.cc", + "enterprise/reporting/extension_request/extension_request_policy_handler.h", + "enterprise/reporting/extension_request/extension_request_report_generator.cc", + "enterprise/reporting/extension_request/extension_request_report_generator.h", + "enterprise/reporting/profile_report_generator_desktop.cc", + "enterprise/reporting/profile_report_generator_desktop.h", + "enterprise/reporting/real_time_report_controller_desktop.cc", + "enterprise/reporting/real_time_report_controller_desktop.h", + "enterprise/reporting/real_time_report_generator_desktop.cc", + "enterprise/reporting/real_time_report_generator_desktop.h", + "enterprise/reporting/report_generator_desktop.cc", + "enterprise/reporting/report_generator_desktop.h", + "enterprise/reporting/report_scheduler_desktop.cc", + "enterprise/reporting/report_scheduler_desktop.h", + "enterprise/reporting/reporting_delegate_factory_desktop.cc", + "enterprise/reporting/reporting_delegate_factory_desktop.h", + "enterprise/signals/client_certificate_fetcher.cc", + "enterprise/signals/client_certificate_fetcher.h", + "enterprise/signals/context_info_fetcher.cc", + "enterprise/signals/context_info_fetcher.h", + "enterprise/signals/device_info_fetcher.cc", + "enterprise/signals/device_info_fetcher.h", + "enterprise/signals/signals_common.h", + "first_run/first_run.cc", + "first_run/first_run.h", + "first_run/first_run_dialog.h", + "first_run/first_run_internal.h", + "font_family_cache.cc", + "font_family_cache.h", + "headless/chrome_browser_main_extra_parts_headless.cc", + "headless/chrome_browser_main_extra_parts_headless.h", + "hid/chrome_hid_delegate.cc", + "hid/chrome_hid_delegate.h", + "hid/hid_chooser_context.cc", + "hid/hid_chooser_context.h", + "hid/hid_chooser_context_factory.cc", + "hid/hid_chooser_context_factory.h", + "hid/hid_connection_tracker.cc", + "hid/hid_connection_tracker.h", + "hid/hid_connection_tracker_factory.cc", + "hid/hid_connection_tracker_factory.h", + "hid/hid_policy_allowed_devices.cc", + "hid/hid_policy_allowed_devices.h", + "hid/hid_policy_allowed_devices_factory.cc", + "hid/hid_policy_allowed_devices_factory.h", + "hid/hid_system_tray_icon.cc", + "hid/hid_system_tray_icon.h", + "hid/web_hid_histograms.cc", + "hid/web_hid_histograms.h", + "hid/web_view_chooser_context.cc", + "hid/web_view_chooser_context.h", + "importer/external_process_importer_client.cc", + "importer/external_process_importer_client.h", + "importer/external_process_importer_host.cc", + "importer/external_process_importer_host.h", + "importer/firefox_profile_lock.cc", + "importer/firefox_profile_lock.h", + "importer/importer_list.cc", + "importer/importer_list.h", + "importer/importer_lock_dialog.h", + "importer/importer_progress_observer.h", + "importer/importer_uma.cc", + "importer/importer_uma.h", + "importer/in_process_importer_bridge.cc", + "importer/in_process_importer_bridge.h", + "importer/profile_writer.cc", + "importer/profile_writer.h", + "intranet_redirect_detector.cc", + "intranet_redirect_detector.h", + "lifetime/application_lifetime_desktop.cc", + "lifetime/application_lifetime_desktop.h", + "lifetime/browser_close_manager.cc", + "lifetime/browser_close_manager.h", + "media/capture_access_handler_base.cc", + "media/capture_access_handler_base.h", + "media/cast_mirroring_service_host.cc", + "media/cast_mirroring_service_host.h", + "media/cast_mirroring_service_host_factory.cc", + "media/cast_mirroring_service_host_factory.h", + "media/mirroring_service_host.cc", + "media/mirroring_service_host.h", + "media/offscreen_tab.cc", + "media/offscreen_tab.h", + "media/unified_autoplay_config.cc", + "media/unified_autoplay_config.h", + "media_galleries/fileapi/av_scanning_file_validator.cc", + "media_galleries/fileapi/av_scanning_file_validator.h", + "media_galleries/fileapi/media_file_system_backend.cc", + "media_galleries/fileapi/media_file_system_backend.h", + "media_galleries/fileapi/media_file_validator_factory.cc", + "media_galleries/fileapi/media_file_validator_factory.h", + "media_galleries/fileapi/media_path_filter.cc", + "media_galleries/fileapi/media_path_filter.h", + "media_galleries/fileapi/native_media_file_util.cc", + "media_galleries/fileapi/native_media_file_util.h", + "media_galleries/fileapi/readahead_file_stream_reader.cc", + "media_galleries/fileapi/readahead_file_stream_reader.h", + "media_galleries/fileapi/supported_audio_video_checker.cc", + "media_galleries/fileapi/supported_audio_video_checker.h", + "media_galleries/fileapi/supported_image_type_validator.cc", + "media_galleries/fileapi/supported_image_type_validator.h", + "media_galleries/gallery_watch_manager.cc", + "media_galleries/gallery_watch_manager.h", + "media_galleries/gallery_watch_manager_observer.h", + "media_galleries/media_file_system_registry.cc", + "media_galleries/media_file_system_registry.h", + "media_galleries/media_galleries_dialog_controller.cc", + "media_galleries/media_galleries_dialog_controller.h", + "media_galleries/media_galleries_permission_controller.cc", + "media_galleries/media_galleries_permission_controller.h", + "media_galleries/media_galleries_preferences.cc", + "media_galleries/media_galleries_preferences.h", + "media_galleries/media_galleries_preferences_factory.cc", + "media_galleries/media_galleries_preferences_factory.h", + "media_galleries/media_gallery_context_menu.cc", + "media_galleries/media_gallery_context_menu.h", + "memory/oom_memory_details.cc", + "memory/oom_memory_details.h", + "metrics/browser_activity_watcher.cc", + "metrics/browser_activity_watcher.h", + "metrics/desktop_platform_features_metrics_provider.cc", + "metrics/desktop_platform_features_metrics_provider.h", + "metrics/desktop_session_duration/audible_contents_tracker.cc", + "metrics/desktop_session_duration/audible_contents_tracker.h", + "metrics/desktop_session_duration/chrome_visibility_observer.cc", + "metrics/desktop_session_duration/chrome_visibility_observer.h", + "metrics/desktop_session_duration/desktop_profile_session_durations_service.cc", + "metrics/desktop_session_duration/desktop_profile_session_durations_service.h", + "metrics/desktop_session_duration/desktop_profile_session_durations_service_factory.cc", + "metrics/desktop_session_duration/desktop_profile_session_durations_service_factory.h", + "metrics/desktop_session_duration/desktop_session_duration_observer.cc", + "metrics/desktop_session_duration/desktop_session_duration_observer.h", + "metrics/desktop_session_duration/desktop_session_duration_tracker.cc", + "metrics/desktop_session_duration/desktop_session_duration_tracker.h", + "metrics/desktop_session_duration/desktop_session_metrics_provider.cc", + "metrics/desktop_session_duration/desktop_session_metrics_provider.h", + "metrics/desktop_session_duration/touch_mode_stats_tracker.cc", + "metrics/desktop_session_duration/touch_mode_stats_tracker.h", + "metrics/first_web_contents_profiler.cc", + "metrics/first_web_contents_profiler.h", + "metrics/first_web_contents_profiler_base.cc", + "metrics/first_web_contents_profiler_base.h", + "metrics/incognito_observer_desktop.cc", + "metrics/power/battery_discharge_reporter.cc", + "metrics/power/battery_discharge_reporter.h", + "metrics/power/power_metrics.cc", + "metrics/power/power_metrics.h", + "metrics/power/power_metrics_constants.cc", + "metrics/power/power_metrics_constants.h", + "metrics/power/power_metrics_reporter.cc", + "metrics/power/power_metrics_reporter.h", + "metrics/power/process_metrics_recorder_util.cc", + "metrics/power/process_metrics_recorder_util.h", + "metrics/power/process_monitor.cc", + "metrics/power/process_monitor.h", + "metrics/tab_stats/tab_stats_data_store.cc", + "metrics/tab_stats/tab_stats_data_store.h", + "metrics/tab_stats/tab_stats_observer.h", + "metrics/tab_stats/tab_stats_tracker.cc", + "metrics/tab_stats/tab_stats_tracker.h", + "metrics/usage_scenario/chrome_responsiveness_calculator_delegate.cc", + "metrics/usage_scenario/chrome_responsiveness_calculator_delegate.h", + "metrics/usage_scenario/system_event_provider.cc", + "metrics/usage_scenario/system_event_provider.h", + "metrics/usage_scenario/tab_usage_scenario_tracker.cc", + "metrics/usage_scenario/tab_usage_scenario_tracker.h", + "metrics/usage_scenario/usage_scenario.cc", + "metrics/usage_scenario/usage_scenario.h", + "metrics/usage_scenario/usage_scenario_data_store.cc", + "metrics/usage_scenario/usage_scenario_data_store.h", + "metrics/usage_scenario/usage_scenario_tracker.cc", + "metrics/usage_scenario/usage_scenario_tracker.h", + "metrics/usage_scenario/video_capture_event_provider.cc", + "metrics/usage_scenario/video_capture_event_provider.h", + "new_tab_page/chrome_colors/chrome_colors_factory.cc", + "new_tab_page/chrome_colors/chrome_colors_factory.h", + "new_tab_page/chrome_colors/chrome_colors_service.cc", + "new_tab_page/chrome_colors/chrome_colors_service.h", + "new_tab_page/feature_promo_helper/new_tab_page_feature_promo_helper.cc", + "new_tab_page/feature_promo_helper/new_tab_page_feature_promo_helper.h", + "new_tab_page/modules/file_suggestion/drive_service.cc", + "new_tab_page/modules/file_suggestion/drive_service.h", + "new_tab_page/modules/file_suggestion/drive_service_factory.cc", + "new_tab_page/modules/file_suggestion/drive_service_factory.h", + "new_tab_page/modules/file_suggestion/file_suggestion_handler.cc", + "new_tab_page/modules/file_suggestion/file_suggestion_handler.h", + "new_tab_page/modules/modules_switches.cc", + "new_tab_page/modules/modules_switches.h", + "new_tab_page/modules/modules_util.h", + "new_tab_page/modules/new_tab_page_modules.cc", + "new_tab_page/modules/new_tab_page_modules.h", + "new_tab_page/modules/safe_browsing/safe_browsing_handler.cc", + "new_tab_page/modules/safe_browsing/safe_browsing_handler.h", + "new_tab_page/modules/safe_browsing/safe_browsing_prefs.cc", + "new_tab_page/modules/safe_browsing/safe_browsing_prefs.h", + "new_tab_page/modules/v2/calendar/google_calendar_page_handler.cc", + "new_tab_page/modules/v2/calendar/google_calendar_page_handler.h", + "new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler.cc", + "new_tab_page/modules/v2/most_relevant_tab_resumption/most_relevant_tab_resumption_page_handler.h", + "new_tab_page/new_tab_page_util.cc", + "new_tab_page/new_tab_page_util.h", + "new_tab_page/one_google_bar/one_google_bar_data.cc", + "new_tab_page/one_google_bar/one_google_bar_data.h", + "new_tab_page/one_google_bar/one_google_bar_loader.h", + "new_tab_page/one_google_bar/one_google_bar_loader_impl.cc", + "new_tab_page/one_google_bar/one_google_bar_loader_impl.h", + "new_tab_page/one_google_bar/one_google_bar_service.cc", + "new_tab_page/one_google_bar/one_google_bar_service.h", + "new_tab_page/one_google_bar/one_google_bar_service_factory.cc", + "new_tab_page/one_google_bar/one_google_bar_service_factory.h", + "new_tab_page/one_google_bar/one_google_bar_service_observer.h", + "new_tab_page/promos/promo_data.cc", + "new_tab_page/promos/promo_data.h", + "new_tab_page/promos/promo_service.cc", + "new_tab_page/promos/promo_service.h", + "new_tab_page/promos/promo_service_factory.cc", + "new_tab_page/promos/promo_service_factory.h", + "new_tab_page/promos/promo_service_observer.h", + "notifications/muted_notification_handler.cc", + "notifications/muted_notification_handler.h", + "notifications/profile_notification.cc", + "notifications/profile_notification.h", + "notifications/screen_capture_notification_blocker.cc", + "notifications/screen_capture_notification_blocker.h", + "obsolete_system/obsolete_system.h", + "on_device_translation/service_controller.cc", + "on_device_translation/service_controller.h", + "on_device_translation/translator.cc", + "on_device_translation/translator.h", + "page_info/about_this_site_side_panel_throttle.cc", + "page_info/about_this_site_side_panel_throttle.h", + "page_load_metrics/observers/non_tab_webui_page_load_metrics_observer.cc", + "page_load_metrics/observers/non_tab_webui_page_load_metrics_observer.h", + "page_load_metrics/observers/side_search_page_load_metrics_observer.cc", + "page_load_metrics/observers/side_search_page_load_metrics_observer.h", + "password_manager/generated_password_leak_detection_pref.cc", + "password_manager/generated_password_leak_detection_pref.h", + "password_manager/web_app_profile_switcher.cc", + "password_manager/web_app_profile_switcher.h", + "payments/chrome_payment_request_delegate.cc", + "payments/chrome_payment_request_delegate.h", + "payments/payment_request_display_manager_factory.cc", + "payments/payment_request_display_manager_factory.h", + "payments/payment_request_factory.cc", + "payments/payment_request_factory.h", + "payments/webapps/twa_package_helper.cc", + "payments/webapps/twa_package_helper.h", + "performance_manager/mechanisms/page_discarder.cc", + "performance_manager/mechanisms/page_discarder.h", + "performance_manager/mechanisms/page_loader.cc", + "performance_manager/mechanisms/page_loader.h", + "performance_manager/metrics/metrics_provider_desktop.cc", + "performance_manager/metrics/metrics_provider_desktop.h", + "performance_manager/persistence/site_data/site_data_cache_facade.cc", + "performance_manager/persistence/site_data/site_data_cache_facade.h", + "performance_manager/persistence/site_data/site_data_cache_facade_factory.cc", + "performance_manager/persistence/site_data/site_data_cache_facade_factory.h", + "performance_manager/policies/background_tab_loading_policy.cc", + "performance_manager/policies/background_tab_loading_policy.h", + "performance_manager/policies/background_tab_loading_policy_helpers.cc", + "performance_manager/policies/background_tab_loading_policy_helpers.h", + "performance_manager/policies/memory_saver_mode_policy.cc", + "performance_manager/policies/memory_saver_mode_policy.h", + "performance_manager/policies/page_discarding_helper.cc", + "performance_manager/policies/page_discarding_helper.h", + "performance_manager/policies/urgent_page_discarding_policy.cc", + "performance_manager/policies/urgent_page_discarding_policy.h", + "performance_manager/public/user_tuning/battery_saver_mode_manager.h", + "performance_manager/public/user_tuning/performance_detection_manager.h", + "performance_manager/public/user_tuning/user_performance_tuning_manager.h", + "performance_manager/user_tuning/battery_saver_mode_manager.cc", + "performance_manager/user_tuning/cpu_health_tracker.cc", + "performance_manager/user_tuning/cpu_health_tracker.h", + "performance_manager/user_tuning/performance_detection_manager.cc", + "performance_manager/user_tuning/profile_discard_opt_out_list_helper.cc", + "performance_manager/user_tuning/profile_discard_opt_out_list_helper.h", + "performance_manager/user_tuning/user_performance_tuning_manager.cc", + "performance_manager/user_tuning/user_performance_tuning_notifier.cc", + "performance_manager/user_tuning/user_performance_tuning_notifier.h", + "policy/browsing_history_policy_handler.cc", + "policy/browsing_history_policy_handler.h", + "policy/developer_tools_policy_handler.cc", + "policy/developer_tools_policy_handler.h", + "policy/device_account_initializer.cc", + "policy/device_account_initializer.h", + "policy/extension_developer_mode_policy_handler.cc", + "policy/extension_developer_mode_policy_handler.h", + "policy/managed_account_policy_handler.cc", + "policy/managed_account_policy_handler.h", + "policy/webhid_device_policy_handler.cc", + "policy/webhid_device_policy_handler.h", + "preloading/prefetch/zero_suggest_prefetch/zero_suggest_prefetch_tab_helper.cc", + "preloading/prefetch/zero_suggest_prefetch/zero_suggest_prefetch_tab_helper.h", + "preloading/preview/preview_manager.cc", + "preloading/preview/preview_manager.h", + "preloading/preview/preview_navigation_throttle.cc", + "preloading/preview/preview_navigation_throttle.h", + "preloading/preview/preview_tab.cc", + "preloading/preview/preview_tab.h", + "preloading/preview/preview_zoom_controller.cc", + "preloading/preview/preview_zoom_controller.h", + "privacy_sandbox/privacy_sandbox_survey_desktop_controller.cc", + "privacy_sandbox/privacy_sandbox_survey_desktop_controller.h", + "privacy_sandbox/privacy_sandbox_survey_desktop_controller_factory.cc", + "privacy_sandbox/privacy_sandbox_survey_desktop_controller_factory.h", + "privacy_sandbox/privacy_sandbox_tab_observer.cc", + "privacy_sandbox/privacy_sandbox_tab_observer.h", + "private_network_access/chrome_private_network_device_chooser_desktop.cc", + "private_network_access/chrome_private_network_device_chooser_desktop.h", + "process_singleton_startup_lock.cc", + "process_singleton_startup_lock.h", + "profile_resetter/brandcode_config_fetcher.cc", + "profile_resetter/brandcode_config_fetcher.h", + "profile_resetter/brandcoded_default_settings.cc", + "profile_resetter/brandcoded_default_settings.h", + "profile_resetter/profile_resetter.cc", + "profile_resetter/profile_resetter.h", + "profile_resetter/reset_report_uploader.cc", + "profile_resetter/reset_report_uploader.h", + "profile_resetter/reset_report_uploader_factory.cc", + "profile_resetter/reset_report_uploader_factory.h", + "profile_resetter/resettable_settings_snapshot.cc", + "profile_resetter/resettable_settings_snapshot.h", + "profile_resetter/triggered_profile_resetter.cc", + "profile_resetter/triggered_profile_resetter.h", + "profile_resetter/triggered_profile_resetter_factory.cc", + "profile_resetter/triggered_profile_resetter_factory.h", + "profiles/delete_profile_helper.cc", + "profiles/delete_profile_helper.h", + "profiles/guest_mode_policy_handler.cc", + "profiles/guest_mode_policy_handler.h", + "profiles/guest_profile_creation_logger.cc", + "profiles/guest_profile_creation_logger.h", + "profiles/profile_shortcut_manager.cc", + "profiles/profile_shortcut_manager.h", + "profiles/profile_window.cc", + "profiles/profile_window.h", + "renderer_context_menu/accessibility_labels_bubble_model.cc", + "renderer_context_menu/accessibility_labels_bubble_model.h", + "renderer_context_menu/accessibility_labels_menu_observer.cc", + "renderer_context_menu/accessibility_labels_menu_observer.h", + "renderer_context_menu/link_to_text_menu_observer.cc", + "renderer_context_menu/link_to_text_menu_observer.h", + "renderer_context_menu/render_view_context_menu.cc", + "renderer_context_menu/render_view_context_menu.h", + "renderer_context_menu/spelling_bubble_model.cc", + "renderer_context_menu/spelling_bubble_model.h", + "renderer_context_menu/spelling_menu_observer.cc", + "renderer_context_menu/spelling_menu_observer.h", + "repost_form_warning_controller.cc", + "repost_form_warning_controller.h", + "resource_coordinator/decision_details.cc", + "resource_coordinator/decision_details.h", + "resource_coordinator/discard_metrics_lifecycle_unit_observer.cc", + "resource_coordinator/discard_metrics_lifecycle_unit_observer.h", + "resource_coordinator/lifecycle_unit.cc", + "resource_coordinator/lifecycle_unit.h", + "resource_coordinator/lifecycle_unit_base.cc", + "resource_coordinator/lifecycle_unit_base.h", + "resource_coordinator/lifecycle_unit_observer.cc", + "resource_coordinator/lifecycle_unit_observer.h", + "resource_coordinator/lifecycle_unit_source.h", + "resource_coordinator/lifecycle_unit_source_base.cc", + "resource_coordinator/lifecycle_unit_source_base.h", + "resource_coordinator/lifecycle_unit_source_observer.h", + "resource_coordinator/tab_lifecycle_unit.cc", + "resource_coordinator/tab_lifecycle_unit.h", + "resource_coordinator/tab_lifecycle_unit_external.cc", + "resource_coordinator/tab_lifecycle_unit_external.h", + "resource_coordinator/tab_lifecycle_unit_source.cc", + "resource_coordinator/tab_lifecycle_unit_source.h", + "resource_coordinator/tab_manager.cc", + "resource_coordinator/tab_manager.h", + "resource_coordinator/tab_manager_resource_coordinator_signal_observer.cc", + "resource_coordinator/tab_manager_resource_coordinator_signal_observer.h", + "resource_coordinator/usage_clock.cc", + "resource_coordinator/usage_clock.h", + "resources_integrity.cc", + "resources_integrity.h", + "safe_browsing/generated_safe_browsing_pref.cc", + "safe_browsing/generated_safe_browsing_pref.h", + "send_tab_to_self/desktop_notification_handler.cc", + "send_tab_to_self/desktop_notification_handler.h", + "serial/chrome_serial_delegate.cc", + "serial/chrome_serial_delegate.h", + "serial/serial_blocklist.cc", + "serial/serial_blocklist.h", + "serial/serial_chooser_context.cc", + "serial/serial_chooser_context.h", + "serial/serial_chooser_context_factory.cc", + "serial/serial_chooser_context_factory.h", + "serial/serial_chooser_histograms.h", + "serial/serial_policy_allowed_ports.cc", + "serial/serial_policy_allowed_ports.h", + "sessions/restore_on_startup_policy_handler.cc", + "sessions/restore_on_startup_policy_handler.h", + "share/share_metrics.cc", + "share/share_metrics.h", + "sharing/click_to_call/click_to_call_context_menu_observer.cc", + "sharing/click_to_call/click_to_call_context_menu_observer.h", + "sharing/click_to_call/click_to_call_metrics.cc", + "sharing/click_to_call/click_to_call_metrics.h", + "sharing/click_to_call/click_to_call_ui_controller.cc", + "sharing/click_to_call/click_to_call_ui_controller.h", + "sharing/shared_clipboard/remote_copy_message_handler.cc", + "sharing/shared_clipboard/remote_copy_message_handler.h", + "sharing/shared_clipboard/shared_clipboard_message_handler_desktop.cc", + "sharing/shared_clipboard/shared_clipboard_message_handler_desktop.h", + "sharing/sharing_notification_handler.cc", + "sharing/sharing_notification_handler.h", + "sharing/sharing_ui_controller.cc", + "sharing/sharing_ui_controller.h", + "sharing/sms/sms_remote_fetcher_ui_controller.cc", + "sharing/sms/sms_remote_fetcher_ui_controller.h", + "sharing_hub/sharing_hub_features.cc", + "sharing_hub/sharing_hub_features.h", + "sharing_hub/sharing_hub_model.cc", + "sharing_hub/sharing_hub_model.h", + "sharing_hub/sharing_hub_service.cc", + "sharing_hub/sharing_hub_service.h", + "sharing_hub/sharing_hub_service_factory.cc", + "sharing_hub/sharing_hub_service_factory.h", + "signin/signin_promo.cc", + "signin/signin_promo.h", + "signin/signin_ui_delegate.cc", + "signin/signin_ui_delegate.h", + "signin/signin_ui_util.cc", + "signin/signin_ui_util.h", + "speech/chrome_speech_recognition_service.cc", + "speech/chrome_speech_recognition_service.h", + "speech/speech_recognition_client_browser_interface.cc", + "speech/speech_recognition_client_browser_interface.h", + "speech/speech_recognition_client_browser_interface_factory.cc", + "speech/speech_recognition_client_browser_interface_factory.h", + "speech/speech_recognition_service.h", + "speech/speech_recognition_service_factory.cc", + "speech/speech_recognition_service_factory.h", + "ssl/generated_https_first_mode_pref.cc", + "ssl/generated_https_first_mode_pref.h", + "ssl/ssl_client_auth_observer.cc", + "ssl/ssl_client_auth_observer.h", + "status_icons/desktop_notification_balloon.cc", + "status_icons/desktop_notification_balloon.h", + "storage/storage_notification_service_factory.cc", + "storage/storage_notification_service_factory.h", + "storage/storage_notification_service_impl.cc", + "storage/storage_notification_service_impl.h", + "supervised_user/desktop/supervised_user_service_platform_delegate.cc", + "supervised_user/desktop/supervised_user_service_platform_delegate.h", + "supervised_user/supervised_user_verification_controller_client.cc", + "supervised_user/supervised_user_verification_controller_client.h", + "support_tool/data_collector.h", + "support_tool/data_collector_utils.cc", + "support_tool/data_collector_utils.h", + "support_tool/policy_data_collector.cc", + "support_tool/policy_data_collector.h", + "support_tool/screenshot_data_collector.cc", + "support_tool/screenshot_data_collector.h", + "support_tool/signin_data_collector.cc", + "support_tool/signin_data_collector.h", + "support_tool/support_packet_metadata.cc", + "support_tool/support_packet_metadata.h", + "support_tool/support_tool_handler.cc", + "support_tool/support_tool_handler.h", + "support_tool/support_tool_util.cc", + "support_tool/support_tool_util.h", + "support_tool/system_log_source_data_collector_adaptor.cc", + "support_tool/system_log_source_data_collector_adaptor.h", + "tab_contents/form_interaction_tab_helper.cc", + "tab_contents/form_interaction_tab_helper.h", + "upgrade_detector/build_state.cc", + "upgrade_detector/build_state.h", + "upgrade_detector/build_state_observer.h", + "upgrade_detector/upgrade_detector.cc", + "upgrade_detector/upgrade_detector.h", + "upgrade_detector/upgrade_observer.h", + "usb/usb_connection_tracker.cc", + "usb/usb_connection_tracker.h", + "usb/usb_connection_tracker_factory.cc", + "usb/usb_connection_tracker_factory.h", + "usb/usb_system_tray_icon.cc", + "usb/usb_system_tray_icon.h", + "usb/web_usb_chooser_desktop.cc", + "usb/web_usb_chooser_desktop.h", + "usb/web_usb_detector.cc", + "usb/web_usb_detector.h", + "user_education/browser_feature_promo_storage_service.cc", + "user_education/browser_feature_promo_storage_service.h", + "user_education/browser_tutorial_service.cc", + "user_education/browser_tutorial_service.h", + "user_education/recent_session_observer.cc", + "user_education/recent_session_observer.h", + "user_education/recent_session_tracker.cc", + "user_education/recent_session_tracker.h", + "user_education/tutorial_identifiers.h", + "user_education/user_education_configuration_provider.cc", + "user_education/user_education_configuration_provider.h", + "user_education/user_education_service.cc", + "user_education/user_education_service.h", + "user_education/user_education_service_factory.cc", + "user_education/user_education_service_factory.h", + "visited_url_ranking/desktop_tab_model_url_visit_data_fetcher.cc", + "visited_url_ranking/desktop_tab_model_url_visit_data_fetcher.h", + "webapps/webapps_client_desktop.cc", + "webapps/webapps_client_desktop.h", + "webauthn/authenticator_list_observer.h", + "webauthn/authenticator_reference.cc", + "webauthn/authenticator_reference.h", + "webauthn/authenticator_request_dialog_controller.cc", + "webauthn/authenticator_request_dialog_controller.h", + "webauthn/authenticator_request_dialog_model.cc", + "webauthn/authenticator_request_dialog_model.h", + "webauthn/authenticator_request_scheduler.cc", + "webauthn/authenticator_request_scheduler.h", + "webauthn/authenticator_transport.h", + "webauthn/cablev2_devices.cc", + "webauthn/cablev2_devices.h", + "webauthn/change_pin_controller.cc", + "webauthn/change_pin_controller.h", + "webauthn/change_pin_controller_impl.cc", + "webauthn/change_pin_controller_impl.h", + "webauthn/chrome_authenticator_request_delegate.cc", + "webauthn/chrome_authenticator_request_delegate.h", + "webauthn/enclave_manager.cc", + "webauthn/enclave_manager.h", + "webauthn/enclave_manager_factory.cc", + "webauthn/enclave_manager_factory.h", + "webauthn/enclave_manager_interface.cc", + "webauthn/enclave_manager_interface.h", + "webauthn/gpm_enclave_controller.cc", + "webauthn/gpm_enclave_controller.h", + "webauthn/gpm_user_verification_policy.cc", + "webauthn/gpm_user_verification_policy.h", + "webauthn/local_credential_management.cc", + "webauthn/local_credential_management.h", + "webauthn/observable_authenticator_list.cc", + "webauthn/observable_authenticator_list.h", + "webauthn/passkey_model_factory.cc", + "webauthn/passkey_model_factory.h", + "webauthn/unexportable_key_utils.cc", + "webauthn/unexportable_key_utils.h", + "webauthn/webauthn_switches.cc", + "webauthn/webauthn_switches.h", + ] + + #!is_android + deps += [ + "//chrome/app:command_ids", + "//chrome/app/theme:chrome_unscaled_resources_grit", + "//chrome/app/vector_icons", + "//chrome/browser/apps/app_service", + "//chrome/browser/apps/link_capturing", + "//chrome/browser/apps/link_capturing:features", + "//chrome/browser/companion/core", + "//chrome/browser/companion/visual_query", + "//chrome/browser/enterprise/signals:utils", + "//chrome/browser/feedback:feedback_enum", + "//chrome/browser/icon_transcoder", + "//chrome/browser/image_editor:image_editor_component_util", + "//chrome/browser/lens/region_search", + "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", + "//chrome/browser/new_tab_page/chrome_colors", + "//chrome/browser/on_device_translation:constants", + "//chrome/browser/on_device_translation:language_pack_util", + "//chrome/browser/on_device_translation:prefs", + "//chrome/browser/policy:path_parser", + "//chrome/browser/resources:component_extension_resources", + "//chrome/browser/screen_ai:prefs", + "//chrome/browser/screen_ai:screen_ai_install_state", + "//chrome/browser/screen_ai:screen_ai_service_router_factory", + "//chrome/browser/screen_ai/public:optical_character_recognizer", + "//chrome/browser/search/background", + "//chrome/browser/smart_card", + "//chrome/browser/task_manager", + "//chrome/browser/task_manager:impl", + "//chrome/browser/themes", + "//chrome/browser/ui:browser_list", + "//chrome/browser/ui:browser_list_impl", + "//chrome/browser/ui/actions:actions_headers", + "//chrome/browser/ui/apps", + "//chrome/browser/ui/apps:impl", + "//chrome/browser/ui/browser_window", + "//chrome/browser/ui/color:color_headers", + "//chrome/browser/ui/commerce", + "//chrome/browser/ui/commerce:impl", + "//chrome/browser/ui/content_settings:impl", + "//chrome/browser/ui/exclusive_access", + "//chrome/browser/ui/lens", + "//chrome/browser/ui/page_action:icon_type", + "//chrome/browser/ui/signin", + "//chrome/browser/ui/signin:impl", + "//chrome/browser/ui/tabs:tabs", + "//chrome/browser/ui/toasts", + "//chrome/browser/ui/toasts/api:toasts", + "//chrome/browser/ui/views/side_panel", + "//chrome/browser/ui/views/toolbar", + "//chrome/browser/ui/webui/cr_components/theme_color_picker", + "//chrome/browser/ui/webui/privacy_sandbox/related_website_sets:mojo_bindings", + "//chrome/browser/ui/webui/searchbox", + "//chrome/browser/ui/webui/signin", + "//chrome/browser/ui/webui/signin:impl", + "//chrome/browser/ui/webui/signin/batch_upload:mojo_bindings", + "//chrome/browser/ui/webui/top_chrome", + "//chrome/browser/ui/webui/top_chrome:impl", + "//chrome/browser/web_applications", + "//chrome/browser/web_applications/app_service", + "//chrome/common/importer:interfaces", + "//chrome/common/themes:autogenerated_theme_util", + "//chrome/services/media_gallery_util/public/cpp", + "//components/access_code_cast/common:metrics", + "//components/app_constants", + "//components/autofill/core/browser", + "//components/autofill/core/common", + "//components/autofill_prediction_improvements/core/browser", + "//components/cbor", + "//components/commerce/core:cart_db_content_proto", + "//components/commerce/core:discounts_db_content_proto", + "//components/commerce/core:proto", + "//components/commerce/core:public", + "//components/commerce/core/mojom:mojo_bindings", + "//components/constrained_window", + "//components/endpoint_fetcher:endpoint_fetcher", + "//components/enterprise/buildflags", + "//components/feedback", + "//components/feedback/content:factory", + "//components/feedback/redaction_tool", + "//components/headless/clipboard", + "//components/headless/policy", + "//components/image_fetcher/core", + "//components/keep_alive_registry", + "//components/live_caption", + "//components/live_caption:live_translate", + "//components/manta", + "//components/manta/proto", + "//components/media_effects", + "//components/media_router/browser", + "//components/memory_pressure", + "//components/mirroring/browser", + "//components/mirroring/mojom:service", + "//components/mirroring/service:mirroring_service", + "//components/omnibox/browser:mojo_bindings", + "//components/payments/content", + "//components/payments/content:utils", + "//components/safe_browsing/core/browser/realtime:url_lookup_service_base", + "//components/services/app_service", + "//components/shared_highlighting/core/common", + "//components/soda", + "//components/soda:constants", + "//components/soda:utils", + "//components/trusted_vault/proto", + "//components/ukm/content", + "//components/unexportable_keys:unexportable_keys", + "//components/user_education/common", + "//components/user_education/webui:webui", + "//components/user_notes:features", + "//components/user_notes:user_notes_prefs", + "//components/user_notes/browser", + "//components/user_notes/interfaces", + "//components/user_notes/storage", + "//components/vector_icons", + "//components/web_modal", + "//components/webauthn/content/browser", + "//components/webauthn/core/browser", + "//components/webauthn/core/browser:passkey_model", + "//services/device/public/cpp/bluetooth", + "//services/device/public/cpp/hid", + "//services/screen_ai", + "//services/screen_ai/public/cpp:utilities", + "//services/screen_ai/public/mojom", + "//third_party/crashpad/crashpad/client:common", + "//third_party/zxcvbn-cpp", + "//ui/views", + "//ui/web_dialogs", + "//ui/webui/resources/cr_components/app_management:mojo_bindings", + "//ui/webui/resources/cr_components/help_bubble:mojo_bindings", + "//ui/webui/resources/cr_components/history_clusters:mojo_bindings", + "//ui/webui/resources/cr_components/history_embeddings:mojo_bindings", + ] + + #!is_android + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + # TODO(crbug.com/40251079): Remove circular dependencies. + "//chrome/browser/apps/app_service", + + # TODO(b/220386256): Remove circular dependency from the browser. + "//chrome/browser/media/router/discovery/access_code:access_code_sink_service", + + # TODO(crbug.com/40761673): Remove cycles and simplify all dependencies. + "//chrome/browser/web_applications", + + # TODO(crbug.com/40251079): Remove circular dependencies. + "//chrome/browser/web_applications/app_service", + + # Needs //chrome/browser/content_settings, but its sources are in + # //chrome/browser instead. + "//chrome/browser/smart_card", + + # TODO(crbug.com/345487716): Remove this circular dependency. + "//chrome/browser/ui/views/side_panel", + + # TODO(crbug.com/359593415): //c/b/ui/apps/chrome_app_delegate.cc includes + # - //c/b/app_mode/app_mode_utils.h, + # - //c/b/lifetime/termination_notification.h, + # - //c/b/file_system_access/file_system_access_permission_request_manager.h + # ... and more. Remove circular include entry when these directories get modularized. + "//chrome/browser/ui/apps:impl", + + "//chrome/browser/task_manager:impl", + "//chrome/browser/ui/exclusive_access", + "//chrome/browser/ui/views/toolbar", + "//chrome/browser/ui/webui/searchbox", + "//chrome/browser/ui/webui/top_chrome:impl", + "//chrome/browser/ui/content_settings:impl", + "//chrome/browser/ui/commerce:impl", + "//chrome/browser/picture_in_picture:impl", + "//chrome/browser/ui/signin:impl", + "//chrome/browser/ui/webui/signin:impl", + "//chrome/browser/ui:browser_list_impl", + ] + + #!is_android + if (!is_chromeos) { + sources += [ + "component_updater/screen_ai_component_installer.cc", + "component_updater/screen_ai_component_installer.h", + "device_notifications/device_status_icon_renderer.cc", + "device_notifications/device_status_icon_renderer.h", + "external_protocol/auto_launch_protocols_policy_handler.cc", + "external_protocol/auto_launch_protocols_policy_handler.h", + "hid/hid_status_icon.cc", + "hid/hid_status_icon.h", + "net/disk_cache_dir_policy_handler.cc", + "net/disk_cache_dir_policy_handler.h", + "policy/cbcm_invalidations_initializer.cc", + "policy/cbcm_invalidations_initializer.h", + "policy/chrome_browser_cloud_management_controller_desktop.cc", + "policy/chrome_browser_cloud_management_controller_desktop.h", + "policy/chrome_browser_cloud_management_register_watcher.cc", + "policy/chrome_browser_cloud_management_register_watcher.h", + "policy/file_selection_dialogs_policy_handler.cc", + "policy/file_selection_dialogs_policy_handler.h", + "screen_ai/screen_ai_downloader_non_chromeos.cc", + "screen_ai/screen_ai_downloader_non_chromeos.h", + "usb/usb_status_icon.cc", + "usb/usb_status_icon.h", + ] + deps += [ "//chrome/browser/shortcuts" ] + if (is_linux) { + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + # TODO(crbug.com/335727004): Split out linux dependencies into separate targets. + "//chrome/browser/shortcuts", + ] + } + } + if (!is_chromeos_ash) { + sources += [ + "accessibility/soda_installer_impl.cc", + "accessibility/soda_installer_impl.h", + "device_identity/device_oauth2_token_store_desktop.cc", + "device_identity/device_oauth2_token_store_desktop.h", + "enterprise/remote_commands/cbcm_remote_commands_factory.cc", + "enterprise/remote_commands/cbcm_remote_commands_factory.h", + "first_run/upgrade_util.cc", + "first_run/upgrade_util.h", + "lifetime/switch_utils.cc", + "lifetime/switch_utils.h", + "platform_util.cc", + "policy/client_data_delegate_desktop.cc", + "policy/client_data_delegate_desktop.h", + "policy/cloud/user_policy_signin_service.cc", + "policy/cloud/user_policy_signin_service.h", + "policy/cloud/user_policy_signin_service_internal.h", + "profiles/avatar_menu.cc", + "profiles/avatar_menu.h", + "profiles/avatar_menu_desktop.cc", + "profiles/avatar_menu_observer.h", + "profiles/profile_activity_metrics_recorder.cc", + "profiles/profile_activity_metrics_recorder.h", + "profiles/profile_list_desktop.cc", + "profiles/profile_list_desktop.h", + "signin/force_signin_verifier.cc", + "signin/force_signin_verifier.h", + "signin/signin_manager.cc", + "signin/signin_manager.h", + "signin/signin_manager_factory.cc", + "signin/signin_manager_factory.h", + "upgrade_detector/get_installed_version.cc", + "upgrade_detector/get_installed_version.h", + "upgrade_detector/installed_version_monitor.h", + "upgrade_detector/installed_version_poller.cc", + "upgrade_detector/installed_version_poller.h", + "upgrade_detector/upgrade_detector_impl.cc", + "upgrade_detector/upgrade_detector_impl.h", + ] + } + + if (!is_chromeos_lacros) { + sources += [ + "accessibility/live_caption/live_caption_controller_factory.cc", + "accessibility/live_caption/live_caption_controller_factory.h", + "accessibility/live_caption/live_caption_speech_recognition_host.cc", + "accessibility/live_caption/live_caption_speech_recognition_host.h", + ] + } + + if (!is_win) { + # On Windows, the hashes are embedded in //chrome:chrome_initial rather + # than here in :chrome_dll. + deps += [ "//chrome:packed_resources_integrity_header" ] + sources += [ + "certificate_viewer_stub.cc", + "chrome_browser_main_posix.cc", + "chrome_browser_main_posix.h", + "importer/firefox_profile_lock_posix.cc", + "process_singleton_posix.cc", + ] + + if (is_chromeos) { + sources += [ "first_run/first_run_internal_chromeos.cc" ] + } else { + sources += [ "first_run/first_run_internal_posix.cc" ] + } + } + + if (use_minikin_hyphenation) { + sources += [ + "component_updater/hyphenation_component_installer.cc", + "component_updater/hyphenation_component_installer.h", + ] + } + } + + if (is_chromeos_ash) { + sources += [ + "accessibility/media_app/ax_media_app.h", + "accessibility/media_app/ax_media_app_handler_factory.cc", + "accessibility/media_app/ax_media_app_handler_factory.h", + "accessibility/media_app/ax_media_app_untrusted_handler.cc", + "accessibility/media_app/ax_media_app_untrusted_handler.h", + "apps/digital_goods/digital_goods_ash.cc", + "apps/digital_goods/digital_goods_ash.h", + "apps/digital_goods/digital_goods_factory_impl.cc", + "apps/digital_goods/digital_goods_factory_impl.h", + "apps/digital_goods/digital_goods_impl.cc", + "apps/digital_goods/digital_goods_impl.h", + "apps/digital_goods/util.cc", + "apps/digital_goods/util.h", + "browser_process_platform_part_ash.cc", + "browser_process_platform_part_ash.h", + "component_updater/app_provisioning_component_installer.cc", + "component_updater/app_provisioning_component_installer.h", + "component_updater/cros_component_installer_chromeos.cc", + "component_updater/cros_component_installer_chromeos.h", + "component_updater/metadata_table_chromeos.cc", + "component_updater/metadata_table_chromeos.h", + "component_updater/smart_dim_component_installer.cc", + "component_updater/smart_dim_component_installer.h", + "device_identity/chromeos/device_oauth2_token_store_chromeos.cc", + "device_identity/chromeos/device_oauth2_token_store_chromeos.h", + "enterprise/connectors/analysis/file_transfer_analysis_delegate.cc", + "enterprise/connectors/analysis/file_transfer_analysis_delegate.h", + "enterprise/connectors/analysis/source_destination_matcher_ash.cc", + "enterprise/connectors/analysis/source_destination_matcher_ash.h", + "enterprise/connectors/device_trust/ash/ash_attestation_policy_observer.cc", + "enterprise/connectors/device_trust/ash/ash_attestation_policy_observer.h", + "enterprise/connectors/device_trust/signals/ash/ash_signals_filterer.cc", + "enterprise/connectors/device_trust/signals/ash/ash_signals_filterer.h", + "enterprise/connectors/device_trust/signals/decorators/ash/ash_signals_decorator.cc", + "enterprise/connectors/device_trust/signals/decorators/ash/ash_signals_decorator.h", + "enterprise/reporting/android_app_info_generator.cc", + "enterprise/reporting/android_app_info_generator.h", + "exo_parts.cc", + "exo_parts.h", + "file_system_access/cloud_identifier/cloud_identifier_util_ash.cc", + "file_system_access/cloud_identifier/cloud_identifier_util_ash.h", + "icon_loader_chromeos.cc", + "lifetime/application_lifetime_chromeos.cc", + "lifetime/application_lifetime_chromeos.h", + "media/chromeos_login_and_lock_media_access_handler.cc", + "media/chromeos_login_and_lock_media_access_handler.h", + "media_galleries/chromeos/mtp_device_delegate_impl_chromeos.cc", + "media_galleries/chromeos/mtp_device_delegate_impl_chromeos.h", + "media_galleries/chromeos/mtp_device_object_enumerator.cc", + "media_galleries/chromeos/mtp_device_object_enumerator.h", + "media_galleries/chromeos/mtp_device_task_helper.cc", + "media_galleries/chromeos/mtp_device_task_helper.h", + "media_galleries/chromeos/mtp_device_task_helper_map_service.cc", + "media_galleries/chromeos/mtp_device_task_helper_map_service.h", + "media_galleries/chromeos/mtp_read_file_worker.cc", + "media_galleries/chromeos/mtp_read_file_worker.h", + "media_galleries/chromeos/snapshot_file_details.cc", + "media_galleries/chromeos/snapshot_file_details.h", + "memory/memory_kills_histogram.h", + "memory/memory_kills_monitor.cc", + "memory/memory_kills_monitor.h", + "metrics/ambient_mode_metrics_provider.cc", + "metrics/ambient_mode_metrics_provider.h", + "metrics/assistant_service_metrics_provider.cc", + "metrics/assistant_service_metrics_provider.h", + "metrics/chromeos_family_link_user_metrics_provider.cc", + "metrics/chromeos_family_link_user_metrics_provider.h", + "metrics/chromeos_metrics_provider.cc", + "metrics/chromeos_metrics_provider.h", + "metrics/chromeos_system_profile_provider.cc", + "metrics/chromeos_system_profile_provider.h", + "metrics/cros_healthd_metrics_provider.cc", + "metrics/cros_healthd_metrics_provider.h", + "metrics/enrollment_status.h", + "metrics/family_user_metrics_provider.cc", + "metrics/family_user_metrics_provider.h", + "metrics/per_user_state_manager_chromeos.cc", + "metrics/per_user_state_manager_chromeos.h", + "metrics/perf/collection_params.cc", + "metrics/perf/collection_params.h", + "metrics/perf/cpu_identity.cc", + "metrics/perf/cpu_identity.h", + "metrics/perf/metric_collector.cc", + "metrics/perf/metric_collector.h", + "metrics/perf/metric_provider.cc", + "metrics/perf/metric_provider.h", + "metrics/perf/perf_events_collector.cc", + "metrics/perf/perf_events_collector.h", + "metrics/perf/perf_output.cc", + "metrics/perf/perf_output.h", + "metrics/perf/process_type_collector.cc", + "metrics/perf/process_type_collector.h", + "metrics/perf/profile_provider_chromeos.cc", + "metrics/perf/profile_provider_chromeos.h", + "metrics/perf/random_selector.cc", + "metrics/perf/random_selector.h", + "metrics/perf/windowed_incognito_observer.cc", + "metrics/perf/windowed_incognito_observer.h", + "metrics/profile_pref_names.cc", + "metrics/profile_pref_names.h", + "metrics/update_engine_metrics_provider.cc", + "metrics/update_engine_metrics_provider.h", + "metrics/usertype_by_devicetype_metrics_provider.cc", + "metrics/usertype_by_devicetype_metrics_provider.h", + "nearby_sharing/attachment_info.cc", + "nearby_sharing/attachment_info.h", + "nearby_sharing/bluetooth_advertising_interval_client.cc", + "nearby_sharing/bluetooth_advertising_interval_client.h", + "nearby_sharing/constants.h", + "nearby_sharing/fast_initiation/constants.h", + "nearby_sharing/fast_initiation/fast_initiation_advertiser.cc", + "nearby_sharing/fast_initiation/fast_initiation_advertiser.h", + "nearby_sharing/fast_initiation/fast_initiation_scanner.cc", + "nearby_sharing/fast_initiation/fast_initiation_scanner.h", + "nearby_sharing/fast_initiation/fast_initiation_scanner_feature_usage_metrics.cc", + "nearby_sharing/fast_initiation/fast_initiation_scanner_feature_usage_metrics.h", + "nearby_sharing/firewall_hole/nearby_connections_firewall_hole.cc", + "nearby_sharing/firewall_hole/nearby_connections_firewall_hole.h", + "nearby_sharing/firewall_hole/nearby_connections_firewall_hole_factory.cc", + "nearby_sharing/firewall_hole/nearby_connections_firewall_hole_factory.h", + "nearby_sharing/incoming_frames_reader.cc", + "nearby_sharing/incoming_frames_reader.h", + "nearby_sharing/incoming_share_target_info.cc", + "nearby_sharing/incoming_share_target_info.h", + "nearby_sharing/instantmessaging/constants.h", + "nearby_sharing/instantmessaging/receive_messages_express.cc", + "nearby_sharing/instantmessaging/receive_messages_express.h", + "nearby_sharing/instantmessaging/send_message_express.cc", + "nearby_sharing/instantmessaging/send_message_express.h", + "nearby_sharing/instantmessaging/stream_parser.cc", + "nearby_sharing/instantmessaging/stream_parser.h", + "nearby_sharing/instantmessaging/token_fetcher.cc", + "nearby_sharing/instantmessaging/token_fetcher.h", + "nearby_sharing/mdns/nearby_connections_mdns_manager.cc", + "nearby_sharing/mdns/nearby_connections_mdns_manager.h", + "nearby_sharing/metrics/attachment_metric_logger.cc", + "nearby_sharing/metrics/attachment_metric_logger.h", + "nearby_sharing/metrics/discovery_metric_logger.cc", + "nearby_sharing/metrics/discovery_metric_logger.h", + "nearby_sharing/metrics/metric_common.cc", + "nearby_sharing/metrics/metric_common.h", + "nearby_sharing/metrics/nearby_share_metric_logger.cc", + "nearby_sharing/metrics/nearby_share_metric_logger.h", + "nearby_sharing/metrics/throughput_metric_logger.cc", + "nearby_sharing/metrics/throughput_metric_logger.h", + "nearby_sharing/nearby_confirmation_manager.cc", + "nearby_sharing/nearby_confirmation_manager.h", + "nearby_sharing/nearby_notification_delegate.h", + "nearby_sharing/nearby_notification_handler.cc", + "nearby_sharing/nearby_notification_handler.h", + "nearby_sharing/nearby_notification_manager.cc", + "nearby_sharing/nearby_notification_manager.h", + "nearby_sharing/nearby_per_session_discovery_manager.cc", + "nearby_sharing/nearby_per_session_discovery_manager.h", + "nearby_sharing/nearby_receive_manager.cc", + "nearby_sharing/nearby_receive_manager.h", + "nearby_sharing/nearby_share_delegate_impl.cc", + "nearby_sharing/nearby_share_delegate_impl.h", + "nearby_sharing/nearby_share_error.h", + "nearby_sharing/nearby_share_feature_status.cc", + "nearby_sharing/nearby_share_feature_status.h", + "nearby_sharing/nearby_share_feature_usage_metrics.cc", + "nearby_sharing/nearby_share_feature_usage_metrics.h", + "nearby_sharing/nearby_share_logger.cc", + "nearby_sharing/nearby_share_logger.h", + "nearby_sharing/nearby_share_metrics.cc", + "nearby_sharing/nearby_share_metrics.h", + "nearby_sharing/nearby_share_profile_info_provider_impl.cc", + "nearby_sharing/nearby_share_profile_info_provider_impl.h", + "nearby_sharing/nearby_share_settings.cc", + "nearby_sharing/nearby_share_settings.h", + "nearby_sharing/nearby_share_transfer_profiler.cc", + "nearby_sharing/nearby_share_transfer_profiler.h", + "nearby_sharing/nearby_sharing_service.h", + "nearby_sharing/nearby_sharing_service_factory.cc", + "nearby_sharing/nearby_sharing_service_factory.h", + "nearby_sharing/nearby_sharing_service_impl.cc", + "nearby_sharing/nearby_sharing_service_impl.h", + "nearby_sharing/network_traversal_ice_config_fetcher.cc", + "nearby_sharing/network_traversal_ice_config_fetcher.h", + "nearby_sharing/outgoing_share_target_info.cc", + "nearby_sharing/outgoing_share_target_info.h", + "nearby_sharing/paired_key_verification_runner.cc", + "nearby_sharing/paired_key_verification_runner.h", + "nearby_sharing/payload_tracker.cc", + "nearby_sharing/payload_tracker.h", + "nearby_sharing/power_client.cc", + "nearby_sharing/power_client.h", + "nearby_sharing/power_client_chromeos.cc", + "nearby_sharing/power_client_chromeos.h", + "nearby_sharing/share_target_discovered_callback.h", + "nearby_sharing/share_target_info.cc", + "nearby_sharing/share_target_info.h", + "nearby_sharing/sharesheet/nearby_share_action.cc", + "nearby_sharing/sharesheet/nearby_share_action.h", + "nearby_sharing/sharing_mojo_service.cc", + "nearby_sharing/sharing_mojo_service.h", + "nearby_sharing/tachyon_ice_config_fetcher.cc", + "nearby_sharing/tachyon_ice_config_fetcher.h", + "nearby_sharing/tcp_socket/nearby_connections_tcp_socket_factory.cc", + "nearby_sharing/tcp_socket/nearby_connections_tcp_socket_factory.h", + "nearby_sharing/transfer_metadata.cc", + "nearby_sharing/transfer_metadata.h", + "nearby_sharing/transfer_metadata_builder.cc", + "nearby_sharing/transfer_metadata_builder.h", + "nearby_sharing/transfer_update_callback.h", + "nearby_sharing/webrtc_request_builder.cc", + "nearby_sharing/webrtc_request_builder.h", + "nearby_sharing/webrtc_signaling_messenger.cc", + "nearby_sharing/webrtc_signaling_messenger.h", + "nearby_sharing/wifi_network_configuration/wifi_network_configuration_handler.cc", + "nearby_sharing/wifi_network_configuration/wifi_network_configuration_handler.h", + "notifications/arc_application_notifier_controller.cc", + "notifications/arc_application_notifier_controller.h", + "notifications/chrome_ash_message_center_client.cc", + "notifications/chrome_ash_message_center_client.h", + "notifications/extension_notifier_controller.cc", + "notifications/extension_notifier_controller.h", + "notifications/notification_platform_bridge_chromeos.cc", + "notifications/notification_platform_bridge_chromeos.h", + "notifications/notification_platform_bridge_delegate.h", + "notifications/notifier_controller.h", + "notifications/notifier_dataset.cc", + "notifications/notifier_dataset.h", + "notifications/pwa_notifier_controller.cc", + "notifications/pwa_notifier_controller.h", + "notifications/web_page_notifier_controller.cc", + "notifications/web_page_notifier_controller.h", + "page_load_metrics/observers/ash_session_restore_page_load_metrics_observer.cc", + "page_load_metrics/observers/ash_session_restore_page_load_metrics_observer.h", + "performance_manager/mechanisms/working_set_trimmer_chromeos.cc", + "performance_manager/mechanisms/working_set_trimmer_chromeos.h", + "performance_manager/policies/working_set_trimmer_policy_arcvm.cc", + "performance_manager/policies/working_set_trimmer_policy_arcvm.h", + "performance_manager/policies/working_set_trimmer_policy_chromeos.cc", + "performance_manager/policies/working_set_trimmer_policy_chromeos.h", + "platform_util_ash.cc", + "policy/default_geolocation_policy_handler.cc", + "policy/default_geolocation_policy_handler.h", + "policy/device_login_screen_geolocation_access_level_policy_handler.cc", + "policy/device_login_screen_geolocation_access_level_policy_handler.h", + "policy/drive_file_sync_available_policy_handler.cc", + "policy/drive_file_sync_available_policy_handler.h", + "policy/messaging_layer/upload/file_upload_impl.cc", + "policy/messaging_layer/upload/file_upload_impl.h", + "policy/os_color_mode_policy_handler.cc", + "policy/os_color_mode_policy_handler.h", + "policy/status_provider/device_cloud_policy_status_provider_chromeos.cc", + "policy/status_provider/device_cloud_policy_status_provider_chromeos.h", + "policy/status_provider/device_local_account_policy_status_provider.cc", + "policy/status_provider/device_local_account_policy_status_provider.h", + "policy/status_provider/user_cloud_policy_status_provider_chromeos.cc", + "policy/status_provider/user_cloud_policy_status_provider_chromeos.h", + "push_notification/push_notification_service_factory.cc", + "push_notification/push_notification_service_factory.h", + "scalable_iph/scalable_iph_factory_impl.cc", + "scalable_iph/scalable_iph_factory_impl.h", + "sharesheet/share_action/example_action.cc", + "sharesheet/share_action/example_action.h", + "sharesheet/share_action/share_action.cc", + "sharesheet/share_action/share_action.h", + "sharesheet/share_action/share_action_cache.cc", + "sharesheet/share_action/share_action_cache.h", + "sharesheet/sharesheet_controller.h", + "sharesheet/sharesheet_metrics.cc", + "sharesheet/sharesheet_metrics.h", + "sharesheet/sharesheet_service.cc", + "sharesheet/sharesheet_service.h", + "sharesheet/sharesheet_service_delegator.cc", + "sharesheet/sharesheet_service_delegator.h", + "sharesheet/sharesheet_service_factory.cc", + "sharesheet/sharesheet_service_factory.h", + "sharesheet/sharesheet_types.cc", + "sharesheet/sharesheet_types.h", + "sharesheet/sharesheet_ui_delegate.h", + "shell_integration_chromeos.cc", + "signin/wait_for_network_callback_helper_ash.cc", + "signin/wait_for_network_callback_helper_ash.h", + "speech/cros_speech_recognition_service.cc", + "speech/cros_speech_recognition_service.h", + "speech/cros_speech_recognition_service_factory.cc", + "speech/cros_speech_recognition_service_factory.h", + "speech/crosapi_tts_engine_delegate_ash.cc", + "speech/crosapi_tts_engine_delegate_ash.h", + "speech/network_speech_recognizer.cc", + "speech/network_speech_recognizer.h", + "speech/speech_recognition_constants.cc", + "speech/speech_recognition_constants.h", + "speech/speech_recognition_recognizer_client_impl.cc", + "speech/speech_recognition_recognizer_client_impl.h", + "speech/speech_recognizer.cc", + "speech/speech_recognizer.h", + "speech/speech_recognizer_delegate.h", + "speech/tts_ash.cc", + "speech/tts_ash.h", + "speech/tts_chromeos.cc", + "speech/tts_chromeos.h", + "speech/tts_controller_delegate_impl.cc", + "speech/tts_controller_delegate_impl.h", + "ui/ash/shelf/chrome_shelf_metrics_provider.cc", + "ui/ash/shelf/chrome_shelf_metrics_provider.h", + "upgrade_detector/installed_version_updater_chromeos.cc", + "upgrade_detector/installed_version_updater_chromeos.h", + "upgrade_detector/upgrade_detector_chromeos.cc", + "upgrade_detector/upgrade_detector_chromeos.h", + "webauthn/unexportable_key_utils_chromeos.cc", + ] + + deps += [ + "//ash", + "//ash/components/arc", + "//ash/components/arc:arc_base", + "//ash/components/arc:arc_base_utils", + "//ash/components/arc/mojom", + "//ash/components/kcer", + "//ash/constants", + "//ash/public/cpp/external_arc", + "//ash/webui/annotator", + "//ash/webui/annotator/mojom:annotator_mojo_bindings", + "//ash/webui/boca_ui", + "//ash/webui/boca_ui/mojom", + "//ash/webui/camera_app_ui", + "//ash/webui/camera_app_ui:mojo_bindings", + "//ash/webui/color_internals", + "//ash/webui/color_internals/mojom", + "//ash/webui/common/mojom", + "//ash/webui/common/mojom:sea_pen", + "//ash/webui/connectivity_diagnostics", + "//ash/webui/demo_mode_app_ui", + "//ash/webui/demo_mode_app_ui/mojom", + "//ash/webui/diagnostics_ui", + "//ash/webui/diagnostics_ui/mojom", + "//ash/webui/eche_app_ui", + "//ash/webui/eche_app_ui/mojom", + "//ash/webui/file_manager:file_manager_ui", + "//ash/webui/file_manager/mojom", + "//ash/webui/files_internals", + "//ash/webui/files_internals/mojom", + "//ash/webui/firmware_update_ui", + "//ash/webui/firmware_update_ui/mojom", + "//ash/webui/focus_mode", + "//ash/webui/focus_mode/mojom", + "//ash/webui/help_app_ui", + "//ash/webui/help_app_ui:mojo_bindings", + "//ash/webui/help_app_ui/search:mojo_bindings", + "//ash/webui/mall", + "//ash/webui/mall:mojo_bindings", + "//ash/webui/media_app_ui", + "//ash/webui/media_app_ui:mojo_bindings", + "//ash/webui/media_app_ui:mojo_bindings_untrusted", + "//ash/webui/multidevice_debug", + "//ash/webui/os_feedback_ui", + "//ash/webui/os_feedback_ui/mojom", + "//ash/webui/personalization_app", + "//ash/webui/personalization_app/mojom", + "//ash/webui/personalization_app/search:mojo_bindings", + "//ash/webui/print_management", + "//ash/webui/print_management/backend:backend", + "//ash/webui/print_preview_cros", + "//ash/webui/print_preview_cros/mojom", + "//ash/webui/projector_app", + "//ash/webui/projector_app/mojom:projector_mojo_bindings", + "//ash/webui/sanitize_ui", + "//ash/webui/scanning", + "//ash/webui/scanning/mojom", + "//ash/webui/shimless_rma", + "//ash/webui/shimless_rma/mojom", + "//ash/webui/shortcut_customization_ui", + "//ash/webui/shortcut_customization_ui/backend/search:mojo_bindings", + "//ash/webui/shortcut_customization_ui/mojom", + "//ash/webui/status_area_internals", + "//ash/webui/status_area_internals/mojom:mojom", + "//ash/webui/system_apps/public:system_web_app_type", + "//build:chromeos_buildflags", + "//chrome/app/theme:chrome_unscaled_resources_grit", + "//chrome/browser/apps/app_discovery_service", + "//chrome/browser/apps/app_preload_service", + "//chrome/browser/ash", + "//chrome/browser/ash/accessibility", + "//chrome/browser/ash/accessibility/live_caption", + "//chrome/browser/ash/accessibility/service", + "//chrome/browser/ash/account_manager", + "//chrome/browser/ash/ambient", + "//chrome/browser/ash/android_sms", + "//chrome/browser/ash/api/tasks", + "//chrome/browser/ash/app_list", + "//chrome/browser/ash/app_list/arc", + "//chrome/browser/ash/app_list/search", + "//chrome/browser/ash/app_list/search/arc", + "//chrome/browser/ash/app_list/search/essential_search", + "//chrome/browser/ash/app_list/search/files", + "//chrome/browser/ash/app_list/search/omnibox", + "//chrome/browser/ash/app_mode", + "//chrome/browser/ash/app_mode/auto_sleep", + "//chrome/browser/ash/app_mode/web_app", + "//chrome/browser/ash/app_restore", + "//chrome/browser/ash/apps", + "//chrome/browser/ash/arc", + "//chrome/browser/ash/arc/accessibility", + "//chrome/browser/ash/arc/auth", + "//chrome/browser/ash/arc/boot_phase_monitor", + "//chrome/browser/ash/arc/enterprise/cert_store", + "//chrome/browser/ash/arc/error_notification", + "//chrome/browser/ash/arc/fileapi", + "//chrome/browser/ash/arc/input_method_manager", + "//chrome/browser/ash/arc/input_overlay", + "//chrome/browser/ash/arc/instance_throttle", + "//chrome/browser/ash/arc/intent_helper", + "//chrome/browser/ash/arc/memory_pressure", + "//chrome/browser/ash/arc/metrics", + "//chrome/browser/ash/arc/nearby_share", + "//chrome/browser/ash/arc/nearby_share/ui", + "//chrome/browser/ash/arc/net", + "//chrome/browser/ash/arc/notification", + "//chrome/browser/ash/arc/optin", + "//chrome/browser/ash/arc/pip", + "//chrome/browser/ash/arc/policy", + "//chrome/browser/ash/arc/print_spooler", + "//chrome/browser/ash/arc/process", + "//chrome/browser/ash/arc/screen_capture", + "//chrome/browser/ash/arc/session", + "//chrome/browser/ash/arc/tracing", + "//chrome/browser/ash/arc/tts", + "//chrome/browser/ash/arc/vmm", + "//chrome/browser/ash/arc/window_predictor", + "//chrome/browser/ash/assistant", + "//chrome/browser/ash/attestation", + "//chrome/browser/ash/audio", + "//chrome/browser/ash/auth", + "//chrome/browser/ash/bluetooth", + "//chrome/browser/ash/boca", + "//chrome/browser/ash/boca/on_task", + "//chrome/browser/ash/boot_times_recorder", + "//chrome/browser/ash/borealis", + "//chrome/browser/ash/bruschetta", + "//chrome/browser/ash/calendar", + "//chrome/browser/ash/camera", + "//chrome/browser/ash/camera_mic", + "//chrome/browser/ash/cert_provisioning", + "//chrome/browser/ash/child_accounts", + "//chrome/browser/ash/child_accounts/on_device_controls", + "//chrome/browser/ash/child_accounts/parent_access_code", + "//chrome/browser/ash/child_accounts/time_limits", + "//chrome/browser/ash/crosapi", + "//chrome/browser/ash/crostini", + "//chrome/browser/ash/cryptauth", + "//chrome/browser/ash/customization", + "//chrome/browser/ash/dbus", + "//chrome/browser/ash/dbus/vm", + "//chrome/browser/ash/device_name", + "//chrome/browser/ash/device_sync", + "//chrome/browser/ash/drive", + "//chrome/browser/ash/drive/fileapi", + "//chrome/browser/ash/early_prefs", + "//chrome/browser/ash/eche_app", + "//chrome/browser/ash/eol", + "//chrome/browser/ash/events", + "//chrome/browser/ash/exo", + "//chrome/browser/ash/extended_updates", + "//chrome/browser/ash/extensions", + "//chrome/browser/ash/extensions/autotest_private", + "//chrome/browser/ash/extensions/file_manager", + "//chrome/browser/ash/extensions/speech", + "//chrome/browser/ash/extensions/users_private", + "//chrome/browser/ash/external_metrics", + "//chrome/browser/ash/file_manager", + "//chrome/browser/ash/file_manager/virtual_tasks", + "//chrome/browser/ash/file_suggest", + "//chrome/browser/ash/file_system_provider", + "//chrome/browser/ash/file_system_provider/fileapi", + "//chrome/browser/ash/fileapi", + "//chrome/browser/ash/fileapi:impl", + "//chrome/browser/ash/first_run", + "//chrome/browser/ash/floating_sso", + "//chrome/browser/ash/floating_workspace", + "//chrome/browser/ash/fusebox", + "//chrome/browser/ash/geolocation", + "//chrome/browser/ash/growth", + "//chrome/browser/ash/guest_os", + "//chrome/browser/ash/guest_os/public", + "//chrome/browser/ash/hats", + "//chrome/browser/ash/input_device_settings", + "//chrome/browser/ash/input_method", + "//chrome/browser/ash/kcer", + "//chrome/browser/ash/kcer/nssdb_migration", + "//chrome/browser/ash/kerberos", + "//chrome/browser/ash/language_packs", + "//chrome/browser/ash/lobster", + "//chrome/browser/ash/locale", + "//chrome/browser/ash/lock_screen_apps", + "//chrome/browser/ash/login", + "//chrome/browser/ash/login/app_mode", + "//chrome/browser/ash/login/auth", + "//chrome/browser/ash/login/demo_mode", + "//chrome/browser/ash/login/enrollment", + "//chrome/browser/ash/login/extensions", + "//chrome/browser/ash/login/lock", + "//chrome/browser/ash/login/osauth", + "//chrome/browser/ash/login/quick_unlock", + "//chrome/browser/ash/login/reporting", + "//chrome/browser/ash/login/saml", + "//chrome/browser/ash/login/screens", + "//chrome/browser/ash/login/screens/osauth", + "//chrome/browser/ash/login/session", + "//chrome/browser/ash/login/signin", + "//chrome/browser/ash/login/smart_lock", + "//chrome/browser/ash/login/users", + "//chrome/browser/ash/login/users/avatar", + "//chrome/browser/ash/magic_boost", + "//chrome/browser/ash/mahi", + "//chrome/browser/ash/mahi:mahi_availability", + "//chrome/browser/ash/multidevice_setup", + "//chrome/browser/ash/nearby", + "//chrome/browser/ash/nearby/presence", + "//chrome/browser/ash/net", + "//chrome/browser/ash/net/dns_over_https", + "//chrome/browser/ash/net/network_diagnostics", + "//chrome/browser/ash/net/network_health", + "//chrome/browser/ash/net/rollback_network_config", + "//chrome/browser/ash/note_taking", + "//chrome/browser/ash/notifications", + "//chrome/browser/ash/os_feedback", + "//chrome/browser/ash/ownership", + "//chrome/browser/ash/phonehub", + "//chrome/browser/ash/platform_keys", + "//chrome/browser/ash/platform_keys/key_permissions", + "//chrome/browser/ash/plugin_vm", + "//chrome/browser/ash/policy/core", + "//chrome/browser/ash/policy/dlp", + "//chrome/browser/ash/policy/dlp/dialogs", + "//chrome/browser/ash/policy/enrollment", + "//chrome/browser/ash/policy/external_data", + "//chrome/browser/ash/policy/external_data/handlers", + "//chrome/browser/ash/policy/handlers", + "//chrome/browser/ash/policy/invalidation", + "//chrome/browser/ash/policy/login", + "//chrome/browser/ash/policy/multi_screen_capture", + "//chrome/browser/ash/policy/networking", + "//chrome/browser/ash/policy/off_hours", + "//chrome/browser/ash/policy/remote_commands", + "//chrome/browser/ash/policy/remote_commands/crd", + "//chrome/browser/ash/policy/reporting", + "//chrome/browser/ash/policy/reporting/event_based_logs/event_observers", + "//chrome/browser/ash/policy/reporting/metrics_reporting", + "//chrome/browser/ash/policy/reporting/os_updates", + "//chrome/browser/ash/policy/reporting/user_added_removed", + "//chrome/browser/ash/policy/scheduled_task_handler", + "//chrome/browser/ash/policy/server_backed_state", + "//chrome/browser/ash/policy/skyvault", + "//chrome/browser/ash/policy/status_collector", + "//chrome/browser/ash/policy/uploading", + "//chrome/browser/ash/power", + "//chrome/browser/ash/power/auto_screen_brightness", + "//chrome/browser/ash/power/ml", + "//chrome/browser/ash/power/ml/smart_dim", + "//chrome/browser/ash/power/smart_charging", + "//chrome/browser/ash/preferences", + "//chrome/browser/ash/printing", + "//chrome/browser/ash/printing/enterprise", + "//chrome/browser/ash/printing/history", + "//chrome/browser/ash/printing/print_management", + "//chrome/browser/ash/privacy_hub", + "//chrome/browser/ash/profiles", + "//chrome/browser/ash/profiles:signin_profile_handler", + "//chrome/browser/ash/quick_pair", + "//chrome/browser/ash/release_notes", + "//chrome/browser/ash/report_controller_initializer", + "//chrome/browser/ash/sanitize", + "//chrome/browser/ash/scalable_iph", + "//chrome/browser/ash/scanning", + "//chrome/browser/ash/secure_channel", + "//chrome/browser/ash/settings", + "//chrome/browser/ash/sharesheet", + "//chrome/browser/ash/shimless_rma", + "//chrome/browser/ash/smart_reader", + "//chrome/browser/ash/smb_client", + "//chrome/browser/ash/smb_client/fileapi", + "//chrome/browser/ash/sparky", + "//chrome/browser/ash/sync", + "//chrome/browser/ash/system", + "//chrome/browser/ash/system_logs", + "//chrome/browser/ash/system_web_apps", + "//chrome/browser/ash/system_web_apps/apps", + "//chrome/browser/ash/system_web_apps/apps/camera_app", + "//chrome/browser/ash/system_web_apps/apps/help_app", + "//chrome/browser/ash/system_web_apps/apps/media_app", + "//chrome/browser/ash/system_web_apps/apps/personalization_app", + "//chrome/browser/ash/system_web_apps/apps/recorder_app", + "//chrome/browser/ash/system_web_apps/types", + "//chrome/browser/ash/tpm", + "//chrome/browser/ash/trusted_vault", + "//chrome/browser/ash/u2f", + "//chrome/browser/ash/usb", + "//chrome/browser/ash/video_conference", + "//chrome/browser/ash/wallpaper_handlers", + "//chrome/browser/chromeos/tablet_mode", + "//chrome/browser/chromeos/tast_support", + "//chrome/browser/enterprise/connectors/device_trust/attestation/ash", + "//chrome/browser/nearby_sharing:share_target", + "//chrome/browser/nearby_sharing/certificates", + "//chrome/browser/nearby_sharing/client", + "//chrome/browser/nearby_sharing/common", + "//chrome/browser/nearby_sharing/contacts", + "//chrome/browser/nearby_sharing/local_device_data", + "//chrome/browser/nearby_sharing/logging:util", + "//chrome/browser/policy:onc", + "//chrome/browser/push_notification:push_notification", + "//chrome/browser/resources:app_icon_resources", + "//chrome/browser/scalable_iph:scalable_iph_factory", + "//chrome/browser/screen_ai:screen_ai_dlc_installer", + "//chrome/browser/support_tool/ash", + "//chrome/browser/ui/ash", + "//chrome/browser/ui/ash/accelerator", + "//chrome/browser/ui/ash/accessibility", + "//chrome/browser/ui/ash/annotator", + "//chrome/browser/ui/ash/app_access", + "//chrome/browser/ui/ash/arc", + "//chrome/browser/ui/ash/assistant", + "//chrome/browser/ui/ash/birch", + "//chrome/browser/ui/ash/capture_mode", + "//chrome/browser/ui/ash/clipboard", + "//chrome/browser/ui/ash/desks", + "//chrome/browser/ui/ash/device_scheduled_reboot", + "//chrome/browser/ui/ash/download_status", + "//chrome/browser/ui/ash/focus_mode", + "//chrome/browser/ui/ash/game_dashboard", + "//chrome/browser/ui/ash/glanceables", + "//chrome/browser/ui/ash/global_media_controls", + "//chrome/browser/ui/ash/google_one", + "//chrome/browser/ui/ash/holding_space", + "//chrome/browser/ui/ash/in_session_auth", + "//chrome/browser/ui/ash/keyboard", + "//chrome/browser/ui/ash/login", + "//chrome/browser/ui/ash/main_extra_parts", + "//chrome/browser/ui/ash/media_client", + "//chrome/browser/ui/ash/multi_user", + "//chrome/browser/ui/ash/network", + "//chrome/browser/ui/ash/new_window", + "//chrome/browser/ui/ash/picker", + "//chrome/browser/ui/ash/projector", + "//chrome/browser/ui/ash/session", + "//chrome/browser/ui/ash/sharesheet", + "//chrome/browser/ui/ash/shelf", + "//chrome/browser/ui/ash/shelf/app_service", + "//chrome/browser/ui/ash/shell_delegate", + "//chrome/browser/ui/ash/system", + "//chrome/browser/ui/ash/system_web_apps", + "//chrome/browser/ui/ash/user_education", + "//chrome/browser/ui/ash/wallpaper", + "//chrome/browser/ui/ash/web_view", + "//chrome/browser/ui/views/borealis", + "//chrome/browser/ui/views/select_file_dialog_extension", + "//chrome/browser/ui/webui/ash/add_supervision", + "//chrome/browser/ui/webui/ash/app_install", + "//chrome/browser/ui/webui/ash/arc_overview_tracing", + "//chrome/browser/ui/webui/ash/arc_power_control", + "//chrome/browser/ui/webui/ash/assistant_optin", + "//chrome/browser/ui/webui/ash/audio", + "//chrome/browser/ui/webui/ash/bluetooth", + "//chrome/browser/ui/webui/ash/borealis_installer", + "//chrome/browser/ui/webui/ash/cellular_setup", + "//chrome/browser/ui/webui/ash/cloud_upload", + "//chrome/browser/ui/webui/ash/crostini_installer", + "//chrome/browser/ui/webui/ash/crostini_upgrader", + "//chrome/browser/ui/webui/ash/curtain_ui", + "//chrome/browser/ui/webui/ash/diagnostics_dialog", + "//chrome/browser/ui/webui/ash/drive_internals", + "//chrome/browser/ui/webui/ash/edu_coexistence", + "//chrome/browser/ui/webui/ash/emoji", + "//chrome/browser/ui/webui/ash/enterprise_reporting", + "//chrome/browser/ui/webui/ash/extended_updates", + "//chrome/browser/ui/webui/ash/internet", + "//chrome/browser/ui/webui/ash/kerberos", + "//chrome/browser/ui/webui/ash/launcher_internals", + "//chrome/browser/ui/webui/ash/lobster", + "//chrome/browser/ui/webui/ash/lock_screen_reauth", + "//chrome/browser/ui/webui/ash/login", + "//chrome/browser/ui/webui/ash/login/testapi", + "//chrome/browser/ui/webui/ash/mako", + "//chrome/browser/ui/webui/ash/manage_mirrorsync", + "//chrome/browser/ui/webui/ash/multidevice_setup", + "//chrome/browser/ui/webui/ash/network_ui", + "//chrome/browser/ui/webui/ash/office_fallback", + "//chrome/browser/ui/webui/ash/parent_access", + "//chrome/browser/ui/webui/ash/sanitize_dialog", + "//chrome/browser/ui/webui/ash/sensor_info", + "//chrome/browser/ui/webui/ash/set_time", + "//chrome/browser/ui/webui/ash/settings", + "//chrome/browser/ui/webui/ash/settings/calculator", + "//chrome/browser/ui/webui/ash/settings/pages/a11y", + "//chrome/browser/ui/webui/ash/settings/pages/about", + "//chrome/browser/ui/webui/ash/settings/pages/crostini", + "//chrome/browser/ui/webui/ash/settings/pages/date_time", + "//chrome/browser/ui/webui/ash/settings/pages/device", + "//chrome/browser/ui/webui/ash/settings/pages/device/input_device_settings", + "//chrome/browser/ui/webui/ash/settings/pages/files", + "//chrome/browser/ui/webui/ash/settings/pages/main", + "//chrome/browser/ui/webui/ash/settings/pages/multidevice", + "//chrome/browser/ui/webui/ash/settings/pages/people", + "//chrome/browser/ui/webui/ash/settings/pages/printing", + "//chrome/browser/ui/webui/ash/settings/pages/privacy", + "//chrome/browser/ui/webui/ash/settings/pages/storage", + "//chrome/browser/ui/webui/ash/settings/services/metrics", + "//chrome/browser/ui/webui/ash/settings/services/settings_manager", + "//chrome/browser/ui/webui/ash/skyvault", + "//chrome/browser/ui/webui/ash/smb_shares", + "//chrome/browser/ui/webui/ash/system_web_dialog", + "//chrome/browser/ui/webui/ash/vm", + "//chrome/browser/ui/webui/nearby_share", + "//chrome/browser/ui/webui/signin/ash", + "//chrome/services/sharing/public/cpp", + "//chrome/services/sharing/public/proto", + "//chrome/services/speech:lib", + "//chromeos/ash/components/account_manager", + "//chromeos/ash/components/assistant:buildflags", + "//chromeos/ash/components/audio", + "//chromeos/ash/components/audio/public/mojom", + "//chromeos/ash/components/boca", + "//chromeos/ash/components/carrier_lock", + "//chromeos/ash/components/channel", + "//chromeos/ash/components/dbus", + "//chromeos/ash/components/dbus/attestation", + "//chromeos/ash/components/dbus/attestation:attestation_proto", + "//chromeos/ash/components/dbus/concierge", + "//chromeos/ash/components/dbus/cros_disks", + "//chromeos/ash/components/dbus/cryptohome", + "//chromeos/ash/components/dbus/device_management", + "//chromeos/ash/components/dbus/device_management:device_management_proto", + "//chromeos/ash/components/dbus/image_loader", + "//chromeos/ash/components/dbus/session_manager", + "//chromeos/ash/components/dbus/shill", + "//chromeos/ash/components/dbus/spaced", + "//chromeos/ash/components/dbus/update_engine", + "//chromeos/ash/components/dbus/userdataauth:userdataauth", + "//chromeos/ash/components/dbus/userdataauth:userdataauth_proto", + "//chromeos/ash/components/emoji:mojo_bindings", + "//chromeos/ash/components/feature_usage", + "//chromeos/ash/components/geolocation", + "//chromeos/ash/components/growth:config_provider", + "//chromeos/ash/components/install_attributes", + "//chromeos/ash/components/kiosk/vision:vision_prefs", + "//chromeos/ash/components/kiosk/vision/webui", + "//chromeos/ash/components/local_search_service", + "//chromeos/ash/components/local_search_service/public/cpp", + "//chromeos/ash/components/local_search_service/public/mojom", + "//chromeos/ash/components/login/login_state", + "//chromeos/ash/components/login/session", + "//chromeos/ash/components/memory", + "//chromeos/ash/components/nearby/common/client", + "//chromeos/ash/components/network", + "//chromeos/ash/components/policy", + "//chromeos/ash/components/report", + "//chromeos/ash/components/scalable_iph", + "//chromeos/ash/components/scalable_iph:logger", + "//chromeos/ash/components/scalable_iph:scalable_iph_delegate", + "//chromeos/ash/components/settings", + "//chromeos/ash/components/standalone_browser", + "//chromeos/ash/components/sync_wifi", + "//chromeos/ash/components/system", + "//chromeos/ash/components/timezone", + "//chromeos/ash/components/tpm", + "//chromeos/ash/services/assistant/public/cpp", + "//chromeos/ash/services/auth_factor_config", + "//chromeos/ash/services/bluetooth_config", + "//chromeos/ash/services/bluetooth_config/public/mojom", + "//chromeos/ash/services/cellular_setup", + "//chromeos/ash/services/cros_healthd/public/cpp", + "//chromeos/ash/services/cros_healthd/public/mojom", + "//chromeos/ash/services/device_sync/public/cpp:prefs", + "//chromeos/ash/services/device_sync/public/mojom", + "//chromeos/ash/services/hotspot_config", + "//chromeos/ash/services/hotspot_config/public/mojom", + "//chromeos/ash/services/ime/public/mojom", + "//chromeos/ash/services/multidevice_setup", + "//chromeos/ash/services/multidevice_setup/public/cpp", + "//chromeos/ash/services/multidevice_setup/public/cpp:first_run_field_trial", + "//chromeos/ash/services/multidevice_setup/public/cpp:prefs", + "//chromeos/ash/services/multidevice_setup/public/mojom", + "//chromeos/ash/services/nearby/public/cpp", + "//chromeos/ash/services/nearby/public/cpp:tcp_server_socket_port", + "//chromeos/ash/services/nearby/public/mojom:nearby_share_settings", + "//chromeos/ash/services/network_config", + "//chromeos/ash/services/network_config:in_process_instance", + "//chromeos/ash/services/network_health/public/cpp", + "//chromeos/ash/services/secure_channel/public/mojom", + "//chromeos/components/kiosk", + "//chromeos/components/onc", + "//chromeos/components/print_management/mojom", + "//chromeos/crosapi/cpp", + "//chromeos/crosapi/cpp:crosapi_constants", + "//chromeos/crosapi/mojom", + "//chromeos/dbus/power", + "//chromeos/dbus/tpm_manager", + "//chromeos/dbus/tpm_manager:tpm_manager_proto", + "//chromeos/services/network_config/public/mojom", + "//chromeos/services/network_health/public/mojom", + "//chromeos/strings", + "//chromeos/ui/base", + "//chromeos/ui/vector_icons", + "//components/account_manager_core", + "//components/app_constants", + "//components/app_restore", + "//components/arc", + "//components/arc/common", + "//components/arc/common:arc_intent_helper_constants", + "//components/certificate_transparency", + "//components/component_updater/ash", + "//components/cross_device/nearby:nearby", + "//components/desks_storage", + "//components/device_signals/core/browser/ash", + "//components/digital_goods/mojom", + "//components/drive", + "//components/exo", + "//components/exo/server", + "//components/memory_pressure", + "//components/metrics/structured", + "//components/metrics/structured:external_metrics", + "//components/quirks", + "//components/services/app_service/public/cpp:instance_update", + "//components/services/font:lib", + "//components/services/font/public/mojom", + "//components/session_manager/core", + "//components/user_manager", + "//components/webapk:proto", + "//device/vr/public/mojom:isolated_xr_service", + "//remoting/host/chromeos:features", + "//services/screen_ai/public/cpp:metrics", + "//third_party/nearby:rpc_resources_proto", + "//third_party/nearby:wire_format_proto", + "//ui/chromeos", + "//ui/chromeos/resources", + "//ui/chromeos/strings", + "//ui/events/ozone", + "//ui/ozone", + "//ui/wm/public", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + "//chrome/browser/ash", + "//chrome/browser/ash/accessibility", + "//chrome/browser/ash/accessibility/live_caption", + "//chrome/browser/ash/accessibility/service", + "//chrome/browser/ash/account_manager", + "//chrome/browser/ash/ambient", + "//chrome/browser/ash/fileapi:impl", + "//chrome/browser/ash/android_sms", + "//chrome/browser/ash/api/tasks", + "//chrome/browser/ash/app_list", + "//chrome/browser/ash/app_list/arc", + "//chrome/browser/ash/app_list/search", + "//chrome/browser/ash/app_list/search/arc", + "//chrome/browser/ash/app_list/search/files", + "//chrome/browser/ash/app_list/search/omnibox", + "//chrome/browser/ash/app_mode", + "//chrome/browser/ash/app_mode/auto_sleep", + "//chrome/browser/ash/app_mode/web_app", + "//chrome/browser/ash/app_restore", + "//chrome/browser/ash/apps", + "//chrome/browser/ash/arc", + "//chrome/browser/ash/arc/auth", + "//chrome/browser/ash/arc/boot_phase_monitor", + "//chrome/browser/ash/arc/enterprise/cert_store", + "//chrome/browser/ash/arc/error_notification", + "//chrome/browser/ash/arc/fileapi", + "//chrome/browser/ash/arc/input_method_manager", + "//chrome/browser/ash/arc/input_overlay", + "//chrome/browser/ash/arc/instance_throttle", + "//chrome/browser/ash/arc/intent_helper", + "//chrome/browser/ash/arc/memory_pressure", + "//chrome/browser/ash/arc/metrics", + "//chrome/browser/ash/arc/nearby_share", + "//chrome/browser/ash/arc/nearby_share/ui", + "//chrome/browser/ash/arc/net", + "//chrome/browser/ash/arc/notification", + "//chrome/browser/ash/arc/optin", + "//chrome/browser/ash/arc/pip", + "//chrome/browser/ash/arc/policy", + "//chrome/browser/ash/arc/print_spooler", + "//chrome/browser/ash/arc/process", + "//chrome/browser/ash/arc/screen_capture", + "//chrome/browser/ash/arc/session", + "//chrome/browser/ash/arc/tracing", + "//chrome/browser/ash/arc/tts", + "//chrome/browser/ash/arc/vmm", + "//chrome/browser/ash/arc/window_predictor", + "//chrome/browser/ash/assistant", + "//chrome/browser/ash/attestation", + "//chrome/browser/ash/audio", + "//chrome/browser/ash/auth", + "//chrome/browser/ash/bluetooth", + "//chrome/browser/ash/boca", + "//chrome/browser/ash/boca/on_task", + "//chrome/browser/ash/borealis", + "//chrome/browser/ash/bruschetta", + "//chrome/browser/ash/calendar", + "//chrome/browser/ash/camera", + "//chrome/browser/ash/camera_mic", + "//chrome/browser/ash/cert_provisioning", + "//chrome/browser/ash/child_accounts", + "//chrome/browser/ash/child_accounts/on_device_controls", + "//chrome/browser/ash/child_accounts/parent_access_code", + "//chrome/browser/ash/child_accounts/time_limits", + "//chrome/browser/ash/crosapi", + "//chrome/browser/ash/crostini", + "//chrome/browser/ash/cryptauth", + "//chrome/browser/ash/customization", + "//chrome/browser/ash/dbus", + "//chrome/browser/ash/dbus/vm", + "//chrome/browser/ash/device_name", + "//chrome/browser/ash/device_sync", + "//chrome/browser/ash/drive", + "//chrome/browser/ash/early_prefs", + "//chrome/browser/ash/eche_app", + "//chrome/browser/ash/eol", + "//chrome/browser/ash/events", + "//chrome/browser/ash/exo", + "//chrome/browser/ash/extended_updates", + "//chrome/browser/ash/extensions", + "//chrome/browser/ash/extensions/autotest_private", + "//chrome/browser/ash/extensions/file_manager", + "//chrome/browser/ash/extensions/speech", + "//chrome/browser/ash/extensions/users_private", + "//chrome/browser/ash/external_metrics", + "//chrome/browser/ash/file_manager", + "//chrome/browser/ash/file_manager/virtual_tasks", + "//chrome/browser/ash/file_suggest", + "//chrome/browser/ash/file_system_provider", + "//chrome/browser/ash/file_system_provider/fileapi", + "//chrome/browser/ash/fileapi", + "//chrome/browser/ash/first_run", + "//chrome/browser/ash/floating_workspace", + "//chrome/browser/ash/fusebox", + "//chrome/browser/ash/geolocation", + "//chrome/browser/ash/growth", + "//chrome/browser/ash/guest_os", + "//chrome/browser/ash/guest_os/public", + "//chrome/browser/ash/hats", + "//chrome/browser/ash/input_device_settings", + "//chrome/browser/ash/input_method", + "//chrome/browser/ash/kcer", + "//chrome/browser/ash/kcer/nssdb_migration", + "//chrome/browser/ash/kerberos", + "//chrome/browser/ash/lobster", + "//chrome/browser/ash/locale", + "//chrome/browser/ash/lock_screen_apps", + "//chrome/browser/ash/login", + "//chrome/browser/ash/login/app_mode", + "//chrome/browser/ash/login/auth", + "//chrome/browser/ash/login/demo_mode", + "//chrome/browser/ash/login/enrollment", + "//chrome/browser/ash/login/extensions", + "//chrome/browser/ash/login/lock", + "//chrome/browser/ash/login/osauth", + "//chrome/browser/ash/login/quick_unlock", + "//chrome/browser/ash/login/reporting", + "//chrome/browser/ash/login/saml", + "//chrome/browser/ash/login/screens", + "//chrome/browser/ash/login/screens/osauth", + "//chrome/browser/ash/login/session", + "//chrome/browser/ash/login/signin", + "//chrome/browser/ash/login/smart_lock", + "//chrome/browser/ash/login/users", + "//chrome/browser/ash/login/users/avatar", + "//chrome/browser/ash/magic_boost", + "//chrome/browser/ash/mahi", + "//chrome/browser/ash/mahi:mahi_availability", + "//chrome/browser/ash/nearby", + "//chrome/browser/ash/nearby/presence", + "//chrome/browser/ash/net", + "//chrome/browser/ash/net/dns_over_https", + "//chrome/browser/ash/net/network_diagnostics", + "//chrome/browser/ash/net/network_health", + "//chrome/browser/ash/net/rollback_network_config", + "//chrome/browser/ash/note_taking", + "//chrome/browser/ash/notifications", + "//chrome/browser/ash/os_feedback", + "//chrome/browser/ash/ownership", + "//chrome/browser/ash/phonehub", + "//chrome/browser/ash/platform_keys", + "//chrome/browser/ash/platform_keys/key_permissions", + "//chrome/browser/ash/plugin_vm", + "//chrome/browser/ash/policy/core", + "//chrome/browser/ash/policy/dlp", + "//chrome/browser/ash/policy/dlp/dialogs", + "//chrome/browser/ash/policy/enrollment", + "//chrome/browser/ash/policy/external_data", + "//chrome/browser/ash/policy/handlers", + "//chrome/browser/ash/policy/invalidation", + "//chrome/browser/ash/policy/login", + "//chrome/browser/ash/policy/multi_screen_capture", + "//chrome/browser/ash/policy/remote_commands", + "//chrome/browser/ash/policy/remote_commands/crd", + "//chrome/browser/ash/policy/reporting", + "//chrome/browser/ash/policy/reporting/event_based_logs/event_observers", + "//chrome/browser/ash/policy/reporting/os_updates", + "//chrome/browser/ash/policy/reporting/user_added_removed", + "//chrome/browser/ash/policy/scheduled_task_handler", + "//chrome/browser/ash/policy/server_backed_state", + "//chrome/browser/ash/policy/skyvault", + "//chrome/browser/ash/policy/status_collector", + "//chrome/browser/ash/policy/uploading", + "//chrome/browser/ash/power", + "//chrome/browser/ash/power/auto_screen_brightness", + "//chrome/browser/ash/power/ml", + "//chrome/browser/ash/power/smart_charging", + "//chrome/browser/ash/preferences", + "//chrome/browser/ash/printing", + "//chrome/browser/ash/printing/enterprise", + "//chrome/browser/ash/printing/history", + "//chrome/browser/ash/printing/print_management", + "//chrome/browser/ash/privacy_hub", + "//chrome/browser/ash/profiles", + "//chrome/browser/ash/profiles:signin_profile_handler", + "//chrome/browser/ash/quick_pair", + "//chrome/browser/ash/release_notes", + "//chrome/browser/ash/report_controller_initializer", + "//chrome/browser/ash/sanitize", + "//chrome/browser/ash/scanning", + "//chrome/browser/ash/settings", + "//chrome/browser/ash/sharesheet", + "//chrome/browser/ash/shimless_rma", + "//chrome/browser/ash/smb_client", + "//chrome/browser/ash/sparky", + "//chrome/browser/ash/sync", + "//chrome/browser/ash/system", + "//chrome/browser/ash/system_logs", + "//chrome/browser/ash/system_web_apps", + "//chrome/browser/ash/system_web_apps/apps", + "//chrome/browser/ash/system_web_apps/apps/camera_app", + "//chrome/browser/ash/system_web_apps/apps/help_app", + "//chrome/browser/ash/system_web_apps/apps/media_app", + "//chrome/browser/ash/system_web_apps/apps/personalization_app", + "//chrome/browser/ash/system_web_apps/apps/recorder_app", + "//chrome/browser/ash/tpm", + "//chrome/browser/ash/trusted_vault", + "//chrome/browser/ash/u2f", + "//chrome/browser/ash/usb", + "//chrome/browser/ash/video_conference", + "//chrome/browser/ash/wallpaper_handlers", + "//chrome/browser/chromeos/tablet_mode", + "//chrome/browser/support_tool/ash", + "//chrome/browser/ui/ash", + "//chrome/browser/ui/ash/accelerator", + "//chrome/browser/ui/ash/accessibility", + "//chrome/browser/ui/ash/annotator", + "//chrome/browser/ui/ash/app_access", + "//chrome/browser/ui/ash/arc", + "//chrome/browser/ui/ash/assistant", + "//chrome/browser/ui/ash/birch", + "//chrome/browser/ui/ash/main_extra_parts", + "//chrome/browser/ui/ash/capture_mode", + "//chrome/browser/ui/ash/clipboard", + "//chrome/browser/ui/ash/desks", + "//chrome/browser/ui/ash/device_scheduled_reboot", + "//chrome/browser/ui/ash/download_status", + "//chrome/browser/ui/ash/focus_mode", + "//chrome/browser/ui/ash/game_dashboard", + "//chrome/browser/ui/ash/glanceables", + "//chrome/browser/ui/ash/global_media_controls", + "//chrome/browser/ui/ash/google_one", + "//chrome/browser/ui/ash/holding_space", + "//chrome/browser/ui/ash/in_session_auth", + "//chrome/browser/ui/ash/keyboard", + "//chrome/browser/ui/ash/login", + "//chrome/browser/ui/ash/media_client", + "//chrome/browser/ui/ash/multi_user", + "//chrome/browser/ui/ash/network", + "//chrome/browser/ui/ash/new_window", + "//chrome/browser/ui/ash/picker", + "//chrome/browser/ui/ash/projector", + "//chrome/browser/ui/ash/session", + "//chrome/browser/ui/ash/sharesheet", + "//chrome/browser/ui/ash/shelf", + "//chrome/browser/ui/ash/shelf/app_service", + "//chrome/browser/ui/ash/shell_delegate", + "//chrome/browser/ui/ash/system", + "//chrome/browser/ui/ash/user_education", + "//chrome/browser/ui/ash/wallpaper", + "//chrome/browser/ui/ash/web_view", + "//chrome/browser/ui/views/borealis", + "//chrome/browser/ui/views/select_file_dialog_extension", + "//chrome/browser/ui/webui/ash/arc_overview_tracing", + "//chrome/browser/ui/webui/ash/arc_power_control", + "//chrome/browser/ui/webui/ash/assistant_optin", + "//chrome/browser/ui/webui/ash/borealis_installer", + "//chrome/browser/ui/webui/ash/cellular_setup", + "//chrome/browser/ui/webui/ash/cloud_upload", + "//chrome/browser/ui/webui/ash/diagnostics_dialog", + "//chrome/browser/ui/webui/ash/drive_internals", + "//chrome/browser/ui/webui/ash/skyvault", + "//chrome/browser/ui/webui/ash/edu_coexistence", + "//chrome/browser/ui/webui/ash/emoji", + "//chrome/browser/ui/webui/ash/add_supervision", + "//chrome/browser/ui/webui/ash/enterprise_reporting", + "//chrome/browser/ui/webui/ash/extended_updates", + "//chrome/browser/ui/webui/ash/kerberos", + "//chrome/browser/ui/webui/ash/lock_screen_reauth", + "//chrome/browser/ui/webui/ash/login", + "//chrome/browser/ui/webui/ash/login/testapi", + "//chrome/browser/ui/webui/ash/multidevice_setup", + "//chrome/browser/ui/webui/ash/parent_access", + "//chrome/browser/ui/webui/ash/sensor_info", + "//chrome/browser/ui/webui/ash/lobster", + "//chrome/browser/ui/webui/ash/network_ui", + "//chrome/browser/ui/webui/ash/sanitize_dialog", + "//chrome/browser/ui/webui/ash/settings", + "//chrome/browser/ui/webui/ash/settings/calculator", + "//chrome/browser/ui/webui/ash/settings/pages/a11y", + "//chrome/browser/ui/webui/ash/settings/pages/about", + "//chrome/browser/ui/webui/ash/settings/pages/crostini", + "//chrome/browser/ui/webui/ash/settings/pages/date_time", + "//chrome/browser/ui/webui/ash/settings/pages/device", + "//chrome/browser/ui/webui/ash/settings/pages/device/input_device_settings", + "//chrome/browser/ui/webui/ash/settings/pages/files", + "//chrome/browser/ui/webui/ash/settings/pages/main", + "//chrome/browser/ui/webui/ash/settings/pages/multidevice", + "//chrome/browser/ui/webui/ash/settings/pages/people", + "//chrome/browser/ui/webui/ash/settings/pages/printing", + "//chrome/browser/ui/webui/ash/settings/pages/privacy", + "//chrome/browser/ui/webui/ash/settings/pages/storage", + "//chrome/browser/ui/webui/ash/settings/services/metrics", + "//chrome/browser/ui/webui/ash/settings/services/settings_manager", + "//chrome/browser/ui/webui/ash/system_web_dialog", + "//chrome/browser/ui/webui/nearby_share", + "//chrome/browser/ui/webui/signin/ash", + ] + + if (is_chrome_branded) { + deps += [ "//chrome/browser/nearby_sharing/internal/icons:vector_icons" ] + } + + if (target_cpu == "x64") { + sources += [ + "performance_manager/mechanisms/userspace_swap_chromeos.cc", + "performance_manager/mechanisms/userspace_swap_chromeos.h", + "performance_manager/policies/userspace_swap_policy_chromeos.cc", + "performance_manager/policies/userspace_swap_policy_chromeos.h", + ] + + deps += [ + "//chromeos/ash/components/memory/userspace_swap", + "//chromeos/ash/components/memory/userspace_swap:mojom", + ] + } + + if (!is_official_build) { + deps += [ + "//ash/webui/sample_system_web_app_ui", + "//ash/webui/sample_system_web_app_ui/mojom:mojo_bindings", + ] + } + + if (enable_cros_libassistant) { + deps += [ "//chromeos/ash/services/libassistant/public/mojom" ] + } + + if (enable_server_based_recognition) { + deps += [ "//chrome/services/speech/internal:lib" ] + } + + if (is_cfm) { + deps += [ + "//chrome/browser/ash/chromebox_for_meetings/browser", + "//chrome/browser/ash/chromebox_for_meetings/xu_camera", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + "//chrome/browser/ash/chromebox_for_meetings/browser", + "//chrome/browser/ash/chromebox_for_meetings/xu_camera", + ] + } + } else { # Non - Ash. + sources += [ + "enterprise/remote_commands/clear_browsing_data_job.cc", + "enterprise/remote_commands/clear_browsing_data_job.h", + "enterprise/remote_commands/job_profile_picker.cc", + "enterprise/remote_commands/job_profile_picker.h", + "enterprise/remote_commands/user_remote_commands_factory.cc", + "enterprise/remote_commands/user_remote_commands_factory.h", + "enterprise/remote_commands/user_remote_commands_service.cc", + "enterprise/remote_commands/user_remote_commands_service.h", + "enterprise/remote_commands/user_remote_commands_service_factory.cc", + "enterprise/remote_commands/user_remote_commands_service_factory.h", + "enterprise/reporting/cloud_profile_reporting_service.cc", + "enterprise/reporting/cloud_profile_reporting_service.h", + "enterprise/reporting/cloud_profile_reporting_service_factory.cc", + "enterprise/reporting/cloud_profile_reporting_service_factory.h", + "fullscreen.h", + "policy/cloud/user_policy_signin_service_factory.cc", + "policy/cloud/user_policy_signin_service_factory.h", + "policy/cloud/user_policy_signin_service_util.cc", + "policy/cloud/user_policy_signin_service_util.h", + "profiles/gaia_info_update_service.cc", + "profiles/gaia_info_update_service.h", + "profiles/gaia_info_update_service_factory.cc", + "profiles/gaia_info_update_service_factory.h", + "signin/chrome_signin_and_sync_status_metrics_provider.cc", + "signin/chrome_signin_and_sync_status_metrics_provider.h", + ] + } + + if (is_chromeos_lacros) { + sources += [ + "accessibility/live_caption/live_caption_surface.cc", + "accessibility/live_caption/live_caption_surface.h", + "apps/digital_goods/digital_goods_factory_stub.cc", + "apps/digital_goods/digital_goods_factory_stub.h", + "apps/digital_goods/digital_goods_lacros.cc", + "apps/digital_goods/digital_goods_lacros.h", + "chrome_browser_main_parts_lacros.cc", + "chrome_browser_main_parts_lacros.h", + "lacros/app_mode/chrome_kiosk_launch_controller_lacros.cc", + "lacros/app_mode/chrome_kiosk_launch_controller_lacros.h", + "lacros/app_mode/device_local_account_extension_installer_lacros.cc", + "lacros/app_mode/device_local_account_extension_installer_lacros.h", + "lacros/app_mode/kiosk_session_service_lacros.cc", + "lacros/app_mode/kiosk_session_service_lacros.h", + "lacros/app_mode/web_kiosk_installer_lacros.cc", + "lacros/app_mode/web_kiosk_installer_lacros.h", + "lacros/arc/arc_icon_cache.cc", + "lacros/arc/arc_icon_cache.h", + "lacros/arc/arc_intent_helper_mojo_lacros.cc", + "lacros/arc/arc_intent_helper_mojo_lacros.h", + "lacros/automation_manager_lacros.cc", + "lacros/automation_manager_lacros.h", + "lacros/browser_launcher.cc", + "lacros/browser_launcher.h", + "lacros/browser_service_lacros.cc", + "lacros/browser_service_lacros.h", + "lacros/cert/cert_db_initializer.h", + "lacros/cert/cert_db_initializer_factory.cc", + "lacros/cert/cert_db_initializer_factory.h", + "lacros/cert/cert_db_initializer_impl.cc", + "lacros/cert/cert_db_initializer_impl.h", + "lacros/cert/cert_db_initializer_io_impl.cc", + "lacros/cert/cert_db_initializer_io_impl.h", + "lacros/cert/client_cert_store_lacros.cc", + "lacros/cert/client_cert_store_lacros.h", + "lacros/chrome_browser_main_extra_parts_lacros.cc", + "lacros/chrome_browser_main_extra_parts_lacros.h", + "lacros/clipboard_history_lacros.cc", + "lacros/clipboard_history_lacros.h", + "lacros/cloud_file_system_path_cache.cc", + "lacros/cloud_file_system_path_cache.h", + "lacros/debug_interface_lacros.cc", + "lacros/debug_interface_lacros.h", + "lacros/desk_profiles_lacros.cc", + "lacros/desk_profiles_lacros.h", + "lacros/desk_template_client_lacros.cc", + "lacros/desk_template_client_lacros.h", + "lacros/device_oauth2_token_service_lacros.cc", + "lacros/device_oauth2_token_service_lacros.h", + "lacros/device_settings_lacros.cc", + "lacros/device_settings_lacros.h", + "lacros/download_controller_client_lacros.cc", + "lacros/download_controller_client_lacros.h", + "lacros/drivefs_native_message_host_bridge_lacros.cc", + "lacros/drivefs_native_message_host_bridge_lacros.h", + "lacros/drivefs_native_message_host_lacros.cc", + "lacros/drivefs_native_message_host_lacros.h", + "lacros/embedded_a11y_manager_lacros.cc", + "lacros/embedded_a11y_manager_lacros.h", + "lacros/external_protocol_dialog.cc", + "lacros/feedback_util.cc", + "lacros/feedback_util.h", + "lacros/field_trial_observer.cc", + "lacros/field_trial_observer.h", + "lacros/file_change_service_bridge.cc", + "lacros/file_change_service_bridge.h", + "lacros/file_change_service_bridge_factory.cc", + "lacros/file_change_service_bridge_factory.h", + "lacros/for_which_extension_type.cc", + "lacros/for_which_extension_type.h", + "lacros/force_installed_tracker_lacros.cc", + "lacros/force_installed_tracker_lacros.h", + "lacros/full_restore_client_lacros.cc", + "lacros/full_restore_client_lacros.h", + "lacros/fullscreen_controller_client_lacros.cc", + "lacros/fullscreen_controller_client_lacros.h", + "lacros/geolocation/system_geolocation_source_lacros.cc", + "lacros/geolocation/system_geolocation_source_lacros.h", + "lacros/guest_os/vm_sk_forwarding_native_message_host.cc", + "lacros/guest_os/vm_sk_forwarding_native_message_host.h", + "lacros/guest_os/vm_sk_forwarding_service.cc", + "lacros/guest_os/vm_sk_forwarding_service.h", + "lacros/identity_manager_lacros.cc", + "lacros/identity_manager_lacros.h", + "lacros/lacros_apps_publisher.cc", + "lacros/lacros_apps_publisher.h", + "lacros/lacros_extension_apps_controller.cc", + "lacros/lacros_extension_apps_controller.h", + "lacros/lacros_extension_apps_publisher.cc", + "lacros/lacros_extension_apps_publisher.h", + "lacros/lacros_extensions_util.cc", + "lacros/lacros_extensions_util.h", + "lacros/lacros_file_system_provider.cc", + "lacros/lacros_file_system_provider.h", + "lacros/lacros_memory_pressure_evaluator.cc", + "lacros/lacros_memory_pressure_evaluator.h", + "lacros/lacros_prefs.cc", + "lacros/lacros_prefs.h", + "lacros/lacros_url_handling.cc", + "lacros/lacros_url_handling.h", + "lacros/launcher_search/search_controller_factory_lacros.cc", + "lacros/launcher_search/search_controller_factory_lacros.h", + "lacros/launcher_search/search_controller_lacros.cc", + "lacros/launcher_search/search_controller_lacros.h", + "lacros/magic_boost_state_lacros.cc", + "lacros/magic_boost_state_lacros.h", + "lacros/media_app_lacros.cc", + "lacros/media_app_lacros.h", + "lacros/metrics_reporting_observer.cc", + "lacros/metrics_reporting_observer.h", + "lacros/multitask_menu_nudge_delegate_lacros.cc", + "lacros/multitask_menu_nudge_delegate_lacros.h", + "lacros/net/lacros_extension_proxy_tracker.cc", + "lacros/net/lacros_extension_proxy_tracker.h", + "lacros/net/network_change_manager_bridge.cc", + "lacros/net/network_change_manager_bridge.h", + "lacros/net/network_settings_observer.cc", + "lacros/net/network_settings_observer.h", + "lacros/net/network_settings_translation.h", + "lacros/net/network_settings_translation_crosapi.cc", + "lacros/net/network_settings_translation_net_proxy.cc", + "lacros/net/proxy_config_service_lacros.cc", + "lacros/net/proxy_config_service_lacros.h", + "lacros/prefs_ash_observer.cc", + "lacros/prefs_ash_observer.h", + "lacros/profile_loader.cc", + "lacros/profile_loader.h", + "lacros/profile_util.cc", + "lacros/profile_util.h", + "lacros/remote_apps/remote_apps_proxy_lacros.cc", + "lacros/remote_apps/remote_apps_proxy_lacros.h", + "lacros/remote_apps/remote_apps_proxy_lacros_factory.cc", + "lacros/remote_apps/remote_apps_proxy_lacros_factory.h", + "lacros/screen_orientation_delegate_lacros.cc", + "lacros/screen_orientation_delegate_lacros.h", + "lacros/suggestion_service_lacros.cc", + "lacros/suggestion_service_lacros.h", + "lacros/sync/crosapi_session_sync_favicon_delegate.cc", + "lacros/sync/crosapi_session_sync_favicon_delegate.h", + "lacros/sync/crosapi_session_sync_notifier.cc", + "lacros/sync/crosapi_session_sync_notifier.h", + "lacros/sync/sync_crosapi_manager_lacros.cc", + "lacros/sync/sync_crosapi_manager_lacros.h", + "lacros/sync/sync_explicit_passphrase_client_lacros.cc", + "lacros/sync/sync_explicit_passphrase_client_lacros.h", + "lacros/sync/sync_user_settings_client_lacros.cc", + "lacros/sync/sync_user_settings_client_lacros.h", + "lacros/system_logs/lacros_system_log_fetcher.cc", + "lacros/system_logs/lacros_system_log_fetcher.h", + "lacros/task_manager_lacros.cc", + "lacros/task_manager_lacros.h", + "lacros/trusted_vault/crosapi_trusted_vault_client.cc", + "lacros/trusted_vault/crosapi_trusted_vault_client.h", + "lacros/views_text_services_context_menu_lacros.cc", + "lacros/views_text_services_context_menu_lacros.h", + "lacros/vpn_extension_tracker_lacros.cc", + "lacros/vpn_extension_tracker_lacros.h", + "lacros/web_app_provider_bridge_lacros.cc", + "lacros/web_app_provider_bridge_lacros.h", + "lacros/web_contents_can_go_back_observer.cc", + "lacros/web_contents_can_go_back_observer.h", + "lacros/web_page_info_lacros.cc", + "lacros/web_page_info_lacros.h", + "lacros/webauthn_request_registrar_lacros.cc", + "lacros/webauthn_request_registrar_lacros.h", + "metrics/enrollment_status.h", + "metrics/lacros_metrics_provider.cc", + "metrics/lacros_metrics_provider.h", + "metrics/structured/lacros_structured_metrics_delegate.cc", + "metrics/structured/lacros_structured_metrics_delegate.h", + "notifications/notification_platform_bridge_chromeos.cc", + "notifications/notification_platform_bridge_chromeos.h", + "notifications/notification_platform_bridge_delegate.h", + "notifications/notification_platform_bridge_lacros.cc", + "notifications/notification_platform_bridge_lacros.h", + "platform_util_lacros.cc", + "policy/status_provider/ash_lacros_policy_stack_bridge.cc", + "policy/status_provider/ash_lacros_policy_stack_bridge.h", + "policy/status_provider/user_policy_status_provider_lacros.cc", + "policy/status_provider/user_policy_status_provider_lacros.h", + "signin/signin_ui_delegate_impl_lacros.cc", + "signin/signin_ui_delegate_impl_lacros.h", + "speech/tts_client_factory_lacros.cc", + "speech/tts_client_factory_lacros.h", + "speech/tts_client_lacros.cc", + "speech/tts_client_lacros.h", + "speech/tts_external_platform_delegate_impl_lacros.cc", + "speech/tts_external_platform_delegate_impl_lacros.h", + "speech/tts_lacros.cc", + "speech/tts_lacros.h", + "ui/lacros/float_controller_lacros.cc", + "ui/lacros/float_controller_lacros.h", + "ui/lacros/immersive_context_lacros.cc", + "ui/lacros/immersive_context_lacros.h", + "ui/lacros/screen_capture_notification_ui_lacros.cc", + "ui/lacros/screen_capture_notification_ui_lacros.h", + "ui/lacros/snap_controller_lacros.cc", + "ui/lacros/snap_controller_lacros.h", + "ui/lacros/window_pin_util_lacros.cc", + "ui/lacros/window_properties.cc", + "ui/lacros/window_properties.h", + "ui/lacros/window_utility.cc", + "ui/lacros/window_utility.h", + ] + deps += [ + "//chrome/browser/apps:icon_standardizer", + "//chrome/browser/apps/app_service/app_icon", + "//chrome/browser/chromeos/drivefs", + "//chrome/browser/chromeos/extensions/accessibility_service_private", + "//chrome/browser/chromeos/extensions/vpn_provider", + "//chrome/browser/chromeos/extensions/web_file_handlers", + "//chrome/browser/chromeos/extensions/wm", + "//chrome/browser/chromeos/full_restore", + "//chrome/browser/chromeos/launcher_search:search_util", + "//chrome/browser/chromeos/office_web_app", + "//chrome/browser/chromeos/smart_reader", + "//chrome/browser/chromeos/tablet_mode", + "//chrome/browser/chromeos/tast_support", + "//chrome/browser/lacros/account_manager", + "//chrome/browser/lacros/account_manager:impl", + "//chrome/browser/lacros/cros_apps/api/diagnostics", + "//chrome/browser/ui/aura/accessibility", + "//chrome/common/chromeos/extensions", + "//chromeos/crosapi/cpp", + "//chromeos/crosapi/cpp:crosapi_constants", + "//chromeos/crosapi/mojom", + "//chromeos/dbus/dlp:dlp", + "//chromeos/lacros", + "//chromeos/lacros:lacros_paths", + "//chromeos/lacros/dbus", + "//chromeos/startup", + "//chromeos/startup:constants", + "//chromeos/startup:startup", + "//chromeos/ui/base", + "//chromeos/ui/clipboard_history", + "//chromeos/ui/frame", + "//chromeos/ui/wm", + "//components/arc/common", + "//components/memory_pressure", + "//components/policy/content:content", + "//components/reporting/metrics:metrics_data_collection", + "//extensions/browser/updater", + "//ui/chromeos/strings:strings_grit", + "//ui/chromeos/styles:cros_styles_views", + "//ui/platform_window", + "//ui/strings:ui_strings_grit", + ] + + allow_circular_includes_from += [ + "//chrome/browser/chromeos/tablet_mode", + "//chrome/browser/chromeos/extensions/accessibility_service_private", + "//chrome/browser/lacros/account_manager:impl", + ] + + # component builds are not compatible on device. + assert(!is_chromeos_device || !is_component_build) + } else { #!is_chromeos_lacros + deps += [ "//chrome/browser/ui/webui/bluetooth_internals" ] + } + + if (is_chromeos) { + sources += [ + "apps/intent_helper/chromeos_disabled_apps_throttle.cc", + "apps/intent_helper/chromeos_disabled_apps_throttle.h", + "browser_process_platform_part_chromeos.cc", + "browser_process_platform_part_chromeos.h", + "certificate_provider/certificate_provider.h", + "certificate_provider/certificate_provider_service.cc", + "certificate_provider/certificate_provider_service.h", + "certificate_provider/certificate_provider_service_factory.cc", + "certificate_provider/certificate_provider_service_factory.h", + "certificate_provider/certificate_requests.cc", + "certificate_provider/certificate_requests.h", + "certificate_provider/pin_dialog_manager.cc", + "certificate_provider/pin_dialog_manager.h", + "certificate_provider/security_token_pin_dialog_host.h", + "certificate_provider/security_token_pin_dialog_host_popup_impl.cc", + "certificate_provider/security_token_pin_dialog_host_popup_impl.h", + "certificate_provider/sign_requests.cc", + "certificate_provider/sign_requests.h", + "certificate_provider/thread_safe_certificate_map.cc", + "certificate_provider/thread_safe_certificate_map.h", + "device_notifications/device_pinned_notification_renderer.cc", + "device_notifications/device_pinned_notification_renderer.h", + "device_reauth/chromeos/authenticator_chromeos.cc", + "device_reauth/chromeos/authenticator_chromeos.h", + "device_reauth/chromeos/device_authenticator_chromeos.cc", + "device_reauth/chromeos/device_authenticator_chromeos.h", + "download/notification/download_item_notification.cc", + "download/notification/download_item_notification.h", + "download/notification/download_notification_manager.cc", + "download/notification/download_notification_manager.h", + "file_system_access/cloud_identifier/cloud_identifier_util_cros.cc", + "file_system_access/cloud_identifier/cloud_identifier_util_cros.h", + "hid/hid_pinned_notification.cc", + "hid/hid_pinned_notification.h", + "media/platform_verification_chromeos.cc", + "media/platform_verification_chromeos.h", + "memory/oom_kills_monitor.cc", + "memory/oom_kills_monitor.h", + "metrics/structured/oobe_structured_metrics_watcher.cc", + "metrics/structured/oobe_structured_metrics_watcher.h", + "net/network_annotation_monitor.cc", + "net/network_annotation_monitor.h", + "notifications/passphrase_textfield.cc", + "notifications/passphrase_textfield.h", + "obsolete_system/obsolete_system_stub.cc", + "performance_manager/policies/oom_score_policy_chromeos.cc", + "performance_manager/policies/oom_score_policy_chromeos.h", + "performance_manager/policies/report_page_processes_policy.cc", + "performance_manager/policies/report_page_processes_policy.h", + "policy/annotations/annotation_control.cc", + "policy/annotations/annotation_control.h", + "policy/annotations/blocklist_handler.cc", + "policy/annotations/blocklist_handler.h", + "policy/restricted_mgs_policy_provider.cc", + "policy/restricted_mgs_policy_provider.h", + "policy/system_features_disable_list_policy_handler.cc", + "policy/system_features_disable_list_policy_handler.h", + "renderer_context_menu/read_write_card_observer.cc", + "renderer_context_menu/read_write_card_observer.h", + "screen_ai/screen_ai_downloader_chromeos.cc", + "screen_ai/screen_ai_downloader_chromeos.h", + "signin/signin_ui_chromeos_util.cc", + "signin/signin_ui_chromeos_util.h", + "speech/tts_crosapi_util.cc", + "speech/tts_crosapi_util.h", + "supervised_user/chromeos/chromeos_utils.cc", + "supervised_user/chromeos/chromeos_utils.h", + "supervised_user/chromeos/supervised_user_favicon_request_handler.cc", + "supervised_user/chromeos/supervised_user_favicon_request_handler.h", + "supervised_user/chromeos/supervised_user_web_content_handler_impl.cc", + "supervised_user/chromeos/supervised_user_web_content_handler_impl.h", + "usb/usb_pinned_notification.cc", + "usb/usb_pinned_notification.h", + "webauthn/chromeos/passkey_authenticator.cc", + "webauthn/chromeos/passkey_authenticator.h", + "webauthn/chromeos/passkey_dialog_controller.cc", + "webauthn/chromeos/passkey_dialog_controller.h", + "webauthn/chromeos/passkey_discovery.cc", + "webauthn/chromeos/passkey_discovery.h", + "webauthn/chromeos/passkey_in_session_auth.cc", + "webauthn/chromeos/passkey_in_session_auth.h", + "webauthn/chromeos/passkey_service.cc", + "webauthn/chromeos/passkey_service.h", + "webauthn/chromeos/passkey_service_factory.cc", + "webauthn/chromeos/passkey_service_factory.h", + "webshare/chromeos/sharesheet_client.cc", + "webshare/chromeos/sharesheet_client.h", + ] + + deps += [ + "//ash/webui/projector_app/public/cpp", + "//ash/webui/settings/public/constants", + "//chrome/browser/apps/app_service/app_install:implementation", + "//chrome/browser/apps/app_service/app_install:navigation_throttle", + "//chrome/browser/apps/browser_instance", + "//chrome/browser/chromeos/app_mode", + "//chrome/browser/chromeos/arc", + "//chrome/browser/chromeos/cros_apps", + "//chrome/browser/chromeos/cros_apps/api", + "//chrome/browser/chromeos/drivefs", + "//chrome/browser/chromeos/echo", + "//chrome/browser/chromeos/enterprise", + "//chrome/browser/chromeos/enterprise/cloud_storage", + "//chrome/browser/chromeos/extensions/contact_center_insights", + "//chrome/browser/chromeos/extensions/desk_api", + "//chrome/browser/chromeos/extensions/echo_private", + "//chrome/browser/chromeos/extensions/external_loader", + "//chrome/browser/chromeos/extensions/file_system_provider", + "//chrome/browser/chromeos/extensions/login_screen/login", + "//chrome/browser/chromeos/extensions/login_screen/login/cleanup", + "//chrome/browser/chromeos/extensions/telemetry", + "//chrome/browser/chromeos/extensions/wallpaper", + "//chrome/browser/chromeos/mahi", + "//chrome/browser/chromeos/network", + "//chrome/browser/chromeos/platform_keys", + "//chrome/browser/chromeos/policy/dlp", + "//chrome/browser/chromeos/printing/print_preview", + "//chrome/browser/chromeos/quickoffice", + "//chrome/browser/chromeos/reporting", + "//chrome/browser/chromeos/upload_office_to_cloud", + "//chrome/browser/chromeos/video_conference", + "//chrome/browser/metrics/structured:features", + "//chrome/browser/policy:onc", + "//chrome/browser/ui/chromeos", + "//chrome/browser/ui/chromeos/read_write_cards", + "//chrome/browser/ui/chromeos/read_write_cards:read_write_cards_manager", + "//chrome/browser/ui/quick_answers", + "//chrome/browser/webshare:storage", + "//chrome/common/chromeos/extensions", + "//chromeos/components/cdm_factory_daemon:cdm_factory_daemon_browser", + "//chromeos/components/certificate_provider:certificate_provider", + "//chromeos/components/disks:prefs", + "//chromeos/components/kiosk", + "//chromeos/components/magic_boost/public/cpp:cpp", + "//chromeos/components/mahi/public/cpp", + "//chromeos/components/mgs", + "//chromeos/components/onc:onc", + "//chromeos/components/quick_answers/public/cpp:prefs", + "//chromeos/components/security_token_pin", + "//chromeos/components/webauthn", + "//chromeos/constants", + "//chromeos/crosapi/cpp", + "//chromeos/crosapi/cpp:crosapi_constants", + "//chromeos/crosapi/mojom", + "//chromeos/dbus/constants", + "//chromeos/dbus/power", + "//chromeos/dbus/regmon", + "//chromeos/dbus/regmon:regmon_proto", + "//chromeos/ui/clipboard_history", + "//chromeos/ui/wm", + "//chromeos/version", + "//components/app_constants", + "//components/arc/common", + "//components/arc/common:arc_intent_helper_constants", + "//components/pref_registry:pref_registry", + "//components/prefs:prefs", + "//components/reporting/metrics:metrics_data_collection", + "//components/reporting/proto:metric_data_proto", + "//components/signin/public/identity_manager", + "//components/trusted_vault", + "//components/webapk:proto", + "//components/webauthn/core/browser:passkey_model", + "//device/fido", + "//services/device/public/cpp/geolocation", + "//ui/chromeos/styles:cros_tokens_color_mappings", + "//ui/wm/public", + ] + + if (use_cups) { + deps += [ "//chrome/browser/chromeos/printing" ] + } + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + "//chrome/browser/apps/browser_instance", + "//chrome/browser/chromeos/app_mode", + "//chrome/browser/chromeos/arc", + "//chrome/browser/chromeos/drivefs", + "//chrome/browser/chromeos/extensions/contact_center_insights", + "//chrome/browser/chromeos/extensions/desk_api", + "//chrome/browser/chromeos/extensions/echo_private", + "//chrome/browser/chromeos/extensions/login_screen/login/cleanup", + "//chrome/browser/chromeos/extensions/wallpaper", + "//chrome/browser/chromeos/network", + "//chrome/browser/chromeos/platform_keys", + "//chrome/browser/chromeos/policy/dlp", + "//chrome/browser/chromeos/reporting", + "//chrome/browser/chromeos/upload_office_to_cloud", + "//chrome/browser/chromeos/mahi", + "//chrome/browser/policy:onc", + + # TODO(b/215757706): Find a way to avoid the circular include. + "//chrome/browser/ui/quick_answers", + ] + } else { # !is_chromeos + sources += [ + "policy/browser_signin_policy_handler.cc", + "policy/browser_signin_policy_handler.h", + ] + deps += [ + "//components/reporting/storage:storage_configuration", + "//components/reporting/storage:storage_module", + ] + } + + if (is_mac || is_win) { + sources += [ + "enterprise/platform_auth/platform_auth_navigation_throttle.cc", + "enterprise/platform_auth/platform_auth_navigation_throttle.h", + "enterprise/platform_auth/platform_auth_policy_observer.cc", + "enterprise/platform_auth/platform_auth_policy_observer.h", + "enterprise/platform_auth/platform_auth_provider.h", + "enterprise/platform_auth/platform_auth_provider_manager.cc", + "enterprise/platform_auth/platform_auth_provider_manager.h", + ] + + # Sources(generally "desktop OS importers") used only on Mac & Windows. + sources += [ + "recovery/recovery_install_global_error.cc", + "recovery/recovery_install_global_error.h", + "recovery/recovery_install_global_error_factory.cc", + "recovery/recovery_install_global_error_factory.h", + ] + + deps += [ + "//chrome/browser/updater:browser_updater_client", + "//chrome/common/notifications", + "//chrome/updater:browser_sources", + ] + + # Support for the recovery improved component. + sources += [ + "component_updater/updater_state.cc", + "component_updater/updater_state.h", + ] + deps += [ "//chrome/updater:browser_sources" ] + if (is_mac) { + sources += [ "component_updater/updater_state_mac.mm" ] + } + if (is_win) { + sources += [ "component_updater/updater_state_win.cc" ] + } + } else { + # On other platforms, use the generic implementation. + sources += [ "hang_monitor/hang_crash_dump.cc" ] + } + + if (is_win) { + libs += [ + "secur32.lib", + + # Needed for _variant_t used in browser_dm_token_storage_win.cc + "comsuppw.lib", + ] + sources += [ + "accessibility/caption_settings_dialog.h", + "accessibility/caption_settings_dialog_win.cc", + "badging/badge_manager_delegate_win.cc", + "badging/badge_manager_delegate_win.h", + "browser_switcher/browser_switcher_policy_migrator.cc", + "browser_switcher/browser_switcher_policy_migrator.h", + "browser_switcher/browser_switcher_service_win.cc", + "browser_switcher/browser_switcher_service_win.h", + "chrome_browser_main_win.cc", + "chrome_browser_main_win.h", + "component_updater/recovery_improved_component_installer_win.cc", + "device_reauth/win/authenticator_win.cc", + "device_reauth/win/authenticator_win.h", + "device_reauth/win/device_authenticator_win.cc", + "device_reauth/win/device_authenticator_win.h", + "download/download_status_updater_win.cc", + "download/trusted_sources_manager_win.cc", + "enterprise/platform_auth/cloud_ap_provider_win.cc", + "enterprise/platform_auth/cloud_ap_provider_win.h", + "enterprise/platform_auth/cloud_ap_utils_win.cc", + "enterprise/platform_auth/cloud_ap_utils_win.h", + "enterprise/signals/device_info_fetcher_win.cc", + "enterprise/signals/device_info_fetcher_win.h", + "first_run/first_run_internal_win.cc", + "first_run/upgrade_util_win.cc", + "first_run/upgrade_util_win.h", + "font_prewarmer_tab_helper.cc", + "font_prewarmer_tab_helper.h", + "fullscreen_win.cc", + "hang_monitor/hang_crash_dump_win.cc", + "icon_loader_win.cc", + "importer/firefox_profile_lock_win.cc", + "install_verification/win/module_info.h", + "install_verification/win/module_list.cc", + "install_verification/win/module_list.h", + "install_verification/win/module_verification_common.cc", + "install_verification/win/module_verification_common.h", + "media_galleries/win/mtp_device_delegate_impl_win.cc", + "media_galleries/win/mtp_device_delegate_impl_win.h", + "media_galleries/win/mtp_device_object_entry.cc", + "media_galleries/win/mtp_device_object_entry.h", + "media_galleries/win/mtp_device_object_enumerator.cc", + "media_galleries/win/mtp_device_object_enumerator.h", + "media_galleries/win/mtp_device_operations_util.cc", + "media_galleries/win/mtp_device_operations_util.h", + "media_galleries/win/portable_device_map_service.cc", + "media_galleries/win/portable_device_map_service.h", + "media_galleries/win/snapshot_file_details.cc", + "media_galleries/win/snapshot_file_details.h", + "memory_details_win.cc", + "metrics/antivirus_metrics_provider_win.cc", + "metrics/antivirus_metrics_provider_win.h", + "metrics/google_update_metrics_provider_win.cc", + "metrics/google_update_metrics_provider_win.h", + "metrics/key_credential_manager_support_reporter_win.cc", + "metrics/key_credential_manager_support_reporter_win.h", + "net/chrome_mojo_proxy_resolver_win.cc", + "net/chrome_mojo_proxy_resolver_win.h", + "net/service_providers_win.cc", + "net/service_providers_win.h", + "notifications/notification_platform_bridge_win.cc", + "notifications/notification_platform_bridge_win.h", + "notifications/win/notification_launch_id.cc", + "notifications/win/notification_launch_id.h", + "notifications/win/notification_metrics.cc", + "notifications/win/notification_metrics.h", + "notifications/win/notification_template_builder.cc", + "notifications/win/notification_template_builder.h", + "notifications/win/notification_util.cc", + "notifications/win/notification_util.h", + "obsolete_system/obsolete_system_win.cc", + "password_manager/password_manager_util_win.cc", + "password_manager/password_manager_util_win.h", + "performance_monitor/metric_evaluator_helper_win.cc", + "performance_monitor/metric_evaluator_helper_win.h", + "platform_util_win.cc", + "policy/browser_dm_token_storage_win.cc", + "policy/browser_dm_token_storage_win.h", + "process_singleton_win.cc", + "profile_resetter/triggered_profile_resetter_win.cc", + "profiles/profile_shortcut_manager_win.cc", + "profiles/profile_shortcut_manager_win.h", + "shell_integration_win.cc", + "shell_integration_win.h", + "taskbar/taskbar_decorator_win.cc", + "taskbar/taskbar_decorator_win.h", + "upgrade_detector/get_installed_version_win.cc", + "upgrade_detector/registry_monitor.cc", + "upgrade_detector/registry_monitor.h", + "webauthn/local_credential_management_win.cc", + "webauthn/local_credential_management_win.h", + "webshare/win/share_operation.cc", + "webshare/win/share_operation.h", + "webshare/win/show_share_ui_for_window_operation.cc", + "webshare/win/show_share_ui_for_window_operation.h", + "win/app_icon.cc", + "win/app_icon.h", + "win/automation_controller.cc", + "win/automation_controller.h", + "win/browser_util.cc", + "win/browser_util.h", + "win/chrome_elf_init.cc", + "win/chrome_elf_init.h", + "win/chrome_select_file_dialog_factory.cc", + "win/chrome_select_file_dialog_factory.h", + "win/conflicts/enumerate_input_method_editors.cc", + "win/conflicts/enumerate_input_method_editors.h", + "win/conflicts/enumerate_shell_extensions.cc", + "win/conflicts/enumerate_shell_extensions.h", + "win/conflicts/inspection_results_cache.cc", + "win/conflicts/inspection_results_cache.h", + "win/conflicts/module_database.cc", + "win/conflicts/module_database.h", + "win/conflicts/module_database_observer.h", + "win/conflicts/module_event_sink_impl.cc", + "win/conflicts/module_event_sink_impl.h", + "win/conflicts/module_inspector.cc", + "win/conflicts/module_inspector.h", + "win/conflicts/third_party_metrics_recorder.cc", + "win/conflicts/third_party_metrics_recorder.h", + "win/icon_reader_service.cc", + "win/icon_reader_service.h", + "win/jumplist.cc", + "win/jumplist.h", + "win/jumplist_factory.cc", + "win/jumplist_factory.h", + "win/jumplist_file_util.cc", + "win/jumplist_file_util.h", + "win/jumplist_update_util.cc", + "win/jumplist_update_util.h", + "win/jumplist_updater.cc", + "win/jumplist_updater.h", + "win/parental_controls.cc", + "win/parental_controls.h", + "win/remove_app_compat_entries.cc", + "win/remove_app_compat_entries.h", + "win/settings_app_monitor.cc", + "win/settings_app_monitor.h", + "win/titlebar_config.cc", + "win/ui_automation_util.cc", + "win/ui_automation_util.h", + "win/uninstallation_via_os_settings.cc", + "win/uninstallation_via_os_settings.h", + "win/util_win_service.cc", + "win/util_win_service.h", + ] + + deps += [ + ":chrome_process_finder", + "//chrome/app:chrome_exe_main_exports", + "//chrome/app/theme:chrome_unscaled_resources_grit", + "//chrome/browser/os_crypt", + "//chrome/browser/shortcuts", + "//chrome/browser/web_applications/chrome_pwa_launcher:util", + "//chrome/browser/win:mica_titlebar", + "//chrome/browser/win/conflicts:module_info", + "//chrome/chrome_elf:constants", + "//chrome/chrome_elf:dll_hash", + "//chrome/chrome_elf:third_party_shared_defines", + "//chrome/common:version_header", + "//chrome/credential_provider/common:common_constants", + "//chrome/elevation_service:public_headers", + "//chrome/install_static:install_static_util", + "//chrome/installer/util:with_no_strings", + "//chrome/notification_helper:constants", + "//chrome/services/util_win/public/mojom", + "//chrome/updater/app/server/win:updater_legacy_idl", + "//components/app_launch_prefetch", + "//components/crash/core/app", + "//components/crash/core/app:crash_export_thunk_include", + "//components/os_crypt/async/browser:dpapi_key_provider", + "//sandbox/win:sandbox", + "//services/proxy_resolver_win/public/mojom", + "//third_party/crashpad/crashpad/client", + "//third_party/iaccessible2", + "//third_party/isimpledom", + "//third_party/wtl", + "//ui/aura_extra", + "//ui/base:fullscreen_win", + "//ui/color:accent_color_observer", + "//ui/display/util:util", + ] + + all_dependent_configs = [ ":browser_win_linker_flags" ] + + if (is_chrome_branded) { + deps += [ + "//chrome/chrome_elf:sha1", + "//chrome/chrome_elf:third_party_shared_defines", + "//chrome/updater/app/server/win:updater_legacy_idl", + ] + libs += [ "msi.lib" ] + sources += [ + "component_updater/third_party_module_list_component_installer_win.cc", + "component_updater/third_party_module_list_component_installer_win.h", + "policy/status_provider/updater_status_and_value_provider.cc", + "policy/status_provider/updater_status_and_value_provider.h", + "win/conflicts/incompatible_applications_updater.cc", + "win/conflicts/incompatible_applications_updater.h", + "win/conflicts/installed_applications.cc", + "win/conflicts/installed_applications.h", + "win/conflicts/module_blocklist_cache_updater.cc", + "win/conflicts/module_blocklist_cache_updater.h", + "win/conflicts/module_blocklist_cache_util.cc", + "win/conflicts/module_blocklist_cache_util.h", + "win/conflicts/module_list_component_updater.cc", + "win/conflicts/module_list_component_updater.h", + "win/conflicts/module_list_filter.cc", + "win/conflicts/module_list_filter.h", + "win/conflicts/module_load_attempt_log_listener.cc", + "win/conflicts/module_load_attempt_log_listener.h", + "win/conflicts/msi_util.cc", + "win/conflicts/msi_util.h", + "win/conflicts/registry_key_watcher.cc", + "win/conflicts/registry_key_watcher.h", + "win/conflicts/third_party_conflicts_manager.cc", + "win/conflicts/third_party_conflicts_manager.h", + "win/conflicts/token_util.cc", + "win/conflicts/token_util.h", + "win/conflicts/uninstall_application.cc", + "win/conflicts/uninstall_application.h", + ] + } + } else { + # Non - Windows. + sources += [ + "profile_resetter/triggered_profile_resetter_stub.cc", + "profiles/profile_shortcut_manager_stub.cc", + ] + if (toolkit_views) { + deps += [ + "//ui/views", + "//ui/views/controls/webview", + ] + } + } + + if (is_mac) { + sources += [ + "accessibility/caption_settings_dialog.h", + "accessibility/caption_settings_dialog_mac.cc", + "app_controller_mac.h", + "app_controller_mac.mm", + "badging/badge_manager_delegate_mac.cc", + "badging/badge_manager_delegate_mac.h", + "browser_process_platform_part_mac.h", + "browser_process_platform_part_mac.mm", + "chrome_browser_application_mac.h", + "chrome_browser_application_mac.mm", + "chrome_browser_main_mac.h", + "chrome_browser_main_mac.mm", + "component_updater/recovery_improved_component_installer_mac.cc", + "device_reauth/mac/authenticator_mac.h", + "device_reauth/mac/authenticator_mac.mm", + "device_reauth/mac/device_authenticator_mac.h", + "device_reauth/mac/device_authenticator_mac.mm", + "download/download_status_updater_mac.mm", + "download/drag_download_item_mac.mm", + "enterprise/platform_auth/extensible_enterprise_sso_provider_mac.h", + "enterprise/platform_auth/extensible_enterprise_sso_provider_mac.mm", + "enterprise/signals/device_info_fetcher_mac.h", + "enterprise/signals/device_info_fetcher_mac.mm", + "file_select_helper_mac.mm", + "first_run/first_run_internal_mac.mm", + "first_run/upgrade_util_mac.cc", + "fullscreen_mac.mm", + "global_keyboard_shortcuts_mac.h", + "global_keyboard_shortcuts_mac.mm", + "hang_monitor/hang_crash_dump_mac.cc", + "icon_loader_mac.mm", + "lifetime/application_lifetime_mac.mm", + "mac/auth_session_request.h", + "mac/auth_session_request.mm", + "mac/bluetooth_utility.h", + "mac/bluetooth_utility.mm", + "mac/chrome_browser_main_extra_parts_mac.h", + "mac/chrome_browser_main_extra_parts_mac.mm", + "mac/code_sign_clone_manager.h", + "mac/code_sign_clone_manager.mm", + "mac/dock.h", + "mac/dock.mm", + "mac/exception_processor.h", + "mac/exception_processor.mm", + "mac/initial_prefs.h", + "mac/initial_prefs.mm", + "mac/install_from_dmg.h", + "mac/install_from_dmg.mm", + "mac/key_window_notifier.cc", + "mac/key_window_notifier.h", + "mac/metrics.h", + "mac/metrics.mm", + "mac/nsprocessinfo_additions.h", + "mac/nsprocessinfo_additions.mm", + "mac/relauncher.h", + "mac/relauncher.mm", + "media_galleries/mac/mtp_device_delegate_impl_mac.h", + "media_galleries/mac/mtp_device_delegate_impl_mac.mm", + "memory_details_mac.cc", + "metrics/chrome_browser_main_extra_parts_metrics_mac.mm", + "metrics/power/power_metrics_provider_mac.h", + "metrics/power/power_metrics_provider_mac.mm", + "notifications/mac/mac_notification_provider_factory.cc", + "notifications/mac/mac_notification_provider_factory.h", + "notifications/mac/notification_dispatcher_mac.h", + "notifications/mac/notification_dispatcher_mojo.cc", + "notifications/mac/notification_dispatcher_mojo.h", + "notifications/mac/notification_platform_bridge_mac.cc", + "notifications/mac/notification_platform_bridge_mac.h", + "notifications/mac/notification_utils.cc", + "notifications/mac/notification_utils.h", + "obsolete_system/obsolete_system_mac.cc", + "password_manager/password_manager_util_mac.h", + "password_manager/password_manager_util_mac.mm", + "platform_util_mac.mm", + "policy/browser_dm_token_storage_mac.h", + "policy/browser_dm_token_storage_mac.mm", + "process_singleton_mac.mm", + "renderer_host/chrome_render_widget_host_view_mac_delegate.h", + "renderer_host/chrome_render_widget_host_view_mac_delegate.mm", + "shell_integration_mac.mm", + "upgrade_detector/directory_monitor.cc", + "upgrade_detector/directory_monitor.h", + "upgrade_detector/get_installed_version_mac.mm", + "webauthn/chrome_authenticator_request_delegate_mac.mm", + "webauthn/local_credential_management_mac.cc", + "webauthn/local_credential_management_mac.h", + "webshare/mac/sharing_service_operation.h", + "webshare/mac/sharing_service_operation.mm", + ] + deps += [ + "//chrome/app_shim", + "//chrome/browser/apps/app_shim", + "//chrome/browser/renderer_host:history_swiper", + "//chrome/browser/updater:browser_updater_client", + "//chrome/browser/web_applications/os_integration/mac:web_app_shortcut_copier_lib", + "//chrome/browser/webshare:storage", + "//chrome/services/mac_notifications", + "//chrome/services/mac_notifications/public/cpp", + "//chrome/services/mac_notifications/public/mojom", + "//components/crash/core/app", + "//components/metal_util", + "//components/policy/core/common:common_constants", + "//components/remote_cocoa/browser:browser", + "//sandbox/mac:seatbelt", + "//sandbox/policy", + "//services/video_capture/public/mojom:constants", + "//third_party/crashpad/crashpad/client", + "//third_party/google_toolbox_for_mac", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ "//chrome/browser/apps/app_shim" ] + frameworks = [ + "Accelerate.framework", + "AudioUnit.framework", + "AVFoundation.framework", + "AuthenticationServices.framework", + "CoreVideo.framework", # Used for the Thumbnail capturer on macOS. + "DiskArbitration.framework", + "IOKit.framework", + "ImageCaptureCore.framework", + "LocalAuthentication.framework", + "OpenGL.framework", + "QuartzCore.framework", + "SafariServices.framework", + "SecurityInterface.framework", + "UserNotifications.framework", + "UniformTypeIdentifiers.framework", + "VideoToolbox.framework", + ] + weak_frameworks = [ + "ScreenCaptureKit.framework", # Available in macOS 12.3, stable in 13.2. + ] + } + + if (is_android || is_mac || is_win || is_chromeos) { + sources += [ + "device_reauth/chrome_device_authenticator_factory.cc", + "device_reauth/chrome_device_authenticator_factory.h", + ] + } + + if (enterprise_data_controls) { + sources += [ + "//chrome/browser/enterprise/data_protection/data_protection_clipboard_utils.cc", + "//chrome/browser/enterprise/data_protection/data_protection_clipboard_utils.h", + ] + + # TODO(b/352728209): Update the logic for which file compiles on Android + # when the proper methods have been migrated to components/. + if (!is_android) { + sources += [ + "//chrome/browser/enterprise/data_protection/paste_allowed_request.cc", + "//chrome/browser/enterprise/data_protection/paste_allowed_request.h", + ] + } + deps += [ "//chrome/browser/enterprise/data_controls" ] + } + + if (enterprise_client_certificates) { + sources += [ + "enterprise/client_certificates/certificate_provisioning_service_factory.cc", + "enterprise/client_certificates/certificate_provisioning_service_factory.h", + "enterprise/client_certificates/certificate_store_factory.cc", + "enterprise/client_certificates/certificate_store_factory.h", + "enterprise/client_certificates/profile_context_delegate.cc", + "enterprise/client_certificates/profile_context_delegate.h", + ] + deps += [ + "//chrome/browser/enterprise/connectors/device_trust/key_management/core/network", + "//components/enterprise/client_certificates/core", + "//components/enterprise/core", + ] + } + + if (is_linux || is_win || is_mac || is_chromeos_ash) { + sources += [ + "enterprise/connectors/device_trust/device_trust_connector_service.cc", + "enterprise/connectors/device_trust/device_trust_connector_service.h", + "enterprise/connectors/device_trust/device_trust_connector_service_factory.cc", + "enterprise/connectors/device_trust/device_trust_connector_service_factory.h", + "enterprise/connectors/device_trust/device_trust_service.cc", + "enterprise/connectors/device_trust/device_trust_service.h", + "enterprise/connectors/device_trust/device_trust_service_factory.cc", + "enterprise/connectors/device_trust/device_trust_service_factory.h", + "enterprise/connectors/device_trust/navigation_throttle.cc", + "enterprise/connectors/device_trust/navigation_throttle.h", + "enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.cc", + "enterprise/connectors/device_trust/signals/decorators/common/context_signals_decorator.h", + "enterprise/connectors/device_trust/signals/signals_filterer.cc", + "enterprise/connectors/device_trust/signals/signals_filterer.h", + "enterprise/connectors/device_trust/signals/signals_service_factory.cc", + "enterprise/connectors/device_trust/signals/signals_service_factory.h", + "enterprise/connectors/device_trust/signals/signals_service_impl.cc", + "enterprise/connectors/device_trust/signals/signals_service_impl.h", + "enterprise/signals/user_delegate_impl.cc", + "enterprise/signals/user_delegate_impl.h", + "enterprise/signals/user_permission_service_factory.cc", + "enterprise/signals/user_permission_service_factory.h", + + # These policies are only supported on non-lacros desktop + "performance_manager/public/user_tuning/memory_saver_policy_handler.h", + "performance_manager/user_tuning/memory_saver_policy_handler.cc", + "policy/battery_saver_policy_handler.cc", + "policy/battery_saver_policy_handler.h", + ] + deps += [ + "//chrome/browser/enterprise/connectors/device_trust:features", + "//chrome/browser/enterprise/connectors/device_trust/attestation/common", + "//chrome/browser/enterprise/connectors/device_trust/attestation/common:types", + "//chrome/browser/enterprise/connectors/device_trust/common", + "//chrome/browser/enterprise/connectors/device_trust/signals", + "//chrome/browser/enterprise/connectors/device_trust/signals/decorators/common", + "//chrome/browser/ui/device_signals_consent", + "//components/device_signals/core/browser", + "//components/device_signals/core/common", + "//components/enterprise/core", + "//components/enterprise/device_trust", + "//components/policy/proto:proto", + "//services/data_decoder/public/cpp", + ] + } + + if (is_linux || is_win || is_mac || is_android) { + sources += [ + "enterprise/idle/action.cc", + "enterprise/idle/action.h", + "enterprise/idle/action_runner.cc", + "enterprise/idle/action_runner.h", + "enterprise/idle/idle_service.cc", + "enterprise/idle/idle_service.h", + "enterprise/idle/idle_service_factory.cc", + "enterprise/idle/idle_service_factory.h", + ] + deps += [ "//components/enterprise/idle" ] + } + + if (enterprise_cloud_content_analysis || is_android) { + # Use this scope to migrate files/deps from + # `enterprise_cloud_content_analysis` conditions that now need to compile + # on Android. + sources += [ + "enterprise/connectors/analysis/analysis_service_settings.cc", + "enterprise/connectors/analysis/analysis_service_settings.h", + "enterprise/connectors/common.cc", + "enterprise/connectors/common.h", + "enterprise/connectors/connectors_manager.cc", + "enterprise/connectors/connectors_manager.h", + "enterprise/connectors/connectors_service.cc", + "enterprise/connectors/connectors_service.h", + ] + deps += [ + "//chrome/browser/enterprise/connectors/analysis:features", + "//components/enterprise/connectors/core", + ] + } + + if (enterprise_cloud_content_analysis) { + sources += [ + "enterprise/connectors/analysis/content_analysis_delegate.cc", + "enterprise/connectors/analysis/content_analysis_delegate.h", + "enterprise/connectors/analysis/content_analysis_delegate_base.h", + "enterprise/connectors/analysis/content_analysis_dialog.cc", + "enterprise/connectors/analysis/content_analysis_dialog.h", + "enterprise/connectors/analysis/content_analysis_downloads_delegate.cc", + "enterprise/connectors/analysis/content_analysis_downloads_delegate.h", + "enterprise/connectors/analysis/files_request_handler.cc", + "enterprise/connectors/analysis/files_request_handler.h", + "enterprise/connectors/analysis/page_print_analysis_request.cc", + "enterprise/connectors/analysis/page_print_analysis_request.h", + "enterprise/connectors/analysis/request_handler_base.cc", + "enterprise/connectors/analysis/request_handler_base.h", + "enterprise/connectors/reporting/browser_crash_event_router.cc", + "enterprise/connectors/reporting/browser_crash_event_router.h", + "enterprise/connectors/reporting/crash_reporting_context.cc", + "enterprise/connectors/reporting/crash_reporting_context.h", + "enterprise/connectors/reporting/extension_install_event_router.cc", + "enterprise/connectors/reporting/extension_install_event_router.h", + "enterprise/connectors/reporting/extension_telemetry_event_router.cc", + "enterprise/connectors/reporting/extension_telemetry_event_router.h", + "enterprise/connectors/reporting/extension_telemetry_event_router_factory.cc", + "enterprise/connectors/reporting/extension_telemetry_event_router_factory.h", + "enterprise/connectors/reporting/metrics_utils.cc", + "enterprise/connectors/reporting/metrics_utils.h", + "enterprise/connectors/reporting/realtime_reporting_client.cc", + "enterprise/connectors/reporting/realtime_reporting_client.h", + "enterprise/connectors/reporting/realtime_reporting_client_factory.cc", + "enterprise/connectors/reporting/realtime_reporting_client_factory.h", + ] + } + + if (enterprise_local_content_analysis) { + sources += [ + "enterprise/connectors/analysis/local_binary_upload_service.cc", + "enterprise/connectors/analysis/local_binary_upload_service.h", + "enterprise/connectors/analysis/local_binary_upload_service_factory.cc", + "enterprise/connectors/analysis/local_binary_upload_service_factory.h", + ] + public_deps += + [ "//chrome/browser/enterprise/connectors/analysis:sdk_manager" ] + } + + if (is_linux || is_win || is_mac) { + sources += [ + "enterprise/chrome_browser_main_extra_parts_enterprise.cc", + "enterprise/chrome_browser_main_extra_parts_enterprise.h", + "enterprise/connectors/device_trust/attestation/browser/attestation_switches.cc", + "enterprise/connectors/device_trust/attestation/browser/attestation_switches.h", + "enterprise/connectors/device_trust/attestation/browser/attester.h", + "enterprise/connectors/device_trust/attestation/browser/browser_attestation_service.cc", + "enterprise/connectors/device_trust/attestation/browser/browser_attestation_service.h", + "enterprise/connectors/device_trust/attestation/browser/crypto_utility.cc", + "enterprise/connectors/device_trust/attestation/browser/crypto_utility.h", + "enterprise/connectors/device_trust/attestation/browser/device_attester.cc", + "enterprise/connectors/device_trust/attestation/browser/device_attester.h", + "enterprise/connectors/device_trust/attestation/browser/google_keys.cc", + "enterprise/connectors/device_trust/attestation/browser/google_keys.h", + "enterprise/connectors/device_trust/attestation/browser/profile_attester.cc", + "enterprise/connectors/device_trust/attestation/browser/profile_attester.h", + "enterprise/connectors/device_trust/browser/signing_key_policy_observer.cc", + "enterprise/connectors/device_trust/browser/signing_key_policy_observer.h", + "enterprise/connectors/device_trust/signals/decorators/browser/browser_signals_decorator.cc", + "enterprise/connectors/device_trust/signals/decorators/browser/browser_signals_decorator.h", + "enterprise/idle/dialog_manager.cc", + "enterprise/idle/dialog_manager.h", + "enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.cc", + "enterprise/profile_management/oidc_auth_response_capture_navigation_throttle.h", + "enterprise/profile_management/profile_management_features.cc", + "enterprise/profile_management/profile_management_features.h", + "enterprise/profile_management/profile_management_navigation_throttle.cc", + "enterprise/profile_management/profile_management_navigation_throttle.h", + "enterprise/remote_commands/rotate_attestation_credential_job.cc", + "enterprise/remote_commands/rotate_attestation_credential_job.h", + "enterprise/signals/signals_aggregator_factory.cc", + "enterprise/signals/signals_aggregator_factory.h", + "enterprise/signals/system_signals_service_host_factory.cc", + "enterprise/signals/system_signals_service_host_factory.h", + "enterprise/signin/enterprise_signin_prefs.cc", + "enterprise/signin/enterprise_signin_prefs.h", + "enterprise/signin/enterprise_signin_service.cc", + "enterprise/signin/enterprise_signin_service.h", + "enterprise/signin/enterprise_signin_service_factory.cc", + "enterprise/signin/enterprise_signin_service_factory.h", + "enterprise/signin/managed_profile_creator.cc", + "enterprise/signin/managed_profile_creator.h", + "enterprise/signin/oidc_authentication_signin_interceptor.cc", + "enterprise/signin/oidc_authentication_signin_interceptor.h", + "enterprise/signin/oidc_authentication_signin_interceptor_factory.cc", + "enterprise/signin/oidc_authentication_signin_interceptor_factory.h", + "enterprise/signin/oidc_managed_profile_creation_delegate.cc", + "enterprise/signin/oidc_managed_profile_creation_delegate.h", + "enterprise/signin/oidc_metrics_utils.cc", + "enterprise/signin/oidc_metrics_utils.h", + "enterprise/signin/profile_token_web_signin_interceptor.cc", + "enterprise/signin/profile_token_web_signin_interceptor.h", + "enterprise/signin/profile_token_web_signin_interceptor_factory.cc", + "enterprise/signin/profile_token_web_signin_interceptor_factory.h", + "enterprise/signin/token_managed_profile_creation_delegate.cc", + "enterprise/signin/token_managed_profile_creation_delegate.h", + "enterprise/signin/user_policy_oidc_signin_service.cc", + "enterprise/signin/user_policy_oidc_signin_service.h", + "enterprise/signin/user_policy_oidc_signin_service_factory.cc", + "enterprise/signin/user_policy_oidc_signin_service_factory.h", + "policy/cloud/profile_token_policy_web_signin_service.cc", + "policy/cloud/profile_token_policy_web_signin_service.h", + "policy/cloud/profile_token_policy_web_signin_service_factory.cc", + "policy/cloud/profile_token_policy_web_signin_service_factory.h", + "policy/local_sync_policy_handler.cc", + "policy/local_sync_policy_handler.h", + "supervised_user/linux_mac_windows/supervised_user_extensions_metrics_delegate_impl.cc", + "supervised_user/linux_mac_windows/supervised_user_extensions_metrics_delegate_impl.h", + "supervised_user/linux_mac_windows/supervised_user_web_content_handler_impl.cc", + "supervised_user/linux_mac_windows/supervised_user_web_content_handler_impl.h", + "supervised_user/supervised_user_verification_page.cc", + "supervised_user/supervised_user_verification_page.h", + ] + deps += [ + "//chrome/browser/enterprise/connectors/device_trust/key_management/browser", + "//chrome/browser/enterprise/connectors/device_trust/key_management/core", + "//chrome/browser/enterprise/connectors/device_trust/key_management/core/persistence", + "//chrome/services/system_signals/public/cpp/browser", + ] + + if (is_win) { + deps += [ "//components/device_signals/core/browser/win" ] + } + + if (is_mac) { + deps += [ + "//chrome/browser/enterprise/connectors/device_trust/key_management/core/mac", + "//components/device_signals/core/browser/mac", + ] + } + } + + if (is_linux || is_chromeos) { + sources += [ + "chrome_browser_main_linux.cc", + "chrome_browser_main_linux.h", + "enterprise/signals/device_info_fetcher_linux.cc", + "enterprise/signals/device_info_fetcher_linux.h", + "first_run/first_run_internal_linux.cc", + "memory_details_linux.cc", + "metrics/bluetooth_metrics_provider.cc", + "metrics/bluetooth_metrics_provider.h", + "policy/browser_dm_token_storage_linux.cc", + "policy/browser_dm_token_storage_linux.h", + ] + deps += [ + "//chrome/browser/error_reporting", + "//third_party/fontconfig", + ] + if (use_dbus) { + deps += [ "//dbus" ] + defines += [ "USE_DBUS" ] + } + + # device_info_fetcher uses a "defined(USE_GIO)" macro, so if it's refactored + # away from this file make sure gio_config is still added to configs. + if (use_gio) { + configs += [ "//build/linux:gio_config" ] + } + } + + if (is_linux && use_dbus) { + sources += [ + "dbus_memory_pressure_evaluator_linux.cc", + "dbus_memory_pressure_evaluator_linux.h", + ] + + deps += [ + "//chrome/common:chrome_features", + "//components/os_crypt/async/browser:secret_portal_key_provider", + ] + } + + if (is_linux || is_chromeos_lacros) { + sources += [ + "first_run/upgrade_util_linux.cc", + "first_run/upgrade_util_linux.h", + ] + deps += [ "//chrome/app/theme:chrome_unscaled_resources_grit" ] + + if (is_chromeos_lacros) { + sources += [ + "download/download_status_updater_lacros.cc", + "icon_loader_chromeos.cc", + "shell_integration_chromeos.cc", + "upgrade_detector/get_installed_version_lacros.cc", + "upgrade_detector/installed_version_monitor_lacros.cc", + "upgrade_detector/installed_version_monitor_lacros.h", + ] + deps += [ "//chromeos/strings:strings_grit" ] + } else { + sources += [ + "download/download_status_updater_linux.cc", + "icon_loader_auralinux.cc", + "shell_integration_linux.cc", + "shell_integration_linux.h", + "upgrade_detector/directory_monitor.cc", + "upgrade_detector/directory_monitor.h", + "upgrade_detector/get_installed_version_linux.cc", + ] + } + + if (is_linux) { + sources += [ "fullscreen_linux.cc" ] + } else if (use_ozone) { + sources += [ "fullscreen_ozone.cc" ] + } + + if (rtc_use_pipewire) { + configs += + [ "//third_party/webrtc/modules/desktop_capture:pipewire_config" ] + } + + if (is_linux && use_dbus) { + sources += [ + "notifications/notification_platform_bridge_linux.cc", + "notifications/notification_platform_bridge_linux.h", + "platform_util_linux.cc", + ] + deps += [ "//components/dbus/thread_linux" ] + } + } + + if (is_posix) { + sources += [ + "shutdown_signal_handlers_posix.cc", + "shutdown_signal_handlers_posix.h", + ] + } + + if (is_win || is_linux || is_chromeos) { + sources += [ + "renderer_context_menu/spelling_options_submenu_observer.cc", + "renderer_context_menu/spelling_options_submenu_observer.h", + ] + } + + if (is_win || is_chromeos || is_mac) { + sources += [ + "webshare/safe_browsing_request.cc", + "webshare/safe_browsing_request.h", + "webshare/share_service_impl.cc", + "webshare/share_service_impl.h", + ] + } + + if (is_win || is_mac || is_linux) { + sources += [ + "browser_switcher/alternative_browser_driver.h", + "browser_switcher/browser_switcher_features.cc", + "browser_switcher/browser_switcher_features.h", + "browser_switcher/browser_switcher_navigation_throttle.cc", + "browser_switcher/browser_switcher_navigation_throttle.h", + "browser_switcher/browser_switcher_prefs.cc", + "browser_switcher/browser_switcher_prefs.h", + "browser_switcher/browser_switcher_service.cc", + "browser_switcher/browser_switcher_service.h", + "browser_switcher/browser_switcher_service_factory.cc", + "browser_switcher/browser_switcher_service_factory.h", + "browser_switcher/browser_switcher_sitelist.cc", + "browser_switcher/browser_switcher_sitelist.h", + "browser_switcher/ieem_sitelist_parser.cc", + "browser_switcher/ieem_sitelist_parser.h", + ] + if (is_win) { + sources += [ "browser_switcher/alternative_browser_driver_win.cc" ] + } + if (is_mac || is_linux) { + sources += [ "browser_switcher/alternative_browser_driver_posix.cc" ] + } + } + + # General Structured Metrics Dependencies needed by these platforms. + if (is_win || is_mac || is_linux || is_chromeos) { + sources += [ + "metrics/structured/chrome_structured_metrics_delegate.cc", + "metrics/structured/chrome_structured_metrics_delegate.h", + ] + } + + if (enable_downgrade_processing) { + sources += [ + "downgrade/downgrade_manager.cc", + "downgrade/downgrade_manager.h", + "downgrade/downgrade_prefs.cc", + "downgrade/downgrade_prefs.h", + "downgrade/downgrade_utils.cc", + "downgrade/downgrade_utils.h", + "downgrade/snapshot_file_collector.cc", + "downgrade/snapshot_file_collector.h", + "downgrade/snapshot_manager.cc", + "downgrade/snapshot_manager.h", + "downgrade/user_data_downgrade.cc", + "downgrade/user_data_downgrade.h", + ] + } + + if (is_android || is_chromeos || is_win) { + sources += [ + "media/protected_media_identifier_permission_context.cc", + "media/protected_media_identifier_permission_context.h", + ] + } + + if (is_posix && !is_mac) { + # TODO(crbug.com/40188745): Complete crash reporting integration on Fuchsia. + sources += [ + "//chrome/app/chrome_crash_reporter_client.cc", + "//chrome/app/chrome_crash_reporter_client.h", + ] + deps += [ + "//components/crash/content/browser", + "//components/crash/core/app", + "//components/version_info:generate_version_info", + ] + } + + if (is_win || is_mac || (is_chromeos_ash && use_dbus)) { + sources += [ + "media_galleries/fileapi/device_media_async_file_util.cc", + "media_galleries/fileapi/device_media_async_file_util.h", + "media_galleries/fileapi/mtp_device_async_delegate.cc", + "media_galleries/fileapi/mtp_device_async_delegate.h", + "media_galleries/fileapi/mtp_device_map_service.cc", + "media_galleries/fileapi/mtp_device_map_service.h", + "media_galleries/fileapi/mtp_file_stream_reader.cc", + "media_galleries/fileapi/mtp_file_stream_reader.h", + ] + } + + if (is_win || is_android || is_linux) { + sources += [ + "metrics/chrome_metrics_service_crash_reporter.cc", + "metrics/chrome_metrics_service_crash_reporter.h", + ] + } + + if (is_linux) { + sources += [ + "chrome_browser_main_extra_parts_linux.cc", + "chrome_browser_main_extra_parts_linux.h", + "metrics/pressure/pressure_metrics.cc", + "metrics/pressure/pressure_metrics.h", + "metrics/pressure/pressure_metrics_reporter.cc", + "metrics/pressure/pressure_metrics_reporter.h", + "obsolete_system/obsolete_system_linux.cc", + ] + deps += [ "//ui/linux:display_server_utils" ] + } + + if (use_aura) { + # Cross - platform Aura files. + sources += [ + "download/drag_download_item_aura.cc", + "lifetime/application_lifetime_aura.cc", + "platform_util_aura.cc", + ] + deps += [ + "//chrome/browser/ui/aura/accessibility", + "//chrome/browser/ui/aura/accessibility:impl", + "//ui/aura", + "//ui/base/dragdrop:types", + "//ui/base/dragdrop/mojom:mojom_shared", + "//ui/compositor", + "//ui/snapshot", + "//ui/wm", + ] + if (is_linux) { + deps += [ + "//ui/linux:linux_ui", + "//ui/linux:linux_ui_factory", + ] + } + } + + if (use_ozone) { + sources += [ + "chrome_browser_main_extra_parts_ozone.cc", + "chrome_browser_main_extra_parts_ozone.h", + ] + deps += [ + "//ui/events/ozone", + "//ui/ozone", + ] + } + + if (is_win || is_linux || is_chromeos) { + sources += [ + "policy/messaging_layer/util/manual_test_heartbeat_event.cc", + "policy/messaging_layer/util/manual_test_heartbeat_event.h", + "policy/messaging_layer/util/manual_test_heartbeat_event_factory.cc", + "policy/messaging_layer/util/manual_test_heartbeat_event_factory.h", + ] + } + + if (is_win || is_mac || is_linux || is_chromeos) { + deps += [ + "//components/power_metrics", + "//components/user_notes:features", + "//components/user_notes/browser", + "//components/user_notes/interfaces", + "//components/user_notes/model", + ] + } + + if (is_win || is_mac || is_linux) { + deps += [ "//chrome/browser/headless:metrics" ] + } + + if (enable_click_to_call) { + sources += [ + "sharing/click_to_call/click_to_call_utils.cc", + "sharing/click_to_call/click_to_call_utils.h", + "sharing/click_to_call/phone_number_regex.cc", + "sharing/click_to_call/phone_number_regex.h", + ] + } + + if (enable_background_mode) { + sources += [ + "background/background_application_list_model.cc", + "background/background_application_list_model.h", + "background/background_mode_manager.cc", + "background/background_mode_manager.h", + "background/background_mode_optimizer.cc", + "background/background_mode_optimizer.h", + ] + if (is_win) { + sources += [ "background/background_mode_manager_win.cc" ] + } + if (is_mac) { + sources += [ "background/background_mode_manager_mac.cc" ] + } + if (is_chromeos_ash) { + sources += [ "background/background_mode_manager_chromeos.cc" ] + } + if (use_aura && !is_win && !is_chromeos_ash) { + sources += [ "background/background_mode_manager_aura.cc" ] + } + } + if (enable_background_contents) { + sources += [ + "background/background_contents_service.cc", + "background/background_contents_service.h", + "background/background_contents_service_factory.cc", + "background/background_contents_service_factory.h", + ] + } + + if (enable_printing) { + # Some form of printing support. + sources += [ + "policy/printing_restrictions_policy_handler.cc", + "policy/printing_restrictions_policy_handler.h", + "printing/print_compositor_util.cc", + "printing/print_compositor_util.h", + "printing/print_error_dialog.cc", + "printing/print_error_dialog.h", + "printing/print_job.cc", + "printing/print_job.h", + "printing/print_job_manager.cc", + "printing/print_job_manager.h", + "printing/print_job_worker.cc", + "printing/print_job_worker.h", + "printing/print_view_manager_base.cc", + "printing/print_view_manager_base.h", + "printing/print_view_manager_common.cc", + "printing/print_view_manager_common.h", + "printing/printer_manager_dialog.h", + "printing/printer_query.cc", + "printing/printer_query.h", + "printing/printing_init.cc", + "printing/printing_init.h", + ] + deps += [ + "//chrome/common/printing", + "//components/printing/browser", + "//components/printing/browser/headless", + "//components/printing/browser/print_to_pdf", + "//components/services/print_compositor/public/cpp", + "//components/services/print_compositor/public/mojom", + "//printing", + "//printing/backend", + ] + + if (is_win) { + sources += [ + "printing/pdf_to_emf_converter.cc", + "printing/pdf_to_emf_converter.h", + "printing/printer_manager_dialog_win.cc", + "printing/xps_features.cc", + "printing/xps_features.h", + ] + } + if (is_mac) { + sources += [ "printing/printer_manager_dialog_mac.cc" ] + } + if (is_chromeos) { + sources += [ + "printing/local_printer_utils_chromeos.cc", + "printing/local_printer_utils_chromeos.h", + ] + deps += [ + "//chrome/browser/chromeos/extensions/telemetry/api:keyed_service_factory", + "//chromeos/crosapi/mojom", + "//chromeos/printing", + ] + } + if (is_linux) { + sources += [ "printing/printer_manager_dialog_linux.cc" ] + } + if (enable_oop_printing) { + sources += [ + "printing/oop_features.cc", + "printing/oop_features.h", + "printing/print_backend_service_manager.cc", + "printing/print_backend_service_manager.h", + "printing/print_job_worker_oop.cc", + "printing/print_job_worker_oop.h", + "printing/printer_query_oop.cc", + "printing/printer_query_oop.h", + ] + deps += [ + "//chrome/services/printing/public/mojom", + "//components/crash/core/common", + ] + if (is_win) { + sources += [ + "printing/printer_xml_parser_impl.cc", + "printing/printer_xml_parser_impl.h", + ] + deps += [ "//printing:printing_base" ] + } + } + if (enable_oop_printing || enable_print_preview) { + sources += [ + "printing/prefs_util.cc", + "printing/prefs_util.h", + ] + } + if (is_win || enable_print_preview) { + sources += [ + "printing/printing_service.cc", + "printing/printing_service.h", + ] + deps += [ "//chrome/services/printing/public/mojom" ] + } + if (enable_print_preview) { + # Full printing on top of the above. + sources += [ + "printing/background_printing_manager.cc", + "printing/background_printing_manager.h", + "printing/pdf_nup_converter_client.cc", + "printing/pdf_nup_converter_client.h", + "printing/print_preview_context_menu_observer.cc", + "printing/print_preview_context_menu_observer.h", + "printing/print_preview_data_service.cc", + "printing/print_preview_data_service.h", + "printing/print_preview_dialog_controller.cc", + "printing/print_preview_dialog_controller.h", + "printing/print_preview_sticky_settings.cc", + "printing/print_preview_sticky_settings.h", + "printing/print_view_manager.cc", + "printing/print_view_manager.h", + "printing/pwg_raster_converter.cc", + "printing/pwg_raster_converter.h", + "printing/web_api/web_printing_service_binder.cc", + "printing/web_api/web_printing_service_binder.h", + ] + if (is_chromeos) { + sources += [ + "printing/pdf_blob_data_flattener.cc", + "printing/pdf_blob_data_flattener.h", + "printing/print_job_controller.cc", + "printing/print_job_controller.h", + ] + if (use_cups) { + sources += [ + "printing/web_api/in_progress_jobs_storage_chromeos.cc", + "printing/web_api/in_progress_jobs_storage_chromeos.h", + "printing/web_api/web_printing_permission_context.cc", + "printing/web_api/web_printing_permission_context.h", + "printing/web_api/web_printing_service_chromeos.cc", + "printing/web_api/web_printing_service_chromeos.h", + "printing/web_api/web_printing_type_converters.cc", + "printing/web_api/web_printing_type_converters.h", + "printing/web_api/web_printing_utils.cc", + "printing/web_api/web_printing_utils.h", + ] + } + } + } else { + # Partial - only printing support. + sources += [ + "printing/print_view_manager_basic.cc", + "printing/print_view_manager_basic.h", + ] + } + } + + if (enable_paint_preview) { + deps += [ + "//chrome/browser/paint_preview:services", + "//components/paint_preview/browser", + "//components/paint_preview/common", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += + [ "//chrome/browser/paint_preview:services" ] + + if (is_android) { + deps += [ "//components/paint_preview/player/android" ] + } + } + + if (enterprise_content_analysis) { + sources += [ + "enterprise/data_protection/print_utils.cc", + "enterprise/data_protection/print_utils.h", + ] + } + + if (enable_captive_portal_detection) { + sources += [ + "captive_portal/captive_portal_service_factory.cc", + "captive_portal/captive_portal_service_factory.h", + ] + } + + if (enable_dice_support) { + sources += [ + "password_manager/multi_profile_credentials_filter.cc", + "password_manager/multi_profile_credentials_filter.h", + "profiles/batch_upload/batch_upload_controller.cc", + "profiles/batch_upload/batch_upload_controller.h", + "profiles/batch_upload/batch_upload_data_provider.cc", + "profiles/batch_upload/batch_upload_data_provider.h", + "profiles/batch_upload/batch_upload_delegate.h", + "profiles/batch_upload/batch_upload_service.cc", + "profiles/batch_upload/batch_upload_service.h", + "profiles/batch_upload/batch_upload_service_factory.cc", + "profiles/batch_upload/batch_upload_service_factory.h", + "signin/dice_intercepted_session_startup_helper.cc", + "signin/dice_intercepted_session_startup_helper.h", + "signin/dice_response_handler.cc", + "signin/dice_response_handler.h", + "signin/dice_signed_in_profile_creator.cc", + "signin/dice_signed_in_profile_creator.h", + "signin/dice_tab_helper.cc", + "signin/dice_tab_helper.h", + "signin/dice_web_signin_interceptor_factory.cc", + "signin/dice_web_signin_interceptor_factory.h", + "signin/logout_tab_helper.cc", + "signin/logout_tab_helper.h", + "signin/process_dice_header_delegate_impl.cc", + "signin/process_dice_header_delegate_impl.h", + "signin/signin_ui_delegate_impl_dice.cc", + "signin/signin_ui_delegate_impl_dice.h", + ] + if (is_win) { + sources += [ + "signin/signin_util_win.cc", + "signin/signin_util_win.h", + ] + } + } + + if (enable_bound_session_credentials) { + sources += [ + "signin/bound_session_credentials/bound_session_cookie_controller.cc", + "signin/bound_session_credentials/bound_session_cookie_controller.h", + "signin/bound_session_credentials/bound_session_cookie_controller_impl.cc", + "signin/bound_session_credentials/bound_session_cookie_controller_impl.h", + "signin/bound_session_credentials/bound_session_cookie_observer.cc", + "signin/bound_session_credentials/bound_session_cookie_observer.h", + "signin/bound_session_credentials/bound_session_cookie_refresh_service.h", + "signin/bound_session_credentials/bound_session_cookie_refresh_service_factory.cc", + "signin/bound_session_credentials/bound_session_cookie_refresh_service_factory.h", + "signin/bound_session_credentials/bound_session_cookie_refresh_service_impl.cc", + "signin/bound_session_credentials/bound_session_cookie_refresh_service_impl.h", + "signin/bound_session_credentials/bound_session_debug_info.cc", + "signin/bound_session_credentials/bound_session_debug_info.h", + "signin/bound_session_credentials/bound_session_key.h", + "signin/bound_session_credentials/bound_session_params_storage.cc", + "signin/bound_session_credentials/bound_session_params_storage.h", + "signin/bound_session_credentials/bound_session_params_util.cc", + "signin/bound_session_credentials/bound_session_params_util.h", + "signin/bound_session_credentials/bound_session_refresh_cookie_debug_report_fetcher.cc", + "signin/bound_session_credentials/bound_session_refresh_cookie_debug_report_fetcher.h", + "signin/bound_session_credentials/bound_session_refresh_cookie_fetcher.cc", + "signin/bound_session_credentials/bound_session_refresh_cookie_fetcher.h", + "signin/bound_session_credentials/bound_session_refresh_cookie_fetcher_impl.cc", + "signin/bound_session_credentials/bound_session_refresh_cookie_fetcher_impl.h", + "signin/bound_session_credentials/bound_session_registration_fetcher.h", + "signin/bound_session_credentials/bound_session_registration_fetcher_impl.cc", + "signin/bound_session_credentials/bound_session_registration_fetcher_impl.h", + "signin/bound_session_credentials/bound_session_registration_fetcher_param.cc", + "signin/bound_session_credentials/bound_session_registration_fetcher_param.h", + "signin/bound_session_credentials/bound_session_request_throttled_handler_browser_impl.cc", + "signin/bound_session_credentials/bound_session_request_throttled_handler_browser_impl.h", + "signin/bound_session_credentials/bound_session_switches.cc", + "signin/bound_session_credentials/bound_session_switches.h", + "signin/bound_session_credentials/keyed_unexportable_key_service.h", + "signin/bound_session_credentials/keyed_unexportable_key_service_impl.cc", + "signin/bound_session_credentials/keyed_unexportable_key_service_impl.h", + "signin/bound_session_credentials/registration_token_helper.cc", + "signin/bound_session_credentials/registration_token_helper.h", + "signin/bound_session_credentials/session_binding_helper.cc", + "signin/bound_session_credentials/session_binding_helper.h", + "signin/bound_session_credentials/throttled_gaia_auth_fetcher.cc", + "signin/bound_session_credentials/throttled_gaia_auth_fetcher.h", + "signin/bound_session_credentials/unexportable_key_service_factory.cc", + "signin/bound_session_credentials/unexportable_key_service_factory.h", + ] + + if (enable_dice_support) { + sources += [ + "signin/bound_session_credentials/bound_session_oauth_multilogin_delegate_impl.cc", + "signin/bound_session_credentials/bound_session_oauth_multilogin_delegate_impl.h", + "signin/bound_session_credentials/dice_bound_session_cookie_service.cc", + "signin/bound_session_credentials/dice_bound_session_cookie_service.h", + "signin/bound_session_credentials/dice_bound_session_cookie_service_factory.cc", + "signin/bound_session_credentials/dice_bound_session_cookie_service_factory.h", + ] + } + + public_deps += [ ":bound_session_credentials_proto" ] + + deps += [ + "//chrome/common", + "//components/unexportable_keys", + ] + } + + if (enable_media_remoting) { + sources += [ + "media/cast_remoting_connector.cc", + "media/cast_remoting_connector.h", + ] + deps += [ "//media/mojo/mojom:remoting" ] + } + + if (enable_extensions) { + sources += [ + "accessibility/animation_policy_prefs.cc", + "accessibility/animation_policy_prefs.h", + "autocomplete/keyword_extensions_delegate_impl.cc", + "autocomplete/keyword_extensions_delegate_impl.h", + "autocomplete/shortcuts_extensions_manager.cc", + "autocomplete/shortcuts_extensions_manager.h", + "browsing_data/counters/hosted_apps_counter.cc", + "browsing_data/counters/hosted_apps_counter.h", + "controlled_frame/controlled_frame_media_access_handler.cc", + "controlled_frame/controlled_frame_media_access_handler.h", + "drive/drive_notification_manager_factory.cc", + "drive/drive_notification_manager_factory.h", + "guest_view/app_view/chrome_app_view_guest_delegate.cc", + "guest_view/app_view/chrome_app_view_guest_delegate.h", + "guest_view/chrome_guest_view_manager_delegate.cc", + "guest_view/chrome_guest_view_manager_delegate.h", + "guest_view/extension_options/chrome_extension_options_guest_delegate.cc", + "guest_view/extension_options/chrome_extension_options_guest_delegate.h", + "guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.cc", + "guest_view/mime_handler_view/chrome_mime_handler_view_guest_delegate.h", + "guest_view/web_view/chrome_web_view_guest_delegate.cc", + "guest_view/web_view/chrome_web_view_guest_delegate.h", + "guest_view/web_view/chrome_web_view_permission_helper_delegate.cc", + "guest_view/web_view/chrome_web_view_permission_helper_delegate.h", + "guest_view/web_view/context_menu_content_type_web_view.cc", + "guest_view/web_view/context_menu_content_type_web_view.h", + "media/extension_media_access_handler.cc", + "media/extension_media_access_handler.h", + "metrics/extensions_metrics_provider.cc", + "metrics/extensions_metrics_provider.h", + "performance_manager/extension_watcher.cc", + "performance_manager/extension_watcher.h", + "policy/chrome_extension_policy_migrator.cc", + "policy/chrome_extension_policy_migrator.h", + "policy/value_provider/extension_policies_value_provider.cc", + "policy/value_provider/extension_policies_value_provider.h", + "renderer_context_menu/context_menu_content_type_app_mode.cc", + "renderer_context_menu/context_menu_content_type_app_mode.h", + "renderer_context_menu/context_menu_content_type_extension_popup.cc", + "renderer_context_menu/context_menu_content_type_extension_popup.h", + "renderer_context_menu/context_menu_content_type_platform_app.cc", + "renderer_context_menu/context_menu_content_type_platform_app.h", + "speech/extension_api/tts_engine_extension_api.cc", + "speech/extension_api/tts_engine_extension_api.h", + "speech/extension_api/tts_extension_api.cc", + "speech/extension_api/tts_extension_api.h", + "speech/extension_api/tts_extension_api_constants.cc", + "speech/extension_api/tts_extension_api_constants.h", + "sync_file_system/conflict_resolution_policy.h", + "sync_file_system/drive_backend/callback_helper.h", + "sync_file_system/drive_backend/callback_tracker.cc", + "sync_file_system/drive_backend/callback_tracker.h", + "sync_file_system/drive_backend/callback_tracker_internal.cc", + "sync_file_system/drive_backend/callback_tracker_internal.h", + "sync_file_system/drive_backend/conflict_resolver.cc", + "sync_file_system/drive_backend/conflict_resolver.h", + "sync_file_system/drive_backend/drive_backend_constants.cc", + "sync_file_system/drive_backend/drive_backend_constants.h", + "sync_file_system/drive_backend/drive_backend_util.cc", + "sync_file_system/drive_backend/drive_backend_util.h", + "sync_file_system/drive_backend/drive_service_on_worker.cc", + "sync_file_system/drive_backend/drive_service_on_worker.h", + "sync_file_system/drive_backend/drive_service_wrapper.cc", + "sync_file_system/drive_backend/drive_service_wrapper.h", + "sync_file_system/drive_backend/drive_uploader_on_worker.cc", + "sync_file_system/drive_backend/drive_uploader_on_worker.h", + "sync_file_system/drive_backend/drive_uploader_wrapper.cc", + "sync_file_system/drive_backend/drive_uploader_wrapper.h", + "sync_file_system/drive_backend/folder_creator.cc", + "sync_file_system/drive_backend/folder_creator.h", + "sync_file_system/drive_backend/leveldb_wrapper.cc", + "sync_file_system/drive_backend/leveldb_wrapper.h", + "sync_file_system/drive_backend/list_changes_task.cc", + "sync_file_system/drive_backend/list_changes_task.h", + "sync_file_system/drive_backend/local_to_remote_syncer.cc", + "sync_file_system/drive_backend/local_to_remote_syncer.h", + "sync_file_system/drive_backend/metadata_database.cc", + "sync_file_system/drive_backend/metadata_database.h", + "sync_file_system/drive_backend/metadata_database_index.cc", + "sync_file_system/drive_backend/metadata_database_index.h", + "sync_file_system/drive_backend/metadata_database_index_interface.h", + "sync_file_system/drive_backend/metadata_database_index_on_disk.cc", + "sync_file_system/drive_backend/metadata_database_index_on_disk.h", + "sync_file_system/drive_backend/metadata_db_migration_util.cc", + "sync_file_system/drive_backend/metadata_db_migration_util.h", + "sync_file_system/drive_backend/register_app_task.cc", + "sync_file_system/drive_backend/register_app_task.h", + "sync_file_system/drive_backend/remote_change_processor_on_worker.cc", + "sync_file_system/drive_backend/remote_change_processor_on_worker.h", + "sync_file_system/drive_backend/remote_change_processor_wrapper.cc", + "sync_file_system/drive_backend/remote_change_processor_wrapper.h", + "sync_file_system/drive_backend/remote_to_local_syncer.cc", + "sync_file_system/drive_backend/remote_to_local_syncer.h", + "sync_file_system/drive_backend/sync_engine.cc", + "sync_file_system/drive_backend/sync_engine.h", + "sync_file_system/drive_backend/sync_engine_context.cc", + "sync_file_system/drive_backend/sync_engine_context.h", + "sync_file_system/drive_backend/sync_engine_initializer.cc", + "sync_file_system/drive_backend/sync_engine_initializer.h", + "sync_file_system/drive_backend/sync_task.cc", + "sync_file_system/drive_backend/sync_task.h", + "sync_file_system/drive_backend/sync_task_manager.cc", + "sync_file_system/drive_backend/sync_task_manager.h", + "sync_file_system/drive_backend/sync_task_token.cc", + "sync_file_system/drive_backend/sync_task_token.h", + "sync_file_system/drive_backend/sync_worker.cc", + "sync_file_system/drive_backend/sync_worker.h", + "sync_file_system/drive_backend/sync_worker_interface.h", + "sync_file_system/drive_backend/task_dependency_manager.cc", + "sync_file_system/drive_backend/task_dependency_manager.h", + "sync_file_system/drive_backend/tracker_id_set.cc", + "sync_file_system/drive_backend/tracker_id_set.h", + "sync_file_system/drive_backend/uninstall_app_task.cc", + "sync_file_system/drive_backend/uninstall_app_task.h", + "sync_file_system/file_change.cc", + "sync_file_system/file_change.h", + "sync_file_system/file_status_observer.h", + "sync_file_system/local/local_file_change_tracker.cc", + "sync_file_system/local/local_file_change_tracker.h", + "sync_file_system/local/local_file_sync_context.cc", + "sync_file_system/local/local_file_sync_context.h", + "sync_file_system/local/local_file_sync_service.cc", + "sync_file_system/local/local_file_sync_service.h", + "sync_file_system/local/local_file_sync_status.cc", + "sync_file_system/local/local_file_sync_status.h", + "sync_file_system/local/local_origin_change_observer.h", + "sync_file_system/local/root_delete_helper.cc", + "sync_file_system/local/root_delete_helper.h", + "sync_file_system/local/sync_file_system_backend.cc", + "sync_file_system/local/sync_file_system_backend.h", + "sync_file_system/local/syncable_file_operation_runner.cc", + "sync_file_system/local/syncable_file_operation_runner.h", + "sync_file_system/local/syncable_file_system_operation.cc", + "sync_file_system/local/syncable_file_system_operation.h", + "sync_file_system/local_change_processor.h", + "sync_file_system/logger.cc", + "sync_file_system/logger.h", + "sync_file_system/remote_change_processor.h", + "sync_file_system/remote_file_sync_service.cc", + "sync_file_system/remote_file_sync_service.h", + "sync_file_system/subtree_set.cc", + "sync_file_system/subtree_set.h", + "sync_file_system/sync_action.cc", + "sync_file_system/sync_action.h", + "sync_file_system/sync_callbacks.h", + "sync_file_system/sync_direction.h", + "sync_file_system/sync_event_observer.h", + "sync_file_system/sync_file_metadata.cc", + "sync_file_system/sync_file_metadata.h", + "sync_file_system/sync_file_status.h", + "sync_file_system/sync_file_system_service.cc", + "sync_file_system/sync_file_system_service.h", + "sync_file_system/sync_file_system_service_factory.cc", + "sync_file_system/sync_file_system_service_factory.h", + "sync_file_system/sync_file_type.h", + "sync_file_system/sync_operation_type.cc", + "sync_file_system/sync_operation_type.h", + "sync_file_system/sync_process_runner.cc", + "sync_file_system/sync_process_runner.h", + "sync_file_system/sync_service_state.h", + "sync_file_system/sync_status_code.cc", + "sync_file_system/sync_status_code.h", + "sync_file_system/syncable_file_system_util.cc", + "sync_file_system/syncable_file_system_util.h", + "sync_file_system/task_logger.cc", + "sync_file_system/task_logger.h", + ] + public_deps += [ + "//chrome/browser/apps/platform_apps", + "//chrome/browser/apps/platform_apps/api", + "//chrome/browser/controlled_frame", + "//chrome/browser/extensions", + "//chrome/browser/extensions:keyed_service_factories", + "//chrome/browser/extensions/api", + "//chrome/browser/ui/tabs:tab_strip_model_observer", + ] + + # Any circular includes must depend on the target + # "browser_public_dependencies". + allow_circular_includes_from += [ + "//chrome/browser/apps/platform_apps", + + # TODO(crbug.com/40593486): This is unfortunate, but not easy to + # fix. Ideally, //chrome/browser:browser shouldn't depend on these APIs + #(though the APIs likely will depend on //chrome/browser), but we need + # to pull them in here to allow registration of keyed services. + "//chrome/browser/apps/platform_apps/api", + + "//chrome/browser/extensions", + + # TODO(crbug.com/40761673): Remove cycles and simplify all dependencies. + "//chrome/browser/web_applications/extensions", + ] + deps += [ + "//apps", + "//chrome/browser/web_applications/extensions", + "//chrome/common/apps/platform_apps", + "//chrome/common/extensions/api", + "//chrome/common/extensions/api:extensions_features", + "//components/app_constants", + "//components/drive", + "//components/guest_view/browser", + "//extensions/browser", + "//extensions/browser/api/content_settings:content_settings", + "//extensions/common:mojom", + "//media/cast:sender", + + # TODO(crbug.com/41410773): mirroring shouldn't depend on enable_extensions. + "//components/mirroring/browser", + "//components/mirroring/mojom:service", + "//components/mirroring/service:mirroring_service", + "//extensions/common:common_constants", + "//extensions/components/javascript_dialog_extensions_client", + "//google_apis/calendar", + "//google_apis/common", + "//google_apis/drive", + ] + if (is_chromeos_ash) { + sources += [ + "accessibility/accessibility_extension_api_ash.cc", + "accessibility/accessibility_extension_api_ash.h", + "accessibility/service/accessibility_service_router.cc", + "accessibility/service/accessibility_service_router.h", + "accessibility/service/accessibility_service_router_factory.cc", + "accessibility/service/accessibility_service_router_factory.h", + "speech/extension_api/tts_engine_extension_api_chromeos.cc", + "speech/extension_api/tts_engine_extension_api_chromeos.h", + "speech/extension_api/tts_engine_extension_observer_chromeos.cc", + "speech/extension_api/tts_engine_extension_observer_chromeos.h", + ] + deps += [ + "//chromeos/services/tts/public/mojom", + "//services/accessibility:buildflags", + "//services/accessibility/public/mojom", + "//ui/events/ozone/layout:layout", + ] + } + } + + # TODO(https://crbug.com/356905053): Add more dependencies here and merge this + # block with the `enable_extensions` block above. + if (enable_desktop_android_extensions) { + sources += [ + "extensions/chrome_content_browser_client_extensions_part.cc", + "extensions/chrome_content_browser_client_extensions_part.h", + "extensions/chrome_content_browser_client_extensions_part_bindings.cc", + + # TODO(https://crbug.com/356905053): These files are temporary workarounds + # allow for a lightweight extensions runtime in desktop-android builds. + # They should be removed. + "extensions/desktop_android/desktop_android_extension_system.cc", + "extensions/desktop_android/desktop_android_extension_system.h", + "extensions/desktop_android/desktop_android_extension_web_contents_observer.cc", + "extensions/desktop_android/desktop_android_extension_web_contents_observer.h", + "extensions/desktop_android/desktop_android_extensions_browser_client.cc", + "extensions/desktop_android/desktop_android_extensions_browser_client.h", + ] + public_deps += [ "//extensions/browser" ] + deps += [ "//extensions/browser/updater" ] + } + + if (enable_library_cdms) { + sources += [ + "media/output_protection_impl.cc", + "media/output_protection_impl.h", + ] + deps += [ "//media/mojo/mojom" ] + + if (enable_widevine) { + if (enable_widevine_cdm_component) { + sources += [ + "component_updater/widevine_cdm_component_installer.cc", + "component_updater/widevine_cdm_component_installer.h", + ] + deps += [ + "//components/cdm/common", + "//media/cdm:cdm_paths", + "//third_party/widevine/cdm:headers", + ] + } + } + + if (enable_cdm_storage_id) { + sources += [ + "media/cdm_storage_id.cc", + "media/cdm_storage_id.h", + "media/cdm_storage_id_key.cc", + "media/cdm_storage_id_key.h", + ] + if (is_chrome_branded) { + sources += [ "internal/google_chrome_cdm_storage_id_key.h" ] + } + } + + if (mojo_media_host == "browser") { + deps += [ "//media/mojo/services" ] + } + } + + if (enable_library_cdms || is_win) { + sources += [ + "media/cdm_document_service_impl.cc", + "media/cdm_document_service_impl.h", + ] + } + + if (is_win) { + sources += [ + "accessibility/live_caption/live_caption_unavailability_notifier.cc", + "accessibility/live_caption/live_caption_unavailability_notifier.h", + "media/cdm_pref_service_helper.cc", + "media/cdm_pref_service_helper.h", + "media/media_foundation_service_monitor.cc", + "media/media_foundation_service_monitor.h", + ] + deps += [ "//components/live_caption:utils" ] + + if (enable_media_foundation_widevine_cdm) { + sources += [ + "component_updater/media_foundation_widevine_cdm_component_installer.cc", + "component_updater/media_foundation_widevine_cdm_component_installer.h", + ] + } + } + + if (enable_chrome_notifications) { + assert(enable_message_center) + sources += [ + "notifications/fullscreen_notification_blocker.cc", + "notifications/fullscreen_notification_blocker.h", + "notifications/notification_platform_bridge_message_center.cc", + "notifications/notification_platform_bridge_message_center.h", + "notifications/notification_system_observer.cc", + "notifications/notification_system_observer.h", + "notifications/notification_ui_manager.h", + "notifications/notification_ui_manager_impl.cc", + "notifications/notification_ui_manager_impl.h", + "notifications/popups_only_ui_controller.cc", + "notifications/popups_only_ui_controller.h", + "notifications/screen_lock_notification_blocker.cc", + "notifications/screen_lock_notification_blocker.h", + ] + } + + if (enable_nacl) { + sources += [ + "nacl_host/nacl_browser_delegate_impl.cc", + "nacl_host/nacl_browser_delegate_impl.h", + "nacl_host/nacl_infobar_delegate.cc", + "nacl_host/nacl_infobar_delegate.h", + ] + deps += [ "//components/nacl/browser" ] + } + + if (enable_offline_pages) { + sources += [ + "offline_pages/background_loader_offliner.cc", + "offline_pages/background_loader_offliner.h", + "offline_pages/download_archive_manager.cc", + "offline_pages/download_archive_manager.h", + "offline_pages/offline_page_bookmark_observer.cc", + "offline_pages/offline_page_bookmark_observer.h", + "offline_pages/offline_page_info_handler.cc", + "offline_pages/offline_page_info_handler.h", + "offline_pages/offline_page_mhtml_archiver.cc", + "offline_pages/offline_page_mhtml_archiver.h", + "offline_pages/offline_page_model_factory.h", + "offline_pages/offline_page_navigation_throttle.cc", + "offline_pages/offline_page_navigation_throttle.h", + "offline_pages/offline_page_origin_utils.h", + "offline_pages/offline_page_request_handler.cc", + "offline_pages/offline_page_request_handler.h", + "offline_pages/offline_page_tab_helper.cc", + "offline_pages/offline_page_tab_helper.h", + "offline_pages/offline_page_url_loader.cc", + "offline_pages/offline_page_url_loader.h", + "offline_pages/offline_page_url_loader_request_interceptor.cc", + "offline_pages/offline_page_url_loader_request_interceptor.h", + "offline_pages/offline_page_utils.cc", + "offline_pages/offline_page_utils.h", + "offline_pages/offliner_helper.cc", + "offline_pages/offliner_helper.h", + "offline_pages/offliner_user_data.cc", + "offline_pages/offliner_user_data.h", + "offline_pages/recent_tab_helper.cc", + "offline_pages/recent_tab_helper.h", + "offline_pages/request_coordinator_factory.h", + "offline_pages/resource_loading_observer.h", + "offline_pages/visuals_decoder_impl.cc", + "offline_pages/visuals_decoder_impl.h", + ] + if (is_android) { + sources += [ + "offline_pages/android/auto_fetch_notifier.cc", + "offline_pages/android/auto_fetch_notifier.h", + "offline_pages/android/auto_fetch_page_load_watcher.cc", + "offline_pages/android/auto_fetch_page_load_watcher.h", + "offline_pages/android/background_scheduler_bridge.cc", + "offline_pages/android/background_scheduler_bridge.h", + "offline_pages/android/downloads/offline_page_download_bridge.cc", + "offline_pages/android/downloads/offline_page_download_bridge.h", + "offline_pages/android/downloads/offline_page_infobar_delegate.cc", + "offline_pages/android/downloads/offline_page_infobar_delegate.h", + "offline_pages/android/downloads/offline_page_share_helper.cc", + "offline_pages/android/downloads/offline_page_share_helper.h", + "offline_pages/android/load_termination_listener_impl.cc", + "offline_pages/android/load_termination_listener_impl.h", + "offline_pages/android/offline_page_archive_publisher_impl.cc", + "offline_pages/android/offline_page_archive_publisher_impl.h", + "offline_pages/android/offline_page_auto_fetcher.cc", + "offline_pages/android/offline_page_auto_fetcher.h", + "offline_pages/android/offline_page_auto_fetcher_service.cc", + "offline_pages/android/offline_page_auto_fetcher_service.h", + "offline_pages/android/offline_page_auto_fetcher_service_factory.cc", + "offline_pages/android/offline_page_auto_fetcher_service_factory.h", + "offline_pages/android/offline_page_bridge.cc", + "offline_pages/android/offline_page_bridge.h", + "offline_pages/android/offline_page_model_factory.cc", + "offline_pages/android/offline_page_origin_utils_android.cc", + "offline_pages/android/offline_page_utils_android.cc", + "offline_pages/android/request_coordinator_bridge.cc", + "offline_pages/android/request_coordinator_bridge.h", + "offline_pages/android/request_coordinator_factory.cc", + ] + } + + deps += [ + "//chrome/common:offline_page_auto_fetcher_mojom", + "//components/offline_pages/content/background_loader", + "//components/offline_pages/core/downloads:offline_pages_ui_adapter", + "//components/offline_pages/core/request_header", + ] + + # Used to build test harness locally.The harness is used manually to + # produce multiple offline pages to evaluate quality of the snapshots. + # This will only be built iff. | enable_offline_pages_harness | is set while + # | enable_offline_pages | and | is_android | are both true. + if (enable_offline_pages_harness && is_android) { + sources += [ + "offline_pages/android/evaluation/evaluation_test_scheduler.cc", + "offline_pages/android/evaluation/evaluation_test_scheduler.h", + "offline_pages/android/evaluation/offline_page_evaluation_bridge.cc", + "offline_pages/android/evaluation/offline_page_evaluation_bridge.h", + ] + } + } + + if (enable_pdf) { + sources += [ + "accessibility/pdf_ocr_controller.cc", + "accessibility/pdf_ocr_controller.h", + "accessibility/pdf_ocr_controller_factory.cc", + "accessibility/pdf_ocr_controller_factory.h", + ] + deps += [ + "//chrome/browser/pdf", + "//chrome/browser/pdf:pdf_pref_names", + "//components/pdf/browser", + "//components/pdf/browser:interceptors", + "//extensions/common/api", + "//pdf:features", + ] + } + + if (enable_plugins) { + sources += [ + "plugins/chrome_content_browser_client_plugins_part.cc", + "plugins/chrome_content_browser_client_plugins_part.h", + "plugins/chrome_plugin_service_filter.cc", + "plugins/chrome_plugin_service_filter.h", + "plugins/hung_plugin_infobar_delegate.cc", + "plugins/hung_plugin_infobar_delegate.h", + "plugins/plugin_info_host_impl.cc", + "plugins/plugin_info_host_impl.h", + "plugins/plugin_metadata.cc", + "plugins/plugin_metadata.h", + "plugins/plugin_observer.cc", + "plugins/plugin_observer.h", + "plugins/plugin_prefs.cc", + "plugins/plugin_prefs.h", + "plugins/plugin_prefs_factory.cc", + "plugins/plugin_prefs_factory.h", + "plugins/plugin_response_interceptor_url_loader_throttle.cc", + "plugins/plugin_response_interceptor_url_loader_throttle.h", + "plugins/plugin_utils.cc", + "plugins/plugin_utils.h", + "plugins/reload_plugin_infobar_delegate.cc", + "plugins/reload_plugin_infobar_delegate.h", + ] + deps += [ + "//media:media_buildflags", + "//services/network/public/mojom", + ] + } + + if (enable_ppapi) { + sources += [ + "renderer_host/pepper/chrome_browser_pepper_host_factory.cc", + "renderer_host/pepper/chrome_browser_pepper_host_factory.h", + "renderer_host/pepper/pepper_isolated_file_system_message_filter.cc", + "renderer_host/pepper/pepper_isolated_file_system_message_filter.h", + ] + deps += [ + "//ppapi/host", + "//ppapi/proxy:ipc", + ] + if (is_chromeos_ash) { + deps += [ "//chromeos/ash/components/cryptohome" ] + } + } + + if (enable_plugins || is_android) { + sources += [ + "plugins/plugin_observer_common.cc", + "plugins/plugin_observer_common.h", + ] + } + + if (enable_request_header_integrity) { + deps += [ "//chrome/browser/request_header_integrity" ] + } + + if (enable_rlz) { + sources += [ + "rlz/chrome_rlz_tracker_delegate.cc", + "rlz/chrome_rlz_tracker_delegate.h", + "rlz/chrome_rlz_tracker_web_contents_observer.cc", + "rlz/chrome_rlz_tracker_web_contents_observer.h", + ] + } + + if (enable_service_discovery) { + sources += [ + "local_discovery/service_discovery_client.cc", + "local_discovery/service_discovery_client.h", + "local_discovery/service_discovery_device_lister.cc", + "local_discovery/service_discovery_device_lister.h", + "local_discovery/service_discovery_shared_client.cc", + "local_discovery/service_discovery_shared_client.h", + ] + + if (is_mac) { + sources += [ + "local_discovery/service_discovery_client_mac.h", + "local_discovery/service_discovery_client_mac.mm", + "local_discovery/service_discovery_client_mac_factory.h", + "local_discovery/service_discovery_client_mac_factory.mm", + "local_discovery/service_discovery_client_mac_util.h", + "local_discovery/service_discovery_client_mac_util.mm", + ] + + frameworks += [ "Network.framework" ] + } + + if (enable_mdns) { + sources += [ + "local_discovery/service_discovery_client_impl.cc", + "local_discovery/service_discovery_client_impl.h", + "local_discovery/service_discovery_client_mdns.cc", + "local_discovery/service_discovery_client_mdns.h", + ] + } + + if (is_chromeos_ash) { + sources += [ + "local_discovery/endpoint_resolver.cc", + "local_discovery/endpoint_resolver.h", + ] + } + } + + if (enable_session_service) { + sources += [ + "sessions/app_session_service.cc", + "sessions/app_session_service.h", + "sessions/app_session_service_factory.cc", + "sessions/app_session_service_factory.h", + "sessions/exit_type_service.cc", + "sessions/exit_type_service.h", + "sessions/exit_type_service_factory.cc", + "sessions/exit_type_service_factory.h", + "sessions/session_data_deleter.cc", + "sessions/session_data_deleter.h", + "sessions/session_data_service.cc", + "sessions/session_data_service.h", + "sessions/session_data_service_factory.cc", + "sessions/session_data_service_factory.h", + "sessions/session_restore.cc", + "sessions/session_restore.h", + "sessions/session_restore_delegate.cc", + "sessions/session_restore_delegate.h", + "sessions/session_restore_observer.h", + "sessions/session_restore_stats_collector.cc", + "sessions/session_restore_stats_collector.h", + "sessions/session_service.cc", + "sessions/session_service.h", + "sessions/session_service_base.cc", + "sessions/session_service_base.h", + "sessions/session_service_factory.cc", + "sessions/session_service_factory.h", + "sessions/session_service_log.cc", + "sessions/session_service_log.h", + "sessions/session_service_lookup.cc", + "sessions/session_service_lookup.h", + "sessions/session_service_utils.cc", + "sessions/session_service_utils.h", + "sessions/sessions_features.cc", + "sessions/sessions_features.h", + "sessions/tab_loader.cc", + "sessions/tab_loader.h", + "sessions/tab_loader_delegate.cc", + "sessions/tab_loader_delegate.h", + ] + deps += [ "//components/tab_groups" ] + } + + if (enable_spellcheck) { + sources += [ + "spellchecker/spell_check_host_chrome_impl.cc", + "spellchecker/spell_check_host_chrome_impl.h", + "spellchecker/spell_check_initialization_host_impl.cc", + "spellchecker/spell_check_initialization_host_impl.h", + "spellchecker/spellcheck_custom_dictionary.cc", + "spellchecker/spellcheck_custom_dictionary.h", + "spellchecker/spellcheck_factory.cc", + "spellchecker/spellcheck_factory.h", + "spellchecker/spellcheck_hunspell_dictionary.cc", + "spellchecker/spellcheck_hunspell_dictionary.h", + "spellchecker/spellcheck_service.cc", + "spellchecker/spellcheck_service.h", + ] + + if (use_browser_spellchecker && enable_spelling_service) { + sources += [ + "spellchecker/spelling_request.cc", + "spellchecker/spelling_request.h", + ] + } + + if (is_win || is_linux || is_chromeos) { + sources += [ + "spellchecker/spellcheck_language_blocklist_policy_handler.cc", + "spellchecker/spellcheck_language_blocklist_policy_handler.h", + "spellchecker/spellcheck_language_policy_handler.cc", + "spellchecker/spellcheck_language_policy_handler.h", + ] + } + + if (has_spellcheck_panel) { + sources += [ + "spellchecker/spell_check_panel_host_impl.cc", + "spellchecker/spell_check_panel_host_impl.h", + ] + } + + deps += [ + "//components/spellcheck/browser", + "//components/spellcheck/common", + ] + + if (!is_android) { + deps += [ "//third_party/hunspell" ] + } + } + + if (!is_chromeos_ash) { + sources += [ + "metrics/family_link_user_metrics_provider.cc", + "metrics/family_link_user_metrics_provider.h", + ] + } + + if (enable_extensions) { + sources += [ + "supervised_user/extension_icon_loader.cc", + "supervised_user/extension_icon_loader.h", + "supervised_user/supervised_user_extensions_delegate_impl.cc", + "supervised_user/supervised_user_extensions_delegate_impl.h", + "supervised_user/supervised_user_extensions_manager.cc", + "supervised_user/supervised_user_extensions_manager.h", + "supervised_user/supervised_user_extensions_metrics_recorder.cc", + "supervised_user/supervised_user_extensions_metrics_recorder.h", + ] + if (is_chromeos) { + sources += [ + "supervised_user/chromeos/parent_access_extension_approvals_manager.cc", + "supervised_user/chromeos/parent_access_extension_approvals_manager.h", + ] + } + } + + if (enable_vr) { + sources += [ + "vr/chrome_xr_integration_client.cc", + "vr/chrome_xr_integration_client.h", + "vr/ui_host/vr_ui_host_impl.cc", + "vr/ui_host/vr_ui_host_impl.h", + ] + + deps += [ + "//chrome/browser/vr:vr_common", + "//device/vr", + "//device/vr/public/mojom:isolated_xr_service", + ] + + if (is_android) { + if (enable_arcore || enable_cardboard || enable_openxr) { + deps += [ "//components/webxr/android" ] + } + + if (enable_arcore) { + deps += [ + "//chrome/browser/android/vr:ar_jni_headers", + "//device/vr/android/arcore", + ] + } + + if (enable_cardboard) { + deps += [ + "//chrome/browser/android/vr:vr_jni_headers", + "//device/vr/android/cardboard:vr_cardboard", + ] + } + } else { + deps += [ "//device/vr/public/mojom:isolated_xr_service" ] + } + } + + if (enable_lens_desktop_google_branded_features) { + deps += [ "//chrome/browser/lens/region_search" ] + } + + if (use_nss_certs) { + sources += [ + "certificate_manager_model.cc", + "certificate_manager_model.h", + "net/nss_service.cc", + "net/nss_service.h", + "net/nss_service_factory.cc", + "net/nss_service_factory.h", + ] + if (is_chromeos) { + sources += [ + "net/nss_temp_certs_cache_chromeos.cc", + "net/nss_temp_certs_cache_chromeos.h", + ] + } + if (is_chromeos_ash) { + sources += [ "net/nss_service_chromeos.cc" ] + } + if (is_chromeos_lacros) { + sources += [ "net/nss_service_lacros.cc" ] + } + if (is_linux) { + sources += [ "net/nss_service_linux.cc" ] + } + configs += [ "//build/config/linux/nss" ] + } + + if (chrome_root_store_cert_management_ui) { + sources += [ + "net/server_certificate_database.cc", + "net/server_certificate_database.h", + ] + } + + if (use_udev) { + deps += [ "//device/udev_linux" ] + } + + if (safe_browsing_mode != 0) { + deps += [ + "//components/safe_browsing/content/browser:safe_browsing_blocking_page", + "//components/safe_browsing/content/browser/download:download_stats", + "//components/safe_browsing/content/common:file_type_policies", + "//components/safe_browsing/content/common/proto:download_file_types_proto", + ] + } + + if (build_with_tflite_lib) { + sources += [ + "autocomplete/autocomplete_scoring_model_service_factory.cc", + "autocomplete/autocomplete_scoring_model_service_factory.h", + "autocomplete/on_device_tail_model_service_factory.cc", + "autocomplete/on_device_tail_model_service_factory.h", + "navigation_predictor/preloading_model_executor.cc", + "navigation_predictor/preloading_model_executor.h", + "navigation_predictor/preloading_model_handler.cc", + "navigation_predictor/preloading_model_handler.h", + ] + deps += [ "//components/segmentation_platform/internal:optimization_guide_segmentation_handler" ] + } + + if (enable_compose) { + sources += [ + "compose/chrome_compose_client.cc", + "compose/chrome_compose_client.h", + "compose/compose_ax_serialization_utils.cc", + "compose/compose_ax_serialization_utils.h", + "compose/compose_enabling.cc", + "compose/compose_enabling.h", + "compose/compose_session.cc", + "compose/compose_session.h", + "compose/compose_text_usage_logger.cc", + "compose/compose_text_usage_logger.h", + "compose/proactive_nudge_tracker.cc", + "compose/proactive_nudge_tracker.h", + ] + + deps += [ + ":compose_optimization_guide_proto", + "//chrome/common/compose", + "//chrome/common/compose:mojo_bindings", + "//components/autofill/content/browser:browser", + "//components/autofill/core/browser", + "//components/autofill/core/common", + "//components/autofill/core/common", + "//components/compose/core/browser", + "//components/optimization_guide/core", + "//components/optimization_guide/proto:optimization_guide_proto", + "//services/metrics/public/cpp:metrics_cpp", + "//services/metrics/public/cpp:ukm_builders", + ] + } + + if (is_chromeos || is_win || is_linux || is_mac) { + deps += [ + "//components/metrics", + "//components/metrics/structured", + "//components/metrics/structured:structured_metrics_validator", + ] + + if (is_chromeos_ash) { + sources += [ + "metrics/structured/arena_event_buffer.cc", + "metrics/structured/arena_event_buffer.h", + "metrics/structured/ash_event_storage.cc", + "metrics/structured/ash_event_storage.h", + "metrics/structured/ash_structured_metrics_delegate.cc", + "metrics/structured/ash_structured_metrics_delegate.h", + "metrics/structured/ash_structured_metrics_recorder.cc", + "metrics/structured/ash_structured_metrics_recorder.h", + "metrics/structured/cros_events_processor.cc", + "metrics/structured/cros_events_processor.h", + "metrics/structured/key_data_provider_ash.cc", + "metrics/structured/key_data_provider_ash.h", + "metrics/structured/metadata_processor_ash.cc", + "metrics/structured/metadata_processor_ash.h", + "metrics/structured/profile_observer.cc", + "metrics/structured/profile_observer.h", + "metrics/structured/storage_manager_impl.cc", + "metrics/structured/storage_manager_impl.h", + "metrics/structured/structured_metrics_key_events_observer.cc", + "metrics/structured/structured_metrics_key_events_observer.h", + ] + + deps += [ + "//components/metrics", + "//components/metrics/structured:external_metrics", + "//components/metrics/structured:structured_metrics_validator", + "//components/metrics/structured/lib", + ] + } + } + + if (is_chrome_for_testing) { + deps += [ "//chrome/browser/chrome_for_testing" ] + } + + if (enable_reporting) { + deps += [ "//components/tpcd/enterprise_reporting" ] + } +} + +# These are the dependencies for the "browser" target that are outside of +# //chrome/browser. All gn targets that have circular dependencies with +# "browser" should include this dependency. +# The "browser" target is being broken into smaller targets. In order for this +# process to be incremental, we allow circular dependencies via +# allow_circular_includes_from. This has a drawback: the gn build graph may miss +# generated dependencies, which will result in compile errors. Consider the +# following: +# static_library("browser") { +# sources = [ "header_file_that_depends_on_generate_cpp.h" ] +# public_deps = [ "//content/generate_cpp" ] +# deps = [ "new_target_with_circular_dependencies" ] +# allow_circular_includes_from = [ "new_target_with_circular_dependencies" ] +# } +# static_library("new_target_with_circular_dependencies") { +# sources = [ "file_that_depends_on_the_header_file_above.cc" ] +# dep = [] +# } +# In this situation, the new_target depends on //content/generate_cpp, but this +# will not be reflected in the build graph. To work around this problem, we move +# all public deps of "browser" into a new target, and all circular dependencies +# must include this target in a public_dep. This ensures stability and +# correctness of the build-graph outside of //chrome/browser. +static_library("browser_public_dependencies") { + public_deps = [ + # To avoid every target that is circularly dependent on + # //chrome/browser:browser needing to include 2 separate targets, we include + # generated files here. + ":browser_generated_files", + + # //chrome/browser/ui and //chrome/browser are semantically the same target, + # and thus their public dependencies are shared. + "//base", + "//chrome/browser/ui:ui_public_dependencies", + "//chrome/common", + "//chrome/common:buildflags", + "//chrome/common:constants", + "//chrome/services/file_util/public/mojom", + "//components/account_id", + "//components/autofill/core/browser", + "//components/commerce/core/product_specifications:product_specifications", + "//components/compose/core/browser:mojo_bindings", + "//components/cross_device/logging", + "//components/enterprise/buildflags", + "//components/enterprise/common:files_scan_data", + "//components/input", + "//components/media_router/common/mojom:media_controller", + "//components/nacl/common:buildflags", + "//components/optimization_guide:machine_learning_tflite_buildflags", + "//components/page_image_service/mojom:mojo_bindings", + "//components/page_info", + "//components/page_info/core", + "//components/paint_preview/buildflags", + "//components/payments/core", + "//components/payments/core:error_strings", + "//components/policy/proto", + "//components/reporting/proto:configuration_file_proto", + "//components/safe_browsing:buildflags", + "//components/search_engines", + "//components/services/storage/public/mojom", + "//components/session_proto_db:session_proto_db", + "//components/sharing_message", + "//components/sync", + "//components/sync_device_info", + "//components/system_cpu:system_cpu", + "//components/url_deduplication", + "//content/public/browser", + "//ipc", + "//pdf:buildflags", + "//services/data_decoder/public/mojom", + "//services/image_annotation/public/mojom", + "//services/network/public/mojom", + "//services/screen_ai/buildflags", + "//sql", + ] + if (is_android) { + public_deps += [ + "//chrome/android/features/dev_ui:buildflags", + "//components/image_fetcher/core", + ] + } else { + public_deps += [ + "//components/commerce/core:coupon_db_content_proto", + "//extensions/buildflags", + "//ui/webui/resources/cr_components/commerce:mojo_bindings", + "//ui/webui/resources/cr_components/help_bubble:mojo_bindings", + ] + } + if (is_chromeos_ash) { + public_deps += [ + "//ash/components/arc/mojom", + "//ash/webui/os_feedback_ui/mojom", + "//chrome/common/extensions/api", + "//chrome/services/printing/public/mojom", + "//chrome/services/sharing/public/proto", + "//chromeos/ash/components/dbus:vm_applications_apps_proto", + "//chromeos/ash/components/dbus:vm_launch_proto", + "//chromeos/ash/components/dbus/anomaly_detector:proto", + "//chromeos/ash/components/dbus/chunneld:proto", + "//chromeos/ash/components/dbus/concierge:concierge_proto_lib", + "//chromeos/ash/components/dbus/seneschal:seneschal_proto", + "//chromeos/ash/components/dbus/spaced:spaced_proto", + "//chromeos/ash/components/drivefs/mojom", + "//chromeos/ash/components/drivefs/mojom:pinning_manager_types", + "//chromeos/ash/components/nearby/common/connections_manager", + "//chromeos/ash/services/auth_factor_config/public/mojom", + "//chromeos/ash/services/nearby/public/mojom", + "//chromeos/components/sharesheet:constants", + "//components/enterprise/buildflags", + "//components/lens:buildflags", + "//components/webapps/common:mojo_bindings", + "//third_party/nearby:encrypted_metadata_proto", + "//third_party/nearby:rpc_resources_proto", + "//ui/lottie", + ] + } + if (is_win) { + public_deps += [ + ":titlebar_config", + "//build:branding_buildflags", + "//chrome/services/util_win/public/mojom", + "//ui/views", + "//ui/views/controls/webview", + ] + arflags = [ "/llvmlibempty" ] + } + if (is_linux || is_win || is_mac) { + public_deps += [ "//components/enterprise/core" ] + } + if (enable_printing) { + public_deps += [ "//components/printing/common:mojo_interfaces" ] + } + if (enable_bound_session_credentials) { + public_deps += [ ":bound_session_credentials_proto" ] + } + if (enable_offline_pages) { + public_deps += [ + "//components/offline_pages/core", + "//components/offline_pages/core/background:background_offliner", + ] + } + if (enable_rlz) { + public_deps += [ + "//components/google/core/common", + "//components/rlz", + "//rlz:rlz_lib", + ] + } +} + +# All generated files in //chrome/browser/ depended on by +# //chrome/browser:browser or targets that circularly depend on +# //chrome/browser:browser should be listed here. This ensures that the build +# graph is correct and that all headers are generated before any translation +# units are compiled. +static_library("browser_generated_files") { + public_deps = [ + ":buildflags", + "//chrome/browser:lcp_critical_path_predictor_proto", + "//chrome/browser:resource_prefetch_predictor_proto", + "//chrome/browser/media:media_engagement_preload_proto", + "//chrome/browser/media:mojo_bindings", + "//chrome/browser/media/router/discovery/access_code:discovery_resources_proto", + "//chrome/browser/net:key_pinning_proto", + "//chrome/browser/net:probe_message_proto", + "//chrome/browser/page_info:page_info_buildflags", + "//chrome/browser/policy/messaging_layer/proto:log_upload_event_proto", + "//chrome/browser/push_messaging:budget_proto", + "//chrome/browser/request_header_integrity:buildflags", + "//chrome/browser/resource_coordinator:mojo_bindings", + "//chrome/browser/sharing:buildflags", + "//chrome/browser/ui/webui/app_service_internals:mojo_bindings", + "//chrome/browser/ui/webui/data_sharing_internals:mojo_bindings", + "//chrome/browser/ui/webui/internals/user_education:mojo_bindings", + "//chrome/browser/ui/webui/location_internals:mojo_bindings", + "//chrome/browser/ui/webui/omnibox:mojo_bindings", + "//chrome/browser/ui/webui/privacy_sandbox:mojo_bindings", + "//chrome/browser/ui/webui/reset_password:mojo_bindings", + "//chrome/browser/ui/webui/segmentation_internals:mojo_bindings", + "//chrome/browser/ui/webui/suggest_internals:mojo_bindings", + "//chrome/browser/ui/webui/usb_internals:mojo_bindings", + "//chrome/browser/v8_compile_hints/proto", + "//chrome/browser/web_applications/mojom:mojom_web_apps_enum", + ] + if (is_android) { + public_deps += [ + "//chrome/browser/android/auxiliary_search/proto", + "//chrome/browser/android/webapk/proto", + "//chrome/browser/ui/webui/feed_internals:mojo_bindings", + ] + } else { + public_deps += [ + "//chrome/browser/cart:mojo_bindings", + "//chrome/browser/companion/core/mojom:mojo_bindings", + "//chrome/browser/lens/core/mojom:mojo_bindings", + "//chrome/browser/new_tab_page/chrome_colors:generate_chrome_colors_info", + "//chrome/browser/new_tab_page/chrome_colors:generate_colors_info", + "//chrome/browser/new_tab_page/modules/file_suggestion:mojo_bindings", + "//chrome/browser/new_tab_page/modules/safe_browsing:mojo_bindings", + "//chrome/browser/new_tab_page/modules/v2/calendar:mojo_bindings", + "//chrome/browser/new_tab_page/modules/v2/most_relevant_tab_resumption:mojo_bindings", + "//chrome/browser/profile_resetter:profile_reset_report_proto", + "//chrome/browser/share/proto:proto", + "//chrome/browser/support_tool:support_tool_proto", + "//chrome/browser/sync_file_system/drive_backend:sync_file_system_drive_proto", + "//chrome/browser/ui:webui_name_variants", + "//chrome/browser/ui/webui/access_code_cast:mojo_bindings", + "//chrome/browser/ui/webui/app_service_internals:mojo_bindings", + "//chrome/browser/ui/webui/data_sharing:mojo_bindings", + "//chrome/browser/ui/webui/discards:mojo_bindings", + "//chrome/browser/ui/webui/downloads:mojo_bindings", + "//chrome/browser/ui/webui/hats:mojo_bindings", + "//chrome/browser/ui/webui/internals/user_education:mojo_bindings", + "//chrome/browser/ui/webui/new_tab_page:mojo_bindings", + "//chrome/browser/ui/webui/new_tab_page_third_party:mojo_bindings", + "//chrome/browser/ui/webui/on_device_internals:mojom", + "//chrome/browser/ui/webui/privacy_sandbox/private_state_tokens:mojo_bindings", + "//chrome/browser/ui/webui/privacy_sandbox/related_website_sets:mojo_bindings", + "//chrome/browser/ui/webui/search_engine_choice:mojo_bindings", + "//chrome/browser/ui/webui/side_panel/bookmarks:mojo_bindings", + "//chrome/browser/ui/webui/side_panel/customize_chrome:mojo_bindings", + "//chrome/browser/ui/webui/side_panel/reading_list:mojo_bindings", + "//chrome/browser/ui/webui/tab_search:mojo_bindings", + "//chrome/browser/ui/webui/tab_strip:mojo_bindings", + "//chrome/browser/ui/webui/web_app_internals:mojo_bindings", + "//chrome/browser/ui/webui/whats_new:mojo_bindings", + "//chrome/browser/webauthn/proto", + ] + if (!is_official_build) { + public_deps += + [ "//chrome/browser/ui/webui/new_tab_page/foo:mojo_bindings" ] + } + } + + if (is_chromeos_ash) { + public_deps += [ + "//chrome/browser/apps/app_preload_service/proto", + "//chrome/browser/ash/app_list/search/ranking:proto", + "//chrome/browser/ash/app_list/search/util:proto", + "//chrome/browser/ash/borealis:borealis_installer_types_mojom", + "//chrome/browser/ash/crostini:crostini_installer_types_mojom", + "//chrome/browser/ash/fusebox:fusebox_proto", + "//chrome/browser/ash/mojo_service_manager:mojo_service_manager", + "//chrome/browser/ash/system_web_apps/types/proto", + "//chrome/browser/media/router/discovery/access_code:discovery_resources_proto", + "//chrome/browser/nearby_sharing/instantmessaging/proto", + "//chrome/browser/nearby_sharing/proto:tachyon_proto", + "//chrome/browser/ui/webui/ash/add_supervision:mojo_bindings", + "//chrome/browser/ui/webui/ash/app_install:mojo_bindings", + "//chrome/browser/ui/webui/ash/audio:mojo_bindings", + "//chrome/browser/ui/webui/ash/borealis_installer:mojo_bindings", + "//chrome/browser/ui/webui/ash/cloud_upload:mojo_bindings", + "//chrome/browser/ui/webui/ash/crostini_installer:mojo_bindings", + "//chrome/browser/ui/webui/ash/crostini_upgrader:mojo_bindings", + "//chrome/browser/ui/webui/ash/emoji:mojo_bindings", + "//chrome/browser/ui/webui/ash/emoji:seal_mojom", + "//chrome/browser/ui/webui/ash/enterprise_reporting:mojo_bindings", + "//chrome/browser/ui/webui/ash/extended_updates:mojo_bindings", + "//chrome/browser/ui/webui/ash/launcher_internals:mojo_bindings", + "//chrome/browser/ui/webui/ash/lobster:lobster_mojom", + "//chrome/browser/ui/webui/ash/login/mojom:mojom", + "//chrome/browser/ui/webui/ash/manage_mirrorsync:mojo_bindings", + "//chrome/browser/ui/webui/ash/office_fallback:mojo_bindings", + "//chrome/browser/ui/webui/ash/parent_access:mojo_bindings", + "//chrome/browser/ui/webui/ash/parent_access:proto", + "//chrome/browser/ui/webui/ash/sensor_info:mojo_bindings", + "//chrome/browser/ui/webui/ash/settings/pages/apps/mojom", + "//chrome/browser/ui/webui/ash/settings/pages/date_time/mojom", + "//chrome/browser/ui/webui/ash/settings/pages/device/display_settings:mojom", + "//chrome/browser/ui/webui/ash/settings/pages/device/input_device_settings:mojom", + "//chrome/browser/ui/webui/ash/settings/pages/files/mojom", + "//chrome/browser/ui/webui/ash/settings/pages/privacy/mojom", + "//chrome/browser/ui/webui/ash/settings/pages/search/mojom", + "//chrome/browser/ui/webui/ash/settings/search/mojom", + "//chrome/browser/ui/webui/ash/skyvault:mojo_bindings", + "//chrome/browser/ui/webui/ash/vm:mojo_bindings", + "//chrome/browser/ui/webui/nearby_share:mojom", + "//chrome/browser/web_applications/proto", + ] + } + if (is_chromeos) { + public_deps += [ "//chrome/browser/ui/webui/dlp_internals:mojo_bindings" ] + } + if (is_win) { + arflags = [ "/llvmlibempty" ] + public_deps += [ "//chrome/browser/ui/startup:buildflags" ] + if (is_chrome_branded) { + public_deps += [ "//chrome/browser/win/conflicts:module_list_proto" ] + } + } + if (is_win || is_mac || is_linux) { + public_deps += [ + "//chrome/browser/enterprise/connectors/device_trust/attestation/common/proto:attestation_ca_proto", + "//chrome/browser/enterprise/connectors/device_trust/attestation/common/proto:google_key_proto", + "//chrome/browser/enterprise/connectors/device_trust/attestation/common/proto:interface_proto", + "//chrome/browser/ui/webui/app_home:mojo_bindings", + "//chrome/browser/ui/webui/whats_new:mojo_bindings", + ] + } + if (is_win || is_mac || is_linux || is_chromeos_ash) { + public_deps += + [ "//chrome/browser/ui/webui/connectors_internals:mojo_bindings" ] + } + if (safe_browsing_mode == 1) { + public_deps += [ "//chrome/browser/ui/webui/reset_password:mojo_bindings" ] + } + if (enable_bound_session_credentials) { + public_deps += [ + # TODO: Use //chrome/browser/ui instead after fixing cyclic dependency. + "//chrome/browser:bound_session_credentials_proto", + ] + } + + if (enable_compose) { + public_deps += [ "//chrome/browser:compose_optimization_guide_proto" ] + } + + if (is_win || is_mac || is_linux || is_chromeos_lacros) { + public_deps += + [ "//chrome/browser/new_tab_page/chrome_colors:generate_colors_info" ] + } + + if (is_win || is_linux || is_android || is_chromeos) { + public_deps += [ "//chrome/browser/privacy:traffic_annotation_proto" ] + } +} + +# Any source files may be added to primitives. The only requirement is that +# there are no dependencies on //chrome/browser. +source_set("primitives") { + sources = [ + "command_updater.h", + "platform_util.h", + "ui/browser_actions.h", + ] + public_deps = [ + "//base", + "//chrome/common:buildflags", + "//ui/base", + "//ui/gfx", + ] + deps = [] + if (!is_android) { + sources += [ + "ui/chrome_web_modal_dialog_manager_delegate.cc", + "ui/chrome_web_modal_dialog_manager_delegate.h", + ] + public_deps += [ "//components/web_modal:web_modal" ] + } +} + +source_set("font_pref") { + sources = [ + "font_pref_change_notifier.cc", + "font_pref_change_notifier.h", + "font_pref_change_notifier_factory.cc", + "font_pref_change_notifier_factory.h", + ] + public_deps = [ + "//base", + "//chrome/browser/profiles:profile", + "//components/keyed_service/core", + "//components/prefs", + ] + deps = [ "//chrome/common" ] +} + +if (enable_compose) { + proto_library("compose_optimization_guide_proto") { + sources = [ "compose/proto/compose_optimization_guide.proto" ] + cc_generator_options = "lite=true:" + } +} + +if (is_android) { + proto_library("delta_file_proto") { + sources = [ "android/proto/delta_file.proto" ] + } + + proto_library("fast_checkout_funnels_proto") { + sources = [ "fast_checkout/fast_checkout_funnels.proto" ] + } + + proto_library("sensitivity_data_proto") { + sources = [ "android/persisted_tab_data/sensitivity_data.proto" ] + } + + proto_library("profile_token") { + sources = [ "android/proto/profile_token.proto" ] + } + + proto_library("usage_stats_proto") { + sources = [ "android/usage_stats/website_event.proto" ] + } +} + +if (is_win) { + static_library("chrome_process_finder") { + sources = [ + "win/chrome_process_finder.cc", + "win/chrome_process_finder.h", + ] + deps = [ + "//base", + "//chrome/browser/policy:path_parser", + "//chrome/common:constants", + ] + } +} + +# This source set is built into both //chrome:chrome_initial (chrome.exe) and +# //chrome:main_dll (chrome.dll). It must not pull in additional dependencies +# over what those targets already require. +source_set("active_use_util") { + sources = [ "active_use_util.h" ] + public_deps = [ "//chrome/install_static:buildflags" ] +} + +if (is_win) { + source_set("titlebar_config") { + sources = [ "win/titlebar_config.h" ] + deps = [ "//base" ] + } +} + +proto_library("k_anonymity_storage_proto") { + sources = [ "k_anonymity_service/proto/k_anonymity_storage.proto" ] +} + +proto_library("resource_prefetch_predictor_proto") { + sources = [ "predictors/resource_prefetch_predictor.proto" ] +} + +proto_library("lcp_critical_path_predictor_proto") { + sources = [ + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor.proto", + ] +} + +if (enable_bound_session_credentials) { + proto_library("bound_session_credentials_proto") { + sources = [ + "signin/bound_session_credentials/bound_session_params.proto", + "signin/bound_session_credentials/rotation_debug_info.proto", + ] + } +} + +grit("resources") { + source = "browser_resources.grd" + + use_brotli = true + + defines = chrome_grit_defines + if (enable_hangout_services_extension) { + defines += [ "enable_hangout_services_extension" ] + } + + output_dir = "$root_gen_dir/chrome" + outputs = [ + "grit/browser_resources.h", + "browser_resources.pak", + ] + + grit_flags = [ + "-E", + "additional_modules_list_file=" + + rebase_path(additional_modules_list_file, root_build_dir), + ] + + deps = [ ":chrome_internal_resources_gen" ] + + if (is_win) { + deps += [ "//chrome/browser/resources/conflicts:build_ts" ] + } + + if (is_win || is_mac || is_linux || is_chromeos) { + deps += [ "//services/resource_coordinator/public/mojom:mojom_js" ] + } + + if (is_android) { + deps += [ "//chrome/browser/resources/offline_pages:build_ts" ] + } + if (is_chromeos_ash) { + deps += [ + "//chrome/browser/ash/guest_os:guest_os_diagnostics_mojom_js__generator", + "//chrome/browser/resources/chromeos/account_manager:css_wrapper_files", + "//chrome/browser/resources/chromeos/account_manager:html_wrapper_files", + "//chrome/browser/resources/chromeos/account_manager/components:html_wrapper_files", + "//chrome/browser/resources/chromeos/arc_account_picker:web_components", + "//chrome/browser/resources/chromeos/crostini_installer:html_wrapper_files", + "//chrome/browser/resources/chromeos/crostini_upgrader:html_wrapper_files", + "//chrome/browser/resources/chromeos/emulator:web_components", + "//chrome/browser/resources/chromeos/gaia_action_buttons:web_components", + "//chrome/browser/resources/chromeos/password_change:html_wrapper_files", + "//chrome/browser/resources/chromeos/smb_shares:web_components", + "//chrome/browser/resources/chromeos/vm:web_components", + "//chrome/browser/ui/webui/ash/crostini_installer:mojo_bindings_js", + "//chrome/browser/ui/webui/ash/crostini_upgrader:mojo_bindings_js", + "//chrome/browser/ui/webui/ash/login/mojom:mojom_ts__generator", + "//chrome/browser/ui/webui/ash/vm:mojo_bindings_js__generator", + "//url/mojom:url_mojom_gurl_js", + ] + } + + if (safe_browsing_mode == 1) { + deps += [ "//chrome/browser/resources/reset_password:build_ts" ] + } + + if (enable_nacl || is_mac) { + deps += [ "//chrome/browser/resources/about_nacl:build_ts" ] + } +} + +if (is_chrome_branded) { + action("chrome_internal_resources_gen") { + script = "internal/transform_additional_modules_list.py" + sources = [ "internal/resources/additional_modules_list.input" ] + outputs = [ additional_modules_list_file ] + args = rebase_path(sources, root_build_dir) + + rebase_path(outputs, root_build_dir) + } +} else { + group("chrome_internal_resources_gen") { + # Empty placeholder. + } +} + +grit("dev_ui_browser_resources") { + source = "dev_ui_browser_resources.grd" + + defines = chrome_grit_defines + + output_dir = "$root_gen_dir/chrome" + outputs = [ + "grit/dev_ui_browser_resources.h", + "dev_ui_browser_resources.pak", + ] +} + +action("expired_flags_list_gen") { + script = "//tools/flags/generate_expired_list.py" + sources = [ "flag-metadata.json" ] + inputs = [ "//chrome/VERSION" ] + outputs = [ "$root_gen_dir/chrome/browser/expired_flags_list.cc" ] + args = rebase_path(sources, root_build_dir) + + rebase_path(outputs, root_build_dir) +} + +source_set("expired_flags_list") { + deps = [ ":expired_flags_list_gen" ] + sources = [ "$root_gen_dir/chrome/browser/expired_flags_list.cc" ] +} + +action("unexpire_flags_gen") { + script = "//tools/flags/generate_unexpire_flags.py" + inputs = [ + "//chrome/VERSION", + "//tools/flags/generate_unexpire_flags.py", + ] + outputs = [ + "$root_gen_dir/chrome/browser/unexpire_flags_gen.cc", + "$root_gen_dir/chrome/browser/unexpire_flags_gen.h", + "$root_gen_dir/chrome/browser/unexpire_flags_gen.inc", + ] + args = rebase_path(outputs, root_build_dir) +} + +source_set("unexpire_flags") { + deps = [ + ":unexpire_flags_gen", + "//base", + ] + sources = [ + "$root_gen_dir/chrome/browser/unexpire_flags_gen.cc", + "$root_gen_dir/chrome/browser/unexpire_flags_gen.h", + "$root_gen_dir/chrome/browser/unexpire_flags_gen.inc", + ] +} + +# Use a static library here because many test binaries depend on this but don't +# require many files from it. This makes linking more efficient. +static_library("test_support") { + testonly = true + + # Always include this via the main test support target. + visibility = [ + "//chrome/browser/apps/link_capturing:test_support", + "//chrome/browser/ash/printing:unit_tests", + "//chrome/browser/ash/settings:test_support", + "//chrome/browser/ash/settings:unit_tests", + "//chrome/browser/autofill:interactive_ui_tests", + "//chrome/browser/autofill:test_support_ui", + "//chrome/browser/extensions:test_support", + "//chrome/browser/search_engine_choice:browser_tests", + "//chrome/test:test_support", + ] + + sources = [ + "consent_auditor/consent_auditor_test_utils.cc", + "consent_auditor/consent_auditor_test_utils.h", + "download/download_test_file_activity_observer.cc", + "download/download_test_file_activity_observer.h", + "history/history_test_utils.cc", + "history/history_test_utils.h", + "interstitials/security_interstitial_page_test_utils.cc", + "interstitials/security_interstitial_page_test_utils.h", + "media/webrtc/fake_desktop_media_list.cc", + "media/webrtc/fake_desktop_media_list.h", + "media/webrtc/fake_desktop_media_picker_factory.cc", + "media/webrtc/fake_desktop_media_picker_factory.h", + "net/dns_probe_test_util.cc", + "net/dns_probe_test_util.h", + "notifications/metrics/mock_notification_metrics_logger.cc", + "notifications/metrics/mock_notification_metrics_logger.h", + "notifications/stub_notification_display_service.cc", + "notifications/stub_notification_display_service.h", + "plugins/plugin_test_utils.cc", + "plugins/plugin_test_utils.h", + "policy/messaging_layer/upload/fake_upload_client.cc", + "policy/messaging_layer/upload/fake_upload_client.h", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_test_util.cc", + "predictors/lcp_critical_path_predictor/lcp_critical_path_predictor_test_util.h", + "predictors/loading_test_util.cc", + "predictors/loading_test_util.h", + "resource_coordinator/tab_load_tracker_test_support.cc", + "resource_coordinator/tab_load_tracker_test_support.h", + "share/fake_share_history.cc", + "share/fake_share_history.h", + "signin/chrome_signin_client_test_util.cc", + "signin/chrome_signin_client_test_util.h", + "signin/e2e_tests/test_accounts_util.cc", + "signin/e2e_tests/test_accounts_util.h", + "ssl/ssl_browsertest_util.cc", + "ssl/ssl_browsertest_util.h", + "ssl/ssl_client_auth_requestor_mock.cc", + "ssl/ssl_client_auth_requestor_mock.h", + "translate/translate_test_utils.cc", + "translate/translate_test_utils.h", + ] + + configs += [ "//build/config:precompiled_headers" ] + + public_deps = [ + ":browser", + "//chrome/browser/autofill:test_support", + "//chrome/browser/media/webrtc", + "//chrome/browser/profiles:profile", + "//chrome/browser/safe_browsing:test_support", + "//chrome/browser/ui:test_support", + ] + deps = [ + ":browser_process", + ":global_features", + ":lcp_critical_path_predictor_proto", + "//build:chromeos_buildflags", + "//chrome/app/theme:theme_resources", + "//chrome/browser/policy/messaging_layer/proto:crd_event_proto", + "//chrome/browser/search_engine_choice", + "//chrome/browser/search_engines", + "//chrome/browser/share:share", + "//chrome/common", + "//chrome/common/notifications", + "//chrome/common/safe_browsing:proto", + "//components/consent_auditor:test_support", + "//components/enterprise/common/proto:connectors_proto", + "//components/invalidation/impl", + "//components/invalidation/impl:test_support", + "//components/lookalikes/core", + "//components/lookalikes/core:proto", + "//components/lookalikes/core:safety_tips", + "//components/password_manager/core/browser:test_support", + "//components/policy/core/browser:test_support", + "//components/prefs:test_support", + "//components/reporting/client:test_support", + "//components/reporting/proto:configuration_file_proto", + "//components/reporting/proto:record_constants", + "//components/reporting/proto:record_proto", + "//components/reporting/proto:status_proto", + "//components/reporting/proto:upload_tracker_proto", + "//components/reporting/resources:resource_manager", + "//components/reporting/storage:storage_uploader_interface", + "//components/reporting/util:status", + "//components/reporting/util:status_macros", + "//components/reporting/util:task_runner_context", + "//components/safe_browsing/core/common/proto:csd_proto", + "//components/search_engines:test_support", + "//components/security_interstitials/content:security_interstitial_page", + "//components/security_state/content", + "//components/services/unzip/content", + "//components/sessions:test_support", + "//components/signin/public/identity_manager:test_support", + "//components/subresource_filter/core/browser:test_support", + "//components/subresource_filter/core/common:test_support", + "//components/sync_preferences:test_support", + "//components/translate/content/browser:test_support", + "//components/ukm:test_support", + "//content/test:test_support", + "//google_apis:test_support", + "//net:test_support", + "//services/data_decoder/public/cpp:test_support", + "//services/preferences/public/cpp/tracked:test_support", + "//skia", + "//testing/gmock", + "//testing/gtest", + "//ui/gfx", + "//ui/gfx:test_support", + "//ui/shell_dialogs", + ] + + if (is_android) { + sources += [ + "android/webapk/test/fake_webapk_specifics_fetcher.cc", + "android/webapk/test/fake_webapk_specifics_fetcher.h", + "download/android/mock_download_controller.cc", + "download/android/mock_download_controller.h", + "fast_checkout/mock_fast_checkout_capabilities_fetcher.cc", + "fast_checkout/mock_fast_checkout_capabilities_fetcher.h", + ] + } else { + sources += [ + "apps/intent_helper/preferred_apps_test_util.cc", + "apps/intent_helper/preferred_apps_test_util.h", + "download/test_download_shelf.cc", + "download/test_download_shelf.h", + "hid/mock_hid_device_observer.cc", + "hid/mock_hid_device_observer.h", + "notifications/notification_test_util.cc", + "notifications/notification_test_util.h", + "privacy_sandbox/mock_privacy_sandbox_service.cc", + "privacy_sandbox/mock_privacy_sandbox_service.h", + "privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_mixin.cc", + "privacy_sandbox/privacy_sandbox_attestations/privacy_sandbox_attestations_mixin.h", + "profile_resetter/profile_resetter_test_base.cc", + "profile_resetter/profile_resetter_test_base.h", + "sessions/app_session_service_test_helper.cc", + "sessions/app_session_service_test_helper.h", + "sessions/session_restore_test_helper.cc", + "sessions/session_restore_test_helper.h", + "sessions/session_restore_test_utils.cc", + "sessions/session_restore_test_utils.h", + "sessions/session_service_base_test_helper.cc", + "sessions/session_service_base_test_helper.h", + "sessions/session_service_test_helper.cc", + "sessions/session_service_test_helper.h", + "sessions/tab_loader_tester.cc", + "sessions/tab_loader_tester.h", + "sessions/tab_restore_service_load_waiter.cc", + "sessions/tab_restore_service_load_waiter.h", + "speech/fake_speech_recognition_service.cc", + "speech/fake_speech_recognition_service.h", + "speech/fake_speech_recognizer.cc", + "speech/fake_speech_recognizer.h", + "ui/tabs/tab_activity_simulator.cc", + "ui/tabs/tab_activity_simulator.h", + ] + deps += [ + "//chrome/browser/apps/app_service", + "//chrome/test:test_support_ui", + "//components/privacy_sandbox:features", + "//components/privacy_sandbox/privacy_sandbox_attestations:test_support", + "//components/services/app_service", + ] + } + + if (is_chromeos_ash) { + sources += [ + "sharesheet/sharesheet_test_util.cc", + "sharesheet/sharesheet_test_util.h", + "speech/speech_recognition_test_helper.cc", + "speech/speech_recognition_test_helper.h", + ] + configs += [ "//build/config/linux/dbus" ] + deps += [ + "//chrome/browser/ash/file_manager", + "//chrome/browser/ash/login/oobe_quick_start", + "//chrome/test:test_support_ui", + "//chromeos:test_support", + "//chromeos/ash/components/attestation:test_support", + "//chromeos/ash/components/dbus", + "//chromeos/ash/components/dbus/cros_disks", + "//chromeos/ash/components/disks", + "//chromeos/ash/components/login/auth", + "//components/login", + "//components/session_manager/core", + "//components/soda", + "//components/user_manager:test_support", + "//components/webapk:proto", + "//crypto:test_support", + "//extensions:test_support", + "//extensions/browser/api/messaging", + "//ui/base:test_support", + "//ui/base/ime/ash", + ] + } + + if (is_chromeos) { + sources += [ + "net/fake_nss_service.cc", + "net/fake_nss_service.h", + ] + + deps += [ + "//chromeos/components/kiosk", + "//components/account_manager_core:test_support", + "//crypto:test_support", + ] + } + + if (is_win) { + sources += [ + "notifications/win/fake_itoastnotification.cc", + "notifications/win/fake_itoastnotification.h", + ] + } + + if (enable_oop_printing) { + sources += [ + "printing/print_backend_service_test_impl.cc", + "printing/print_backend_service_test_impl.h", + ] + deps += [ + "//chrome/services/printing:lib", + "//chrome/services/printing/public/mojom", + "//printing:test_support", + ] + } + + if (enable_extensions) { + sources += [ + "media_galleries/media_galleries_test_util.cc", + "media_galleries/media_galleries_test_util.h", + ] + deps += [ + "//components/crx_file", + "//extensions/browser", + "//extensions/common:mojom", + ] + } + + if (enable_library_cdms || is_win) { + sources += [ + "media/clear_key_cdm_test_helper.cc", + "media/clear_key_cdm_test_helper.h", + ] + deps += [ "//media/cdm:cdm_paths" ] + } + + if (enable_service_discovery) { + sources += [ + "local_discovery/fake_service_discovery_device_lister.cc", + "local_discovery/fake_service_discovery_device_lister.h", + "local_discovery/service_discovery_client_test_helpers.cc", + "local_discovery/service_discovery_client_test_helpers.h", + ] + } + + if (safe_browsing_mode == 1) { + sources += [ + "extensions/fake_safe_browsing_database_manager.cc", + "extensions/fake_safe_browsing_database_manager.h", + ] + deps += [ + "//chrome/browser/safe_browsing", + "//components/safe_browsing/core/browser/db:test_database_manager", + ] + } + + if (has_spellcheck_panel) { + sources += [ + "spellchecker/test/spellcheck_mock_panel_host.cc", + "spellchecker/test/spellcheck_mock_panel_host.h", + "spellchecker/test/spellcheck_panel_browsertest_helper.cc", + "spellchecker/test/spellcheck_panel_browsertest_helper.h", + ] + deps += [ "//components/spellcheck/common" ] + } + if (enable_bound_session_credentials) { + sources += [ + "../browser/signin/bound_session_credentials/bound_session_test_cookie_manager.cc", + "../browser/signin/bound_session_credentials/bound_session_test_cookie_manager.h", + ] + } + + if (toolkit_views) { + deps += [ "//components/permissions:permissions" ] + public_deps += [ "//chrome/browser/ui/permission_bubble:test_support" ] + } +} + +if (!is_android) { + static_library("test_support_ui") { + testonly = true + configs += [ "//build/config:precompiled_headers" ] + + # Always include this via the main test support UI target. + visibility = [ "//chrome/test:test_support_ui" ] + + sources = [ + "signin/token_revoker_test_utils.cc", + "signin/token_revoker_test_utils.h", + ] + + deps = [ + ":browser", + ":browser_process", + "//chrome/browser/profiles:profile", + "//content/test:test_support", + ] + + public_deps = [ + "//chrome/browser/web_applications/app_service", + "//net:test_support", + "//ui/webui/resources/cr_components/app_management:mojo_bindings", + ] + + if (is_win || is_mac || is_linux) { + public_deps += [ "//chrome/browser/ui/webui/app_home:mojo_bindings" ] + } + } +} + +if (is_android) { + java_cpp_enum("tos_dialog_behavior_generated_enum") { + sources = [ "first_run/android/first_run_prefs.h" ] + } + java_cpp_enum("screenshot_mode_enum") { + sources = [ "android/feedback/screenshot_mode.h" ] + } +} + +if (is_chromeos_ash) { + fuzzer_test("nearby_sharing_instantmessaging_stream_parser_fuzzer") { + sources = [ "nearby_sharing/instantmessaging/stream_parser_fuzzer.cc" ] + deps = [ + ":browser", + "//base", + "//components/exo/wayland:test_controller_stub", + "//components/exo/wayland:ui_controls_protocol_stub", + "//third_party/protobuf:protobuf_lite", + ] + } +} + +if (is_win || is_mac || is_linux) { + fuzzer_test("browser_switcher_ieem_sitelist_parser_fuzzer") { + sources = [ "browser_switcher/ieem_sitelist_parser_fuzzer.cc" ] + deps = [ + ":browser", + "//base", + "//mojo/core/embedder", + "//services/data_decoder/public/cpp:test_support", + ] + + if (is_win) { + deps += [ + # Stub out thunks for transitive dependencies (they're normally linked + # into the Chrome binary by separate GN rules, but for the fuzzer we + # have to do it manually here). + "//chrome/chrome_elf:test_stubs", + "//components/crash/core/app:test_support", + ] + } + + # The fuzzed code needs more RAM that the default limit. + libfuzzer_options = [ "rss_limit_mb=4096" ] + } +} diff --git a/src/chrome/installer/mini_installer/BUILD.gn b/src/chrome/installer/mini_installer/BUILD.gn index a4bb828c..1d77bbb8 100644 --- a/src/chrome/installer/mini_installer/BUILD.gn +++ b/src/chrome/installer/mini_installer/BUILD.gn @@ -283,7 +283,7 @@ source_set("mini_installer_sources") { # Generates a mini_installer executable containing the resources provided in the # caller's `rc_file`. template("generate_mini_installer") { - executable(target_name) { + executable(invoker.filename) { sources = [ invoker.rc_file ] # This target is special so we manually override most linker flags and @@ -336,45 +336,28 @@ template("generate_mini_installer") { } } -group("mini_installer") { +generate_mini_installer("mini_installer") { + rc_file = packed_files_rc_file if (use_sse2) { - generate_mini_installer("thorium_WIN32_SSE2_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_WIN32_SSE2_mini_installer" } else if (use_sse3) { - if (current_cpu == "x86") { - generate_mini_installer("thorium_WIN32_SSE3_mini_installer") { - rc_file = packed_files_rc_file + if (current_cpu == "x86") { + filename = "thorium_WIN32_SSE3_mini_installer" + } else { + filename = "thorium_SSE3_mini_installer" } - } else { - generate_mini_installer("thorium_SSE3_mini_installer") { - rc_file = packed_files_rc_file - } - } } else if (use_sse41) { - generate_mini_installer("thorium_SSE4_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_SSE4_mini_installer" } else if (use_sse42) { - generate_mini_installer("thorium_SSE4.2_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_SSE4.2_mini_installer" } else if (use_avx) { - generate_mini_installer("thorium_AVX_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_AVX_mini_installer" } else if (use_avx2) { - generate_mini_installer("thorium_AVX2_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_AVX2_mini_installer" } else if (use_avx512) { - generate_mini_installer("thorium_AVX512_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_AVX512_mini_installer" } else { - generate_mini_installer("thorium_mini_installer") { - rc_file = packed_files_rc_file - } + filename = "thorium_mini_installer" } }