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

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

Issue 235883010: Revert 262846, as the revert has now been merged to M35. (Closed) Base URL: svn://svn.chromium.org/chrome/
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.h" 72 #include "chrome/browser/signin/easy_unlock.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"
77 #include "chrome/browser/ui/app_list/app_list_service.h" 76 #include "chrome/browser/ui/app_list/app_list_service.h"
78 #include "chrome/browser/ui/browser_ui_prefs.h" 77 #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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 #if defined(TOOLKIT_VIEWS) 327 #if defined(TOOLKIT_VIEWS)
328 RegisterBrowserViewLocalPrefs(registry); 328 RegisterBrowserViewLocalPrefs(registry);
329 RegisterTabStripLayoutTypePrefs(registry); 329 RegisterTabStripLayoutTypePrefs(registry);
330 #endif 330 #endif
331 } 331 }
332 332
333 // Register prefs applicable to all profiles. 333 // Register prefs applicable to all profiles.
334 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { 334 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
335 TRACE_EVENT0("browser", "chrome::RegisterUserPrefs"); 335 TRACE_EVENT0("browser", "chrome::RegisterUserPrefs");
336 // User prefs. Please keep this list alphabetized. 336 // User prefs. Please keep this list alphabetized.
337 AlternateErrorPageTabObserver::RegisterProfilePrefs(registry);
338 apps::RegisterProfilePrefs(registry); 337 apps::RegisterProfilePrefs(registry);
339 autofill::AutofillManager::RegisterProfilePrefs(registry); 338 autofill::AutofillManager::RegisterProfilePrefs(registry);
340 BookmarkPromptPrefs::RegisterProfilePrefs(registry); 339 BookmarkPromptPrefs::RegisterProfilePrefs(registry);
341 bookmark_utils::RegisterProfilePrefs(registry); 340 bookmark_utils::RegisterProfilePrefs(registry);
342 sync_driver::SyncPrefs::RegisterProfilePrefs(registry); 341 sync_driver::SyncPrefs::RegisterProfilePrefs(registry);
343 ChromeContentBrowserClient::RegisterProfilePrefs(registry); 342 ChromeContentBrowserClient::RegisterProfilePrefs(registry);
344 ChromeVersionService::RegisterProfilePrefs(registry); 343 ChromeVersionService::RegisterProfilePrefs(registry);
345 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs( 344 chrome_browser_net::HttpServerPropertiesManager::RegisterProfilePrefs(
346 registry); 345 registry);
347 chrome_browser_net::Predictor::RegisterProfilePrefs(registry); 346 chrome_browser_net::Predictor::RegisterProfilePrefs(registry);
348 chrome_prefs::RegisterProfilePrefs(registry); 347 chrome_prefs::RegisterProfilePrefs(registry);
349 DownloadPrefs::RegisterProfilePrefs(registry); 348 DownloadPrefs::RegisterProfilePrefs(registry);
350 easy_unlock::RegisterProfilePrefs(registry); 349 easy_unlock::RegisterProfilePrefs(registry);
351 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); 350 extensions::ExtensionPrefs::RegisterProfilePrefs(registry);
352 extensions::launch_util::RegisterProfilePrefs(registry); 351 extensions::launch_util::RegisterProfilePrefs(registry);
353 ExtensionWebUI::RegisterProfilePrefs(registry); 352 ExtensionWebUI::RegisterProfilePrefs(registry);
354 HostContentSettingsMap::RegisterProfilePrefs(registry); 353 HostContentSettingsMap::RegisterProfilePrefs(registry);
355 IncognitoModePrefs::RegisterProfilePrefs(registry); 354 IncognitoModePrefs::RegisterProfilePrefs(registry);
356 InstantUI::RegisterProfilePrefs(registry); 355 InstantUI::RegisterProfilePrefs(registry);
356 NavigationCorrectionTabObserver::RegisterProfilePrefs(registry);
357 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry); 357 MediaCaptureDevicesDispatcher::RegisterProfilePrefs(registry);
358 MediaDeviceIDSalt::RegisterProfilePrefs(registry); 358 MediaDeviceIDSalt::RegisterProfilePrefs(registry);
359 MediaStreamDevicesController::RegisterProfilePrefs(registry); 359 MediaStreamDevicesController::RegisterProfilePrefs(registry);
360 NetPrefObserver::RegisterProfilePrefs(registry); 360 NetPrefObserver::RegisterProfilePrefs(registry);
361 NetworkTimeService::RegisterProfilePrefs(registry); 361 NetworkTimeService::RegisterProfilePrefs(registry);
362 NewTabUI::RegisterProfilePrefs(registry); 362 NewTabUI::RegisterProfilePrefs(registry);
363 password_manager::PasswordManager::RegisterProfilePrefs(registry); 363 password_manager::PasswordManager::RegisterProfilePrefs(registry);
364 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry); 364 PrefProxyConfigTrackerImpl::RegisterProfilePrefs(registry);
365 PrefsTabHelper::RegisterProfilePrefs(registry); 365 PrefsTabHelper::RegisterProfilePrefs(registry);
366 Profile::RegisterProfilePrefs(registry); 366 Profile::RegisterProfilePrefs(registry);
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 577 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
578 current_version); 578 current_version);
579 } 579 }
580 580
581 #if defined(OS_CHROMEOS) 581 #if defined(OS_CHROMEOS)
582 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); 582 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state);
583 #endif 583 #endif
584 } 584 }
585 585
586 } // namespace chrome 586 } // namespace chrome
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/net/url_request_mock_util.cc ('k') | trunk/src/chrome/browser/ui/alternate_error_tab_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698