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

Unified Diff: chrome/browser/browser_prefs.cc

Issue 2964003: Make kCookiePromptExpanded a profile pref rather than a local state pref so it can be synced. (Closed)
Patch Set: Windows changes. Created 10 years, 5 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 | « no previous file | chrome/browser/cookie_modal_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_prefs.cc
diff --git a/chrome/browser/browser_prefs.cc b/chrome/browser/browser_prefs.cc
index 04962f8b487830ae4380c574c2b6ce6e746f9eed..17a45ee42a351273ffc167c2d4f754adaa2cd8dc 100644
--- a/chrome/browser/browser_prefs.cc
+++ b/chrome/browser/browser_prefs.cc
@@ -86,7 +86,6 @@ void RegisterLocalState(PrefService* local_state) {
#endif
UpgradeDetector::RegisterPrefs(local_state);
TaskManager::RegisterPrefs(local_state);
- CookiePromptModalDialog::RegisterPrefs(local_state);
geolocation::RegisterPrefs(local_state);
AutoFillManager::RegisterBrowserPrefs(local_state);
#if defined(OS_CHROMEOS)
@@ -130,6 +129,7 @@ void RegisterUserPrefs(PrefService* user_prefs) {
chromeos::Preferences::RegisterUserPrefs(user_prefs);
#endif
BackgroundContentsService::RegisterUserPrefs(user_prefs);
+ CookiePromptModalDialog::RegisterUserPrefs(user_prefs);
}
} // namespace browser
« no previous file with comments | « no previous file | chrome/browser/cookie_modal_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698