| Index: chrome/browser/ui/bookmarks/bookmark_utils.cc
|
| diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.cc b/chrome/browser/ui/bookmarks/bookmark_utils.cc
|
| index 079b661e48e2f1226fb6cc7d4fd983dcbdb77bb5..0cd149be4e5919f0441dda7b44bf47f17b88fcd0 100644
|
| --- a/chrome/browser/ui/bookmarks/bookmark_utils.cc
|
| +++ b/chrome/browser/ui/bookmarks/bookmark_utils.cc
|
| @@ -297,10 +297,11 @@ void GetURLAndTitleToBookmark(content::WebContents* web_contents,
|
|
|
| void ToggleBookmarkBarWhenVisible(content::BrowserContext* browser_context) {
|
| PrefService* prefs = user_prefs::UserPrefs::Get(browser_context);
|
| - const bool always_show = !prefs->GetBoolean(prefs::kShowBookmarkBar);
|
| + const bool always_show =
|
| + !prefs->GetBoolean(bookmarks::prefs::kShowBookmarkBar);
|
|
|
| // The user changed when the bookmark bar is shown, update the preferences.
|
| - prefs->SetBoolean(prefs::kShowBookmarkBar, always_show);
|
| + prefs->SetBoolean(bookmarks::prefs::kShowBookmarkBar, always_show);
|
| }
|
|
|
| base::string16 FormatBookmarkURLForDisplay(const GURL& url,
|
| @@ -337,7 +338,8 @@ bool ShouldShowAppsShortcutInBookmarkBar(
|
| Profile* profile,
|
| chrome::HostDesktopType host_desktop_type) {
|
| return IsAppsShortcutEnabled(profile, host_desktop_type) &&
|
| - profile->GetPrefs()->GetBoolean(prefs::kShowAppsShortcutInBookmarkBar);
|
| + profile->GetPrefs()->GetBoolean(
|
| + bookmarks::prefs::kShowAppsShortcutInBookmarkBar);
|
| }
|
|
|
| bool ShouldRemoveBookmarkThisPageUI(Profile* profile) {
|
|
|