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

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

Issue 238783003: Merge 262846 "Revert 255617, due to it not tracking use of the link doctor page." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #include "chrome/browser/profiles/profiles_state.h" 66 #include "chrome/browser/profiles/profiles_state.h"
67 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h" 67 #include "chrome/browser/renderer_host/pepper/device_id_fetcher.h"
68 #include "chrome/browser/renderer_host/web_cache_manager.h" 68 #include "chrome/browser/renderer_host/web_cache_manager.h"
69 #include "chrome/browser/search/search.h" 69 #include "chrome/browser/search/search.h"
70 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 70 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
71 #include "chrome/browser/services/gcm/gcm_profile_service.h" 71 #include "chrome/browser/services/gcm/gcm_profile_service.h"
72 #include "chrome/browser/signin/easy_unlock_controller.h" 72 #include "chrome/browser/signin/easy_unlock_controller.h"
73 #include "chrome/browser/signin/signin_manager_factory.h" 73 #include "chrome/browser/signin/signin_manager_factory.h"
74 #include "chrome/browser/signin/signin_promo.h" 74 #include "chrome/browser/signin/signin_promo.h"
75 #include "chrome/browser/task_manager/task_manager.h" 75 #include "chrome/browser/task_manager/task_manager.h"
76 #include "chrome/browser/ui/alternate_error_tab_observer.h"
76 #include "chrome/browser/ui/app_list/app_list_service.h" 77 #include "chrome/browser/ui/app_list/app_list_service.h"
77 #include "chrome/browser/ui/browser_ui_prefs.h" 78 #include "chrome/browser/ui/browser_ui_prefs.h"
78 #include "chrome/browser/ui/navigation_correction_tab_observer.h"
79 #include "chrome/browser/ui/network_profile_bubble.h" 79 #include "chrome/browser/ui/network_profile_bubble.h"
80 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 80 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
81 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 81 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
82 #include "chrome/browser/ui/startup/autolaunch_prompt.h" 82 #include "chrome/browser/ui/startup/autolaunch_prompt.h"
83 #include "chrome/browser/ui/startup/default_browser_prompt.h" 83 #include "chrome/browser/ui/startup/default_browser_prompt.h"
84 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 84 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
85 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" 85 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
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"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 #if defined(TOOLKIT_VIEWS) 331 #if defined(TOOLKIT_VIEWS)
332 RegisterBrowserViewLocalPrefs(registry); 332 RegisterBrowserViewLocalPrefs(registry);
333 RegisterTabStripLayoutTypePrefs(registry); 333 RegisterTabStripLayoutTypePrefs(registry);
334 #endif 334 #endif
335 } 335 }
336 336
337 // Register prefs applicable to all profiles. 337 // Register prefs applicable to all profiles.
338 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { 338 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
339 TRACE_EVENT0("browser", "chrome::RegisterUserPrefs"); 339 TRACE_EVENT0("browser", "chrome::RegisterUserPrefs");
340 // User prefs. Please keep this list alphabetized. 340 // User prefs. Please keep this list alphabetized.
341 AlternateErrorPageTabObserver::RegisterProfilePrefs(registry);
341 apps::RegisterProfilePrefs(registry); 342 apps::RegisterProfilePrefs(registry);
342 autofill::AutofillManager::RegisterProfilePrefs(registry); 343 autofill::AutofillManager::RegisterProfilePrefs(registry);
343 BookmarkPromptPrefs::RegisterProfilePrefs(registry); 344 BookmarkPromptPrefs::RegisterProfilePrefs(registry);
344 bookmark_utils::RegisterProfilePrefs(registry); 345 bookmark_utils::RegisterProfilePrefs(registry);
345 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); 346 sync_driver::SyncPrefs::RegisterProfilePrefs(registry);
346 ChromeContentBrowserClient::RegisterProfilePrefs(registry); 347 ChromeContentBrowserClient::RegisterProfilePrefs(registry);
347 ChromeVersionService::RegisterProfilePrefs(registry); 348 ChromeVersionService::RegisterProfilePrefs(registry);
348 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( 349 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs(
349 registry); 350 registry);
350 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); 351 chrome_browser_net::Predictor::RegisterProfilePrefs(registry);
351 chrome_prefs::RegisterProfilePrefs(registry); 352 chrome_prefs::RegisterProfilePrefs(registry);
352 DownloadPrefs::RegisterProfilePrefs(registry); 353 DownloadPrefs::RegisterProfilePrefs(registry);
353 EasyUnlockController::RegisterProfilePrefs(registry); 354 EasyUnlockController::RegisterProfilePrefs(registry);
354 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); 355 extensions::ExtensionPrefs::RegisterProfilePrefs(registry);
355 extensions::launch_util::RegisterProfilePrefs(registry); 356 extensions::launch_util::RegisterProfilePrefs(registry);
356 ExtensionWebUI::RegisterProfilePrefs(registry); 357 ExtensionWebUI::RegisterProfilePrefs(registry);
357 HostContentSettingsMap::RegisterProfilePrefs(registry); 358 HostContentSettingsMap::RegisterProfilePrefs(registry);
358 IncognitoModePrefs::RegisterProfilePrefs(registry); 359 IncognitoModePrefs::RegisterProfilePrefs(registry);
359 InstantUI::RegisterProfilePrefs(registry); 360 InstantUI::RegisterProfilePrefs(registry);
360 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry);
361 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 361 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
362 MediaDeviceIDSalt::RegisterProfilePrefs(registry); 362 MediaDeviceIDSalt::RegisterProfilePrefs(registry);
363 MediaStreamDevicesController::RegisterProfilePrefs(registry); 363 MediaStreamDevicesController::RegisterProfilePrefs(registry);
364 NetPrefObserver::RegisterProfilePrefs(registry); 364 NetPrefObserver::RegisterProfilePrefs(registry);
365 NetworkTimeService::RegisterProfilePrefs(registry); 365 NetworkTimeService::RegisterProfilePrefs(registry);
366 NewTabUI::RegisterProfilePrefs(registry); 366 NewTabUI::RegisterProfilePrefs(registry);
367 PasswordManager::RegisterProfilePrefs(registry); 367 PasswordManager::RegisterProfilePrefs(registry);
368 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 368 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
369 PrefsTabHelper::RegisterProfilePrefs(registry); 369 PrefsTabHelper::RegisterProfilePrefs(registry);
370 Profile::RegisterProfilePrefs(registry); 370 Profile::RegisterProfilePrefs(registry);
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 583 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
584 current_version); 584 current_version);
585 } 585 }
586 586
587 #if defined(OS_CHROMEOS) 587 #if defined(OS_CHROMEOS)
588 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); 588 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state);
589 #endif 589 #endif
590 } 590 }
591 591
592 } // namespace chrome 592 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/net/url_request_mock_util.cc ('k') | chrome/browser/ui/alternate_error_tab_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698