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

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

Issue 1667903003: [Merge M48] Add Startup.TimeSinceLastStartup histogram. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 4 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') | components/startup_metric_utils.gypi » ('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 <string> 7 #include <string>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/prefs/pref_registry_simple.h" 10 #include "base/prefs/pref_registry_simple.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #include "components/gcm_driver/gcm_channel_status_syncer.h" 74 #include "components/gcm_driver/gcm_channel_status_syncer.h"
75 #include "components/network_time/network_time_tracker.h" 75 #include "components/network_time/network_time_tracker.h"
76 #include "components/omnibox/browser/zero_suggest_provider.h" 76 #include "components/omnibox/browser/zero_suggest_provider.h"
77 #include "components/password_manager/core/browser/password_bubble_experiment.h" 77 #include "components/password_manager/core/browser/password_bubble_experiment.h"
78 #include "components/password_manager/core/browser/password_manager.h" 78 #include "components/password_manager/core/browser/password_manager.h"
79 #include "components/pref_registry/pref_registry_syncable.h" 79 #include "components/pref_registry/pref_registry_syncable.h"
80 #include "components/proxy_config/pref_proxy_config_tracker_impl.h" 80 #include "components/proxy_config/pref_proxy_config_tracker_impl.h"
81 #include "components/rappor/rappor_service.h" 81 #include "components/rappor/rappor_service.h"
82 #include "components/search_engines/template_url_prepopulate_data.h" 82 #include "components/search_engines/template_url_prepopulate_data.h"
83 #include "components/ssl_config/ssl_config_service_manager.h" 83 #include "components/ssl_config/ssl_config_service_manager.h"
84 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
84 #include "components/sync_driver/sync_prefs.h" 85 #include "components/sync_driver/sync_prefs.h"
85 #include "components/syncable_prefs/pref_service_syncable.h" 86 #include "components/syncable_prefs/pref_service_syncable.h"
86 #include "components/translate/core/browser/translate_prefs.h" 87 #include "components/translate/core/browser/translate_prefs.h"
87 #include "components/variations/service/variations_service.h" 88 #include "components/variations/service/variations_service.h"
88 #include "components/web_resource/promo_resource_service.h" 89 #include "components/web_resource/promo_resource_service.h"
89 #include "content/public/browser/render_process_host.h" 90 #include "content/public/browser/render_process_host.h"
90 #include "net/http/http_server_properties_manager.h" 91 #include "net/http/http_server_properties_manager.h"
91 92
92 #if defined(ENABLE_AUTOFILL_DIALOG) 93 #if defined(ENABLE_AUTOFILL_DIALOG)
93 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 94 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 IntranetRedirectDetector::RegisterPrefs(registry); 256 IntranetRedirectDetector::RegisterPrefs(registry);
256 IOThread::RegisterPrefs(registry); 257 IOThread::RegisterPrefs(registry);
257 network_time::NetworkTimeTracker::RegisterPrefs(registry); 258 network_time::NetworkTimeTracker::RegisterPrefs(registry);
258 PrefProxyConfigTrackerImpl::RegisterPrefs(registry); 259 PrefProxyConfigTrackerImpl::RegisterPrefs(registry);
259 ProfileInfoCache::RegisterPrefs(registry); 260 ProfileInfoCache::RegisterPrefs(registry);
260 profiles::RegisterPrefs(registry); 261 profiles::RegisterPrefs(registry);
261 rappor::RapporService::RegisterPrefs(registry); 262 rappor::RapporService::RegisterPrefs(registry);
262 RegisterScreenshotPrefs(registry); 263 RegisterScreenshotPrefs(registry);
263 SigninManagerFactory::RegisterPrefs(registry); 264 SigninManagerFactory::RegisterPrefs(registry);
264 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry); 265 ssl_config::SSLConfigServiceManager::RegisterPrefs(registry);
266 startup_metric_utils::RegisterPrefs(registry);
265 web_resource::PromoResourceService::RegisterPrefs(registry); 267 web_resource::PromoResourceService::RegisterPrefs(registry);
266 268
267 #if defined(ENABLE_AUTOFILL_DIALOG) 269 #if defined(ENABLE_AUTOFILL_DIALOG)
268 autofill::AutofillDialogController::RegisterPrefs(registry); 270 autofill::AutofillDialogController::RegisterPrefs(registry);
269 #endif 271 #endif
270 272
271 #if defined(ENABLE_CONFIGURATION_POLICY) 273 #if defined(ENABLE_CONFIGURATION_POLICY)
272 policy::BrowserPolicyConnector::RegisterPrefs(registry); 274 policy::BrowserPolicyConnector::RegisterPrefs(registry);
273 policy::PolicyStatisticsCollector::RegisterPrefs(registry); 275 policy::PolicyStatisticsCollector::RegisterPrefs(registry);
274 #endif 276 #endif
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 MigrateGoogleNowPrefs(profile); 564 MigrateGoogleNowPrefs(profile);
563 #endif 565 #endif
564 566
565 #if defined(OS_WIN) 567 #if defined(OS_WIN)
566 // Added 11/2015. 568 // Added 11/2015.
567 profile_prefs->ClearPref(kShownAutoLaunchInfobarDeprecated); 569 profile_prefs->ClearPref(kShownAutoLaunchInfobarDeprecated);
568 #endif 570 #endif
569 } 571 }
570 572
571 } // namespace chrome 573 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | components/startup_metric_utils.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698