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

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

Issue 10967022: alternate ntp: persist show-search-provider-logo option at chrome://instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "chrome/browser/about_flags.h" 7 #include "chrome/browser/about_flags.h"
8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h"
9 #include "chrome/browser/autocomplete/zero_suggest_provider.h"
10 #include "chrome/browser/autofill/autofill_manager.h" 9 #include "chrome/browser/autofill/autofill_manager.h"
11 #include "chrome/browser/background/background_mode_manager.h" 10 #include "chrome/browser/background/background_mode_manager.h"
12 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/bookmarks/bookmark_utils.h"
13 #include "chrome/browser/browser_shutdown.h" 12 #include "chrome/browser/browser_shutdown.h"
14 #include "chrome/browser/chrome_content_browser_client.h" 13 #include "chrome/browser/chrome_content_browser_client.h"
15 #include "chrome/browser/content_settings/host_content_settings_map.h" 14 #include "chrome/browser/content_settings/host_content_settings_map.h"
16 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 15 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
17 #include "chrome/browser/debugger/devtools_window.h" 16 #include "chrome/browser/debugger/devtools_window.h"
18 #include "chrome/browser/download/download_prefs.h" 17 #include "chrome/browser/download/download_prefs.h"
19 #include "chrome/browser/extensions/api/commands/command_service.h" 18 #include "chrome/browser/extensions/api/commands/command_service.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "chrome/browser/translate/translate_prefs.h" 57 #include "chrome/browser/translate/translate_prefs.h"
59 #include "chrome/browser/ui/alternate_error_tab_observer.h" 58 #include "chrome/browser/ui/alternate_error_tab_observer.h"
60 #include "chrome/browser/ui/browser_ui_prefs.h" 59 #include "chrome/browser/ui/browser_ui_prefs.h"
61 #include "chrome/browser/ui/network_profile_bubble.h" 60 #include "chrome/browser/ui/network_profile_bubble.h"
62 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 61 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
63 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 62 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
64 #include "chrome/browser/ui/startup/autolaunch_prompt.h" 63 #include "chrome/browser/ui/startup/autolaunch_prompt.h"
65 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" 64 #include "chrome/browser/ui/tabs/pinned_tab_codec.h"
66 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" 65 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
67 #include "chrome/browser/ui/webui/flags_ui.h" 66 #include "chrome/browser/ui/webui/flags_ui.h"
67 #include "chrome/browser/ui/webui/instant_ui.h"
68 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" 68 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
69 #include "chrome/browser/ui/webui/plugins_ui.h" 69 #include "chrome/browser/ui/webui/plugins_ui.h"
70 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" 70 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h"
71 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" 71 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h"
72 #include "chrome/browser/ui/window_snapshot/window_snapshot.h" 72 #include "chrome/browser/ui/window_snapshot/window_snapshot.h"
73 #include "chrome/browser/upgrade_detector.h" 73 #include "chrome/browser/upgrade_detector.h"
74 #include "chrome/browser/web_resource/promo_resource_service.h" 74 #include "chrome/browser/web_resource/promo_resource_service.h"
75 #include "chrome/common/pref_names.h" 75 #include "chrome/common/pref_names.h"
76 #include "content/public/browser/render_process_host.h" 76 #include "content/public/browser/render_process_host.h"
77 77
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs); 217 PrefProxyConfigTrackerImpl::RegisterPrefs(user_prefs);
218 PrefsTabHelper::RegisterUserPrefs(user_prefs); 218 PrefsTabHelper::RegisterUserPrefs(user_prefs);
219 ProfileImpl::RegisterUserPrefs(user_prefs); 219 ProfileImpl::RegisterUserPrefs(user_prefs);
220 PromoResourceService::RegisterUserPrefs(user_prefs); 220 PromoResourceService::RegisterUserPrefs(user_prefs);
221 ProtocolHandlerRegistry::RegisterPrefs(user_prefs); 221 ProtocolHandlerRegistry::RegisterPrefs(user_prefs);
222 RegisterBrowserUserPrefs(user_prefs); 222 RegisterBrowserUserPrefs(user_prefs);
223 SessionStartupPref::RegisterUserPrefs(user_prefs); 223 SessionStartupPref::RegisterUserPrefs(user_prefs);
224 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs); 224 TemplateURLPrepopulateData::RegisterUserPrefs(user_prefs);
225 TranslatePrefs::RegisterUserPrefs(user_prefs); 225 TranslatePrefs::RegisterUserPrefs(user_prefs);
226 web_intents::RegisterUserPrefs(user_prefs); 226 web_intents::RegisterUserPrefs(user_prefs);
227 ZeroSuggestProvider::RegisterUserPrefs(user_prefs); 227 InstantUI::RegisterUserPrefs(user_prefs);
228 228
229 #if defined(ENABLE_CONFIGURATION_POLICY) 229 #if defined(ENABLE_CONFIGURATION_POLICY)
230 policy::URLBlacklistManager::RegisterPrefs(user_prefs); 230 policy::URLBlacklistManager::RegisterPrefs(user_prefs);
231 #endif 231 #endif
232 232
233 #if defined(TOOLKIT_VIEWS) 233 #if defined(TOOLKIT_VIEWS)
234 RegisterInvertBubbleUserPrefs(user_prefs); 234 RegisterInvertBubbleUserPrefs(user_prefs);
235 #elif defined(TOOLKIT_GTK) 235 #elif defined(TOOLKIT_GTK)
236 BrowserWindowGtk::RegisterUserPrefs(user_prefs); 236 BrowserWindowGtk::RegisterUserPrefs(user_prefs);
237 #endif 237 #endif
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 } 337 }
338 local_state->ClearPref(prefs::kLastPromptedGoogleURL); 338 local_state->ClearPref(prefs::kLastPromptedGoogleURL);
339 339
340 current_version |= GOOGLE_URL_TRACKER_PREFS; 340 current_version |= GOOGLE_URL_TRACKER_PREFS;
341 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, 341 local_state->SetInteger(prefs::kMultipleProfilePrefMigration,
342 current_version); 342 current_version);
343 } 343 }
344 } 344 }
345 345
346 } // namespace chrome 346 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698