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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc

Issue 14820030: Move Chrome OS switches to chromeos/chromeos_switches.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits 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/chromeos/extensions/file_manager/file_manager_util.cc
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc b/chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc
index 4682561fb1ebea6546b9133131dfb419a6111226..e8c4f478698a37aaf7843f86eaff82ad327edc2d 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc
+++ b/chrome/browser/chromeos/extensions/file_manager/file_manager_util.cc
@@ -42,6 +42,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/url_constants.h"
+#include "chromeos/chromeos_switches.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/storage_partition.h"
@@ -309,12 +310,12 @@ bool FileManageTabExists(const base::FilePath& path, TAB_REUSE_MODE mode) {
bool IsFileManagerPackaged() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- return !command_line->HasSwitch(switches::kFileManagerLegacy);
+ return !command_line->HasSwitch(chromeos::switches::kFileManagerLegacy);
}
bool IsFileManagerNewUI() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- return !command_line->HasSwitch(switches::kFileManagerLegacyUI);
+ return !command_line->HasSwitch(chromeos::switches::kFileManagerLegacyUI);
}
// Grants file system access to the file browser.
« no previous file with comments | « chrome/browser/chromeos/extensions/echo_private_apitest.cc ('k') | chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698