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

Unified Diff: chrome/browser/performance_monitor/performance_monitor_browsertest.cc

Issue 13671005: Re-apply 192420: Move login switches to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « chrome/browser/extensions/extension_system.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/performance_monitor/performance_monitor_browsertest.cc
diff --git a/chrome/browser/performance_monitor/performance_monitor_browsertest.cc b/chrome/browser/performance_monitor/performance_monitor_browsertest.cc
index 75bd3cdfc193a20d2546a2b4225c51589a5c0a89..425d755d5dd3493afc69678465169a07f77f19bb 100644
--- a/chrome/browser/performance_monitor/performance_monitor_browsertest.cc
+++ b/chrome/browser/performance_monitor/performance_monitor_browsertest.cc
@@ -42,6 +42,10 @@
#include "content/public/test/test_navigation_observer.h"
#include "content/public/test/test_utils.h"
+#if defined(OS_CHROMEOS)
+#include "chromeos/chromeos_switches.h"
+#endif
+
#if defined(OS_MACOSX)
#include "base/mac/scoped_nsautorelease_pool.h"
#endif
@@ -285,9 +289,9 @@ class PerformanceMonitorUncleanExitBrowserTest
// typically be logged in with 'user'.)
#if defined(OS_CHROMEOS)
const CommandLine command_line = *CommandLine::ForCurrentProcess();
- if (command_line.HasSwitch(switches::kLoginProfile)) {
+ if (command_line.HasSwitch(chromeos::switches::kLoginProfile)) {
first_profile_name_ =
- command_line.GetSwitchValueASCII(switches::kLoginProfile);
+ command_line.GetSwitchValueASCII(chromeos::switches::kLoginProfile);
} else {
first_profile_name_ = chrome::kInitialProfile;
}
« no previous file with comments | « chrome/browser/extensions/extension_system.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698