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

Unified Diff: chrome/browser/search/search.cc

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/search/search.h ('k') | chrome/browser/search_engines/template_url_prepopulate_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search.cc
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc
index b3f7fd7e7d4c6be093fa8875022e53371d9fc299..2326fa6404816ff4e7b565570b67be3e04ca31fb 100644
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -346,12 +346,16 @@ bool NavEntryIsInstantNTP(const content::WebContents* contents,
GetSearchTermsImpl(contents, entry).empty();
}
-void RegisterInstantUserPrefs(PrefRegistrySyncable* registry) {
- registry->RegisterBooleanPref(prefs::kInstantEnabled, false,
- PrefRegistrySyncable::SYNCABLE_PREF);
+void RegisterInstantUserPrefs(user_prefs::PrefRegistrySyncable* registry) {
+ registry->RegisterBooleanPref(
+ prefs::kInstantEnabled,
+ false,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
// This default is overridden by SetInstantExtendedPrefDefault().
- registry->RegisterBooleanPref(prefs::kInstantExtendedEnabled, false,
- PrefRegistrySyncable::SYNCABLE_PREF);
+ registry->RegisterBooleanPref(
+ prefs::kInstantExtendedEnabled,
+ false,
+ user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
}
const char* GetInstantPrefName() {
« no previous file with comments | « chrome/browser/search/search.h ('k') | chrome/browser/search_engines/template_url_prepopulate_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698