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

Unified Diff: chrome/browser/extensions/startup_helper.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/startup_helper.cc
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index b90fed3cd9b87896a376fea0c4f63ce76ab8a954..4432e7ff819d48616d09877b621b6c295961210b 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -94,7 +94,7 @@ void StartupHelper::OnPackFailure(const std::string& error_message,
PrintPackExtensionMessage(error_message);
}
-bool StartupHelper::PackExtension(const CommandLine& cmd_line) {
+bool StartupHelper::PackExtension(const base::CommandLine& cmd_line) {
if (!cmd_line.HasSwitch(switches::kPackExtension))
return false;
@@ -205,7 +205,7 @@ class ValidateCrxHelper : public SandboxedUnpackerClient {
} // namespace
-bool StartupHelper::ValidateCrx(const CommandLine& cmd_line,
+bool StartupHelper::ValidateCrx(const base::CommandLine& cmd_line,
std::string* error) {
CHECK(error);
base::FilePath path = cmd_line.GetSwitchValuePath(switches::kValidateCrx);
@@ -304,7 +304,7 @@ void AppInstallHelper::OnAppInstallComplete(bool success,
} // namespace
-bool StartupHelper::InstallEphemeralApp(const CommandLine& cmd_line,
+bool StartupHelper::InstallEphemeralApp(const base::CommandLine& cmd_line,
Profile* profile) {
std::string id =
cmd_line.GetSwitchValueASCII(switches::kInstallEphemeralAppFromWebstore);

Powered by Google App Engine
This is Rietveld 408576698