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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc

Issue 16172005: Clean up async app launcher enabled checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test Created 7 years, 7 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/ui/views/bookmarks/bookmark_bar_view_unittest.cc
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc
index bc545f75d7f72b093f4fd02d4ea3d0e1d9679a52..460fb0f56067ed50be406bc6e8fc2f49537f9955 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view_unittest.cc
@@ -74,7 +74,7 @@ TEST_F(BookmarkBarViewInstantExtendedTest, AppsShortcutVisibility) {
// the app launcher is enabled.
browser()->profile()->GetPrefs()->SetBoolean(
prefs::kShowAppsShortcutInBookmarkBar, true);
- if (apps::WasAppLauncherEnabled()) {
+ if (apps::IsAppLauncherEnabled()) {
EXPECT_FALSE(bookmark_bar_view.apps_page_shortcut_->visible());
} else {
EXPECT_TRUE(bookmark_bar_view.apps_page_shortcut_->visible());
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698