Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 #include "components/metrics/client_info.h" 136 #include "components/metrics/client_info.h"
137 #include "components/nacl/common/nacl_constants.h" 137 #include "components/nacl/common/nacl_constants.h"
138 #include "components/net_log/chrome_net_log.h" 138 #include "components/net_log/chrome_net_log.h"
139 #include "components/password_manager/content/browser/content_password_manager_d river_factory.h" 139 #include "components/password_manager/content/browser/content_password_manager_d river_factory.h"
140 #include "components/pref_registry/pref_registry_syncable.h" 140 #include "components/pref_registry/pref_registry_syncable.h"
141 #include "components/prefs/pref_service.h" 141 #include "components/prefs/pref_service.h"
142 #include "components/prefs/scoped_user_pref_update.h" 142 #include "components/prefs/scoped_user_pref_update.h"
143 #include "components/rappor/public/rappor_utils.h" 143 #include "components/rappor/public/rappor_utils.h"
144 #include "components/rappor/rappor_recorder_impl.h" 144 #include "components/rappor/rappor_recorder_impl.h"
145 #include "components/rappor/rappor_service_impl.h" 145 #include "components/rappor/rappor_service_impl.h"
146 #include "components/safe_browsing_db/safe_browsing_prefs.h" 146 #include "components/safe_browsing/common/safe_browsing_prefs.h"
147 #include "components/security_interstitials/core/ssl_error_ui.h" 147 #include "components/security_interstitials/core/ssl_error_ui.h"
148 #include "components/signin/core/common/profile_management_switches.h" 148 #include "components/signin/core/common/profile_management_switches.h"
149 #include "components/spellcheck/spellcheck_build_features.h" 149 #include "components/spellcheck/spellcheck_build_features.h"
150 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" 150 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h"
151 #include "components/subresource_filter/content/browser/content_subresource_filt er_driver_factory.h" 151 #include "components/subresource_filter/content/browser/content_subresource_filt er_driver_factory.h"
152 #include "components/subresource_filter/content/browser/content_subresource_filt er_throttle_manager.h" 152 #include "components/subresource_filter/content/browser/content_subresource_filt er_throttle_manager.h"
153 #include "components/task_scheduler_util/browser/initialization.h" 153 #include "components/task_scheduler_util/browser/initialization.h"
154 #include "components/task_scheduler_util/common/variations_util.h" 154 #include "components/task_scheduler_util/common/variations_util.h"
155 #include "components/translate/core/common/translate_switches.h" 155 #include "components/translate/core/common/translate_switches.h"
156 #include "components/url_formatter/url_fixer.h" 156 #include "components/url_formatter/url_fixer.h"
(...skipping 3452 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/browser/android/preferences/pref_service_bridge.cc ('k') | chrome/browser/download/download_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698