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

Unified Diff: trunk/src/chrome/browser/ui/toolbar/wrench_menu_model.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/toolbar/wrench_menu_model.cc
===================================================================
--- trunk/src/chrome/browser/ui/toolbar/wrench_menu_model.cc (revision 192508)
+++ trunk/src/chrome/browser/ui/toolbar/wrench_menu_model.cc (working copy)
@@ -58,10 +58,6 @@
#include "ui/gfx/image/image_skia.h"
#include "ui/native_theme/native_theme.h"
-#if defined(OS_CHROMEOS)
-#include "chromeos/chromeos_switches.h"
-#endif
-
#if defined(OS_WIN)
#include "base/win/metro.h"
#include "base/win/windows_version.h"
@@ -507,8 +503,7 @@
#else // defined(OS_WIN)
AddItemWithStringId(IDC_NEW_WINDOW, IDS_NEW_WINDOW);
#if defined(OS_CHROMEOS)
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kGuestSession))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession))
AddItemWithStringId(IDC_NEW_INCOGNITO_WINDOW, IDS_NEW_INCOGNITO_WINDOW);
#else
AddItemWithStringId(IDC_NEW_INCOGNITO_WINDOW, IDS_NEW_INCOGNITO_WINDOW);

Powered by Google App Engine
This is Rietveld 408576698