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

Unified Diff: chrome/browser/extensions/extension_apitest.cc

Issue 819133004: 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/extensions/extension_apitest.cc
diff --git a/chrome/browser/extensions/extension_apitest.cc b/chrome/browser/extensions/extension_apitest.cc
index fcc003543372977d8f26ca7057c76a8213206dd0..a2b923e4d7efb4425b84950cb0e919614ce162f4 100644
--- a/chrome/browser/extensions/extension_apitest.cc
+++ b/chrome/browser/extensions/extension_apitest.cc
@@ -313,7 +313,7 @@ bool ExtensionApiTest::RunExtensionTestImpl(const std::string& extension_name,
AppLaunchParams params(browser()->profile(), extension,
extensions::LAUNCH_CONTAINER_NONE, NEW_WINDOW,
extensions::SOURCE_TEST);
- params.command_line = *CommandLine::ForCurrentProcess();
+ params.command_line = *base::CommandLine::ForCurrentProcess();
OpenApplication(params);
}
@@ -413,7 +413,7 @@ bool ExtensionApiTest::StartSpawnedTestServer() {
return true;
}
-void ExtensionApiTest::SetUpCommandLine(CommandLine* command_line) {
+void ExtensionApiTest::SetUpCommandLine(base::CommandLine* command_line) {
ExtensionBrowserTest::SetUpCommandLine(command_line);
test_data_dir_ = test_data_dir_.AppendASCII("api_test");
}

Powered by Google App Engine
This is Rietveld 408576698