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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc

Issue 16625004: components: Move user_prefs into user_prefs namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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/profiles/profile_impl.cc ('k') | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
index e0821df5d357254013e09cb534a23d16c2136d91..d2703c39d779232228bb727eb6c3986ebc56ea5f 100644
--- a/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc
@@ -265,7 +265,7 @@ void BookmarkContextMenuController::ExecuteCommand(int id, int event_flags) {
}
bool BookmarkContextMenuController::IsCommandIdChecked(int command_id) const {
- PrefService* prefs = components::UserPrefs::Get(profile_);
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile_);
if (command_id == IDC_BOOKMARK_BAR_ALWAYS_SHOW)
return prefs->GetBoolean(prefs::kShowBookmarkBar);
@@ -278,7 +278,7 @@ bool BookmarkContextMenuController::IsCommandIdEnabled(int command_id) const {
if (IsPlatformCommandIdEnabled(command_id, &enabled))
return enabled;
- PrefService* prefs = components::UserPrefs::Get(profile_);
+ PrefService* prefs = user_prefs::UserPrefs::Get(profile_);
bool is_root_node = selection_.size() == 1 &&
selection_[0]->parent() == model_->root_node();
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/browser/ui/bookmarks/bookmark_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698