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

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

Issue 711043002: Finch experiment for limiting the password bubble annoyance. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more unit test Created 6 years, 1 month 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/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" 58 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h"
59 #include "chrome/browser/search/search.h" 59 #include "chrome/browser/search/search.h"
60 #include "chrome/browser/services/gcm/gcm_profile_service.h" 60 #include "chrome/browser/services/gcm/gcm_profile_service.h"
61 #include "chrome/browser/signin/signin_manager_factory.h" 61 #include "chrome/browser/signin/signin_manager_factory.h"
62 #include "chrome/browser/task_manager/task_manager.h" 62 #include "chrome/browser/task_manager/task_manager.h"
63 #include "chrome/browser/ui/app_list/app_list_prefs.h" 63 #include "chrome/browser/ui/app_list/app_list_prefs.h"
64 #include "chrome/browser/ui/app_list/app_list_service.h" 64 #include "chrome/browser/ui/app_list/app_list_service.h"
65 #include "chrome/browser/ui/browser_ui_prefs.h" 65 #include "chrome/browser/ui/browser_ui_prefs.h"
66 #include "chrome/browser/ui/navigation_correction_tab_observer.h" 66 #include "chrome/browser/ui/navigation_correction_tab_observer.h"
67 #include "chrome/browser/ui/network_profile_bubble.h" 67 #include "chrome/browser/ui/network_profile_bubble.h"
68 #include "chrome/browser/ui/passwords/password_bubble_experiment.h"
68 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
69 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 70 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
70 #include "chrome/browser/ui/startup/autolaunch_prompt.h" 71 #include "chrome/browser/ui/startup/autolaunch_prompt.h"
71 #include "chrome/browser/ui/startup/default_browser_prompt.h" 72 #include "chrome/browser/ui/startup/default_browser_prompt.h"
72 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 73 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
73 #include "chrome/browser/ui/webui/flags_ui.h" 74 #include "chrome/browser/ui/webui/flags_ui.h"
74 #include "chrome/browser/ui/webui/instant_ui.h" 75 #include "chrome/browser/ui/webui/instant_ui.h"
75 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 76 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
76 #include "chrome/browser/ui/webui/plugins_ui.h" 77 #include "chrome/browser/ui/webui/plugins_ui.h"
77 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" 78 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 gcm::GCMProfileService::RegisterProfilePrefs(registry); 401 gcm::GCMProfileService::RegisterProfilePrefs(registry);
401 HostContentSettingsMap::RegisterProfilePrefs(registry); 402 HostContentSettingsMap::RegisterProfilePrefs(registry);
402 IncognitoModePrefs::RegisterProfilePrefs(registry); 403 IncognitoModePrefs::RegisterProfilePrefs(registry);
403 InstantUI::RegisterProfilePrefs(registry); 404 InstantUI::RegisterProfilePrefs(registry);
404 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry); 405 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry);
405 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 406 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
406 MediaDeviceIDSalt::RegisterProfilePrefs(registry); 407 MediaDeviceIDSalt::RegisterProfilePrefs(registry);
407 MediaStreamDevicesController::RegisterProfilePrefs(registry); 408 MediaStreamDevicesController::RegisterProfilePrefs(registry);
408 NetPrefObserver::RegisterProfilePrefs(registry); 409 NetPrefObserver::RegisterProfilePrefs(registry);
409 password_manager::PasswordManager::RegisterProfilePrefs(registry); 410 password_manager::PasswordManager::RegisterProfilePrefs(registry);
411 password_bubble_experiment::RegisterPrefs(registry);
410 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 412 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
411 PrefsTabHelper::RegisterProfilePrefs(registry); 413 PrefsTabHelper::RegisterProfilePrefs(registry);
412 Profile::RegisterProfilePrefs(registry); 414 Profile::RegisterProfilePrefs(registry);
413 ProfileImpl::RegisterProfilePrefs(registry); 415 ProfileImpl::RegisterProfilePrefs(registry);
414 PromoResourceService::RegisterProfilePrefs(registry); 416 PromoResourceService::RegisterProfilePrefs(registry);
415 ProtocolHandlerRegistry::RegisterProfilePrefs(registry); 417 ProtocolHandlerRegistry::RegisterProfilePrefs(registry);
416 RegisterBrowserUserPrefs(registry); 418 RegisterBrowserUserPrefs(registry);
417 SessionStartupPref::RegisterProfilePrefs(registry); 419 SessionStartupPref::RegisterProfilePrefs(registry);
418 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); 420 TemplateURLPrepopulateData::RegisterProfilePrefs(registry);
419 translate::TranslatePrefs::RegisterProfilePrefs(registry); 421 translate::TranslatePrefs::RegisterProfilePrefs(registry);
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */); 703 host_zoom_dictionary, false /* sanitize_partition_host_zoom_levels */);
702 704
703 // We're done migrating the profile per-host zoom level values, so we clear 705 // We're done migrating the profile per-host zoom level values, so we clear
704 // them all. 706 // them all.
705 DictionaryPrefUpdate host_zoom_dictionary_update( 707 DictionaryPrefUpdate host_zoom_dictionary_update(
706 prefs, prefs::kPerHostZoomLevelsDeprecated); 708 prefs, prefs::kPerHostZoomLevelsDeprecated);
707 host_zoom_dictionary_update->Clear(); 709 host_zoom_dictionary_update->Clear();
708 } 710 }
709 711
710 } // namespace chrome 712 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698