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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 490123003: Move bookmark_pref_names.* into bookmarks namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 6 years, 4 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
Index: chrome/browser/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 2d7a5b78072872970f875a058015902405e1ef04..d5224aa2e79cb871eb6fd8c6107980770c7a7fc3 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -1176,8 +1176,8 @@ void ProfileManager::AddProfileToCache(Profile* profile) {
void ProfileManager::SetGuestProfilePrefs(Profile* profile) {
PrefService* prefs = profile->GetPrefs();
prefs->SetBoolean(prefs::kSigninAllowed, false);
- prefs->SetBoolean(prefs::kEditBookmarksEnabled, false);
- prefs->SetBoolean(prefs::kShowBookmarkBar, false);
+ prefs->SetBoolean(bookmarks::prefs::kEditBookmarksEnabled, false);
+ prefs->SetBoolean(bookmarks::prefs::kShowBookmarkBar, false);
// This can be removed in the future but needs to be present through
// a release (or two) so that any existing installs get switched to
// the new state and away from the previous "forced" state.
« no previous file with comments | « chrome/browser/prefs/pref_functional_browsertest.cc ('k') | chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698