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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 9582022: Make NTP other sessions menu off disabled by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index e1f101a46104e1a6125039c690e84bc3734d220e..609d2b3bdb67c167a9800701228a16245df37965 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -397,8 +397,8 @@ void NTPResourceCache::CreateNewTabHTML() {
}
// Determine whether to show the menu for accessing tabs on other devices.
- bool show_other_sessions_menu = !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableNTPOtherSessionsMenu);
+ bool show_other_sessions_menu = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNTPOtherSessionsMenu);
localized_strings.SetBoolean("showOtherSessionsMenu",
show_other_sessions_menu);

Powered by Google App Engine
This is Rietveld 408576698