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

Unified Diff: trunk/src/chrome/browser/extensions/component_loader.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/extensions/component_loader.cc
===================================================================
--- trunk/src/chrome/browser/extensions/component_loader.cc (revision 192508)
+++ trunk/src/chrome/browser/extensions/component_loader.cc (working copy)
@@ -34,7 +34,6 @@
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/login/user_manager.h"
-#include "chromeos/chromeos_switches.h"
#endif
#if defined(ENABLE_APP_LIST)
@@ -356,7 +355,7 @@
// Skip all other extensions that require user session presence.
if (!skip_session_components) {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(chromeos::switches::kGuestSession))
+ if (!command_line->HasSwitch(switches::kGuestSession))
Add(IDR_BOOKMARKS_MANIFEST,
base::FilePath(FILE_PATH_LITERAL("bookmark_manager")));
@@ -424,7 +423,7 @@
// Don't load Quickoffice component extension in Guest mode because
// it doesn't work in Incognito mode due to disabled temp fs.
// TODO(dpolukhin): enable Quickoffice in Guest mode.
- if (!command_line->HasSwitch(chromeos::switches::kGuestSession)) {
+ if (!command_line->HasSwitch(switches::kGuestSession)) {
Add(IDR_QUICK_OFFICE_MANIFEST, base::FilePath(FILE_PATH_LITERAL(
"/usr/share/chromeos-assets/quick_office")));
}

Powered by Google App Engine
This is Rietveld 408576698