| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chrome_content_browser_client.h" | 5 #include "chrome/browser/chrome_content_browser_client.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 #include "chrome/common/pepper_permission_util.h" | 111 #include "chrome/common/pepper_permission_util.h" |
| 112 #include "chrome/common/pref_names.h" | 112 #include "chrome/common/pref_names.h" |
| 113 #include "chrome/common/render_messages.h" | 113 #include "chrome/common/render_messages.h" |
| 114 #include "chrome/common/renderer_configuration.mojom.h" | 114 #include "chrome/common/renderer_configuration.mojom.h" |
| 115 #include "chrome/common/secure_origin_whitelist.h" | 115 #include "chrome/common/secure_origin_whitelist.h" |
| 116 #include "chrome/common/stack_sampling_configuration.h" | 116 #include "chrome/common/stack_sampling_configuration.h" |
| 117 #include "chrome/common/url_constants.h" | 117 #include "chrome/common/url_constants.h" |
| 118 #include "chrome/grit/browser_resources.h" | 118 #include "chrome/grit/browser_resources.h" |
| 119 #include "chrome/grit/generated_resources.h" | 119 #include "chrome/grit/generated_resources.h" |
| 120 #include "chrome/installer/util/google_update_settings.h" | 120 #include "chrome/installer/util/google_update_settings.h" |
| 121 #include "chromeos/chromeos_constants.h" | |
| 122 #include "components/autofill/content/browser/content_autofill_driver_factory.h" | 121 #include "components/autofill/content/browser/content_autofill_driver_factory.h" |
| 123 #include "components/autofill/core/common/autofill_switches.h" | 122 #include "components/autofill/core/common/autofill_switches.h" |
| 124 #include "components/browsing_data/core/browsing_data_utils.h" | 123 #include "components/browsing_data/core/browsing_data_utils.h" |
| 125 #include "components/cdm/browser/cdm_message_filter_android.h" | 124 #include "components/cdm/browser/cdm_message_filter_android.h" |
| 126 #include "components/cloud_devices/common/cloud_devices_switches.h" | 125 #include "components/cloud_devices/common/cloud_devices_switches.h" |
| 127 #include "components/content_settings/core/browser/content_settings_utils.h" | 126 #include "components/content_settings/core/browser/content_settings_utils.h" |
| 128 #include "components/content_settings/core/browser/cookie_settings.h" | 127 #include "components/content_settings/core/browser/cookie_settings.h" |
| 129 #include "components/content_settings/core/browser/host_content_settings_map.h" | 128 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 130 #include "components/content_settings/core/common/content_settings.h" | 129 #include "components/content_settings/core/common/content_settings.h" |
| 131 #include "components/content_settings/core/common/content_settings_types.h" | 130 #include "components/content_settings/core/common/content_settings_types.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 #include "chrome/browser/chromeos/login/signin/merge_session_navigation_throttle
.h" | 238 #include "chrome/browser/chromeos/login/signin/merge_session_navigation_throttle
.h" |
| 240 #include "chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h" | 239 #include "chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h" |
| 241 #include "chrome/browser/chromeos/login/startup_utils.h" | 240 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 242 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 241 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
| 243 #include "chrome/browser/chromeos/system/input_device_settings.h" | 242 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 244 #include "chrome/browser/profiles/profile_manager.h" | 243 #include "chrome/browser/profiles/profile_manager.h" |
| 245 #include "chrome/browser/ui/ash/ash_util.h" | 244 #include "chrome/browser/ui/ash/ash_util.h" |
| 246 #include "chrome/browser/ui/browser_commands.h" | 245 #include "chrome/browser/ui/browser_commands.h" |
| 247 #include "chrome/browser/ui/browser_dialogs.h" | 246 #include "chrome/browser/ui/browser_dialogs.h" |
| 248 #include "chrome/browser/ui/browser_finder.h" | 247 #include "chrome/browser/ui/browser_finder.h" |
| 248 #include "chromeos/chromeos_constants.h" |
| 249 #include "chromeos/chromeos_switches.h" | 249 #include "chromeos/chromeos_switches.h" |
| 250 #include "components/user_manager/user_manager.h" | 250 #include "components/user_manager/user_manager.h" |
| 251 #include "mash/public/interfaces/launchable.mojom.h" | 251 #include "mash/public/interfaces/launchable.mojom.h" |
| 252 #include "services/service_manager/public/interfaces/interface_provider_spec.moj
om.h" | 252 #include "services/service_manager/public/interfaces/interface_provider_spec.moj
om.h" |
| 253 #elif defined(OS_LINUX) | 253 #elif defined(OS_LINUX) |
| 254 #include "chrome/browser/chrome_browser_main_linux.h" | 254 #include "chrome/browser/chrome_browser_main_linux.h" |
| 255 #elif defined(OS_ANDROID) | 255 #elif defined(OS_ANDROID) |
| 256 #include "chrome/browser/android/app_hooks.h" | 256 #include "chrome/browser/android/app_hooks.h" |
| 257 #include "chrome/browser/chrome_browser_main_android.h" | 257 #include "chrome/browser/chrome_browser_main_android.h" |
| 258 #include "chrome/common/descriptors_android.h" | 258 #include "chrome/common/descriptors_android.h" |
| (...skipping 3350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3609 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3609 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 3610 return variations::GetVariationParamValue( | 3610 return variations::GetVariationParamValue( |
| 3611 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3611 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
| 3612 } | 3612 } |
| 3613 | 3613 |
| 3614 // static | 3614 // static |
| 3615 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 3615 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |
| 3616 const storage::QuotaSettings* settings) { | 3616 const storage::QuotaSettings* settings) { |
| 3617 g_default_quota_settings = settings; | 3617 g_default_quota_settings = settings; |
| 3618 } | 3618 } |
| OLD | NEW |