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

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

Issue 13590004: Revert 192504 "Re-apply 192420: Move login switches to src/chromeos" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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: trunk/src/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
===================================================================
--- trunk/src/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (revision 192508)
+++ trunk/src/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (working copy)
@@ -60,10 +60,6 @@
#include "ui/webui/jstemplate_builder.h"
#include "ui/webui/web_ui_util.h"
-#if defined(OS_CHROMEOS)
-#include "chromeos/chromeos_switches.h"
-#endif
-
#if defined(OS_MACOSX)
#include "chrome/browser/platform_util.h"
#endif
@@ -283,8 +279,7 @@
const char* new_tab_link = kLearnMoreIncognitoUrl;
// TODO(altimofeev): consider implementation without 'if def' usage.
#if defined(OS_CHROMEOS)
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kGuestSession)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession)) {
new_tab_message_ids = IDS_NEW_TAB_GUEST_SESSION_MESSAGE;
new_tab_html_idr = IDR_GUEST_SESSION_TAB_HTML;
new_tab_link = kLearnMoreGuestSessionUrl;

Powered by Google App Engine
This is Rietveld 408576698