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

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

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/prefs/pref_metrics_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "apps/prefs.h" 7 #include "apps/prefs.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "base/prefs/pref_registry_simple.h" 9 #include "base/prefs/pref_registry_simple.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #include "chrome/browser/ui/webui/flags_ui.h" 86 #include "chrome/browser/ui/webui/flags_ui.h"
87 #include "chrome/browser/ui/webui/instant_ui.h" 87 #include "chrome/browser/ui/webui/instant_ui.h"
88 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 88 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
89 #include "chrome/browser/ui/webui/plugins_ui.h" 89 #include "chrome/browser/ui/webui/plugins_ui.h"
90 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" 90 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h"
91 #include "chrome/browser/upgrade_detector.h" 91 #include "chrome/browser/upgrade_detector.h"
92 #include "chrome/browser/web_resource/promo_resource_service.h" 92 #include "chrome/browser/web_resource/promo_resource_service.h"
93 #include "chrome/common/metrics/caching_permuted_entropy_provider.h" 93 #include "chrome/common/metrics/caching_permuted_entropy_provider.h"
94 #include "chrome/common/pref_names.h" 94 #include "chrome/common/pref_names.h"
95 #include "components/autofill/core/browser/autofill_manager.h" 95 #include "components/autofill/core/browser/autofill_manager.h"
96 #include "components/rappor/rappor_service.h"
96 #include "components/translate/core/browser/translate_prefs.h" 97 #include "components/translate/core/browser/translate_prefs.h"
97 #include "components/user_prefs/pref_registry_syncable.h" 98 #include "components/user_prefs/pref_registry_syncable.h"
98 #include "content/public/browser/render_process_host.h" 99 #include "content/public/browser/render_process_host.h"
99 #include "extensions/browser/extension_prefs.h" 100 #include "extensions/browser/extension_prefs.h"
100 101
101 #if defined(ENABLE_AUTOFILL_DIALOG) 102 #if defined(ENABLE_AUTOFILL_DIALOG)
102 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 103 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
103 #endif 104 #endif
104 105
105 #if defined(ENABLE_CONFIGURATION_POLICY) 106 #if defined(ENABLE_CONFIGURATION_POLICY)
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IntranetRedirectDetector::RegisterPrefs(registry); 238 IntranetRedirectDetector::RegisterPrefs(registry);
238 IOThread::RegisterPrefs(registry); 239 IOThread::RegisterPrefs(registry);
239 KeywordEditorController::RegisterPrefs(registry); 240 KeywordEditorController::RegisterPrefs(registry);
240 MetricsLog::RegisterPrefs(registry); 241 MetricsLog::RegisterPrefs(registry);
241 MetricsService::RegisterPrefs(registry); 242 MetricsService::RegisterPrefs(registry);
242 metrics::CachingPermutedEntropyProvider::RegisterPrefs(registry); 243 metrics::CachingPermutedEntropyProvider::RegisterPrefs(registry);
243 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); 244 PrefProxyConfigTrackerImpl::RegisterPrefs(registry);
244 ProfileInfoCache::RegisterPrefs(registry); 245 ProfileInfoCache::RegisterPrefs(registry);
245 profiles::RegisterPrefs(registry); 246 profiles::RegisterPrefs(registry);
246 PromoResourceService::RegisterPrefs(registry); 247 PromoResourceService::RegisterPrefs(registry);
248 rappor::RapporService::RegisterPrefs(registry);
247 RegisterScreenshotPrefs(registry); 249 RegisterScreenshotPrefs(registry);
248 SigninManagerFactory::RegisterPrefs(registry); 250 SigninManagerFactory::RegisterPrefs(registry);
249 SSLConfigServiceManager::RegisterPrefs(registry); 251 SSLConfigServiceManager::RegisterPrefs(registry);
250 UpgradeDetector::RegisterPrefs(registry); 252 UpgradeDetector::RegisterPrefs(registry);
251 WebCacheManager::RegisterPrefs(registry); 253 WebCacheManager::RegisterPrefs(registry);
252 254
253 #if defined(ENABLE_AUTOFILL_DIALOG) 255 #if defined(ENABLE_AUTOFILL_DIALOG)
254 autofill::AutofillDialogController::RegisterPrefs(registry); 256 autofill::AutofillDialogController::RegisterPrefs(registry);
255 #endif 257 #endif
256 258
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 577 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
576 current_version); 578 current_version);
577 } 579 }
578 580
579 #if defined(OS_CHROMEOS) 581 #if defined(OS_CHROMEOS)
580 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); 582 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state);
581 #endif 583 #endif
582 } 584 }
583 585
584 } // namespace chrome 586 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/prefs/pref_metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698