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

Side by Side Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files Created 4 years 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/prefs/browser_prefs.h" 5 #include "chrome/browser/prefs/browser_prefs.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #include "components/omnibox/browser/zero_suggest_provider.h" 86 #include "components/omnibox/browser/zero_suggest_provider.h"
87 #include "components/password_manager/core/browser/password_bubble_experiment.h" 87 #include "components/password_manager/core/browser/password_bubble_experiment.h"
88 #include "components/password_manager/core/browser/password_manager.h" 88 #include "components/password_manager/core/browser/password_manager.h"
89 #include "components/policy/core/browser/browser_policy_connector.h" 89 #include "components/policy/core/browser/browser_policy_connector.h"
90 #include "components/policy/core/browser/url_blacklist_manager.h" 90 #include "components/policy/core/browser/url_blacklist_manager.h"
91 #include "components/policy/core/common/policy_statistics_collector.h" 91 #include "components/policy/core/common/policy_statistics_collector.h"
92 #include "components/pref_registry/pref_registry_syncable.h" 92 #include "components/pref_registry/pref_registry_syncable.h"
93 #include "components/prefs/pref_registry_simple.h" 93 #include "components/prefs/pref_registry_simple.h"
94 #include "components/prefs/pref_service.h" 94 #include "components/prefs/pref_service.h"
95 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" 95 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
96 #include "components/rappor/rappor_service.h" 96 #include "components/rappor/rappor_service_impl.h"
97 #include "components/search_engines/template_url_prepopulate_data.h" 97 #include "components/search_engines/template_url_prepopulate_data.h"
98 #include "components/ssl_config/ssl_config_service_manager.h" 98 #include "components/ssl_config/ssl_config_service_manager.h"
99 #include "components/startup_metric_utils/browser/startup_metric_utils.h" 99 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
100 #include "components/subresource_filter/core/browser/ruleset_service.h" 100 #include "components/subresource_filter/core/browser/ruleset_service.h"
101 #include "components/sync/base/sync_prefs.h" 101 #include "components/sync/base/sync_prefs.h"
102 #include "components/sync_preferences/pref_service_syncable.h" 102 #include "components/sync_preferences/pref_service_syncable.h"
103 #include "components/translate/core/browser/language_model.h" 103 #include "components/translate/core/browser/language_model.h"
104 #include "components/translate/core/browser/translate_prefs.h" 104 #include "components/translate/core/browser/translate_prefs.h"
105 #include "components/update_client/update_client.h" 105 #include "components/update_client/update_client.h"
106 #include "components/variations/service/variations_service.h" 106 #include "components/variations/service/variations_service.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 geolocation::RegisterPrefs(registry); 356 geolocation::RegisterPrefs(registry);
357 GpuModeManager::RegisterPrefs(registry); 357 GpuModeManager::RegisterPrefs(registry);
358 GpuProfileCache::RegisterPrefs(registry); 358 GpuProfileCache::RegisterPrefs(registry);
359 IntranetRedirectDetector::RegisterPrefs(registry); 359 IntranetRedirectDetector::RegisterPrefs(registry);
360 IOThread::RegisterPrefs(registry); 360 IOThread::RegisterPrefs(registry);
361 network_time::NetworkTimeTracker::RegisterPrefs(registry); 361 network_time::NetworkTimeTracker::RegisterPrefs(registry);
362 OriginTrialPrefs::RegisterPrefs(registry); 362 OriginTrialPrefs::RegisterPrefs(registry);
363 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); 363 PrefProxyConfigTrackerImpl::RegisterPrefs(registry);
364 ProfileInfoCache::RegisterPrefs(registry); 364 ProfileInfoCache::RegisterPrefs(registry);
365 profiles::RegisterPrefs(registry); 365 profiles::RegisterPrefs(registry);
366 rappor::RapporService::RegisterPrefs(registry); 366 rappor::RapporServiceImpl::RegisterPrefs(registry);
367 RegisterScreenshotPrefs(registry); 367 RegisterScreenshotPrefs(registry);
368 SigninManagerFactory::RegisterPrefs(registry); 368 SigninManagerFactory::RegisterPrefs(registry);
369 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); 369 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry);
370 subresource_filter::IndexedRulesetVersion::RegisterPrefs(registry); 370 subresource_filter::IndexedRulesetVersion::RegisterPrefs(registry);
371 startup_metric_utils::RegisterPrefs(registry); 371 startup_metric_utils::RegisterPrefs(registry);
372 update_client::RegisterPrefs(registry); 372 update_client::RegisterPrefs(registry);
373 373
374 policy::BrowserPolicyConnector::RegisterPrefs(registry); 374 policy::BrowserPolicyConnector::RegisterPrefs(registry);
375 policy::PolicyStatisticsCollector::RegisterPrefs(registry); 375 policy::PolicyStatisticsCollector::RegisterPrefs(registry);
376 376
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 // Added 8/2016. 784 // Added 8/2016.
785 profile_prefs->ClearPref(kStaticEncodings); 785 profile_prefs->ClearPref(kStaticEncodings);
786 profile_prefs->ClearPref(kRecentlySelectedEncoding); 786 profile_prefs->ClearPref(kRecentlySelectedEncoding);
787 787
788 // Added 9/2016. 788 // Added 9/2016.
789 profile_prefs->ClearPref(kWebKitUsesUniversalDetector); 789 profile_prefs->ClearPref(kWebKitUsesUniversalDetector);
790 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent); 790 profile_prefs->ClearPref(kWebKitAllowDisplayingInsecureContent);
791 } 791 }
792 792
793 } // namespace chrome 793 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698