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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc

Issue 816403003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years 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/policy/cloud/component_cloud_policy_browsertest.cc
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
index cb287ba4b366d09765243982fad8bc0861bfc829..7ca11bfec75e9369d897d86159c224c08a0bf056 100644
--- a/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
+++ b/chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc
@@ -105,7 +105,7 @@ class ComponentCloudPolicyTest : public ExtensionBrowserTest {
ComponentCloudPolicyTest() {}
~ComponentCloudPolicyTest() override {}
- void SetUpCommandLine(CommandLine* command_line) override {
+ void SetUpCommandLine(base::CommandLine* command_line) override {
ExtensionBrowserTest::SetUpCommandLine(command_line);
#if defined(OS_CHROMEOS)
// ExtensionBrowserTest sets the login users to a non-managed value;
@@ -123,7 +123,7 @@ class ComponentCloudPolicyTest : public ExtensionBrowserTest {
ASSERT_TRUE(test_server_.Start());
std::string url = test_server_.GetServiceURL().spec();
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitchASCII(switches::kDeviceManagementUrl, url);
ExtensionBrowserTest::SetUpInProcessBrowserTestFixture();

Powered by Google App Engine
This is Rietveld 408576698