Prefix CommandLine usage with base namespace (Part 3: apps/)
Prefix all CommandLine usage in the apps/ directory with the
base:: namespace.
[email protected]
BUG=422426
Review URL: https://codereview.chromium.org/667723003
Cr-Commit-Position: refs/heads/master@{#301607}
diff --git a/apps/launcher.cc b/apps/launcher.cc
index 50cdf5de6..ff38aa4 100644
--- a/apps/launcher.cc
+++ b/apps/launcher.cc
@@ -312,7 +312,7 @@
void LaunchPlatformAppWithCommandLine(Profile* profile,
const Extension* extension,
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
const base::FilePath& current_directory) {
// An app with "kiosk_only" should not be installed and launched
// outside of ChromeOS kiosk mode in the first place. This is a defensive
@@ -337,7 +337,7 @@
#else
base::CommandLine::StringType about_blank_url(url::kAboutBlankURL);
#endif
- CommandLine::StringVector args = command_line.GetArgs();
+ base::CommandLine::StringVector args = command_line.GetArgs();
// Browser tests will add about:blank to the command line. This should
// never be interpreted as a file to open, as doing so with an app that
// has write access will result in a file 'about' being created, which
@@ -365,7 +365,8 @@
void LaunchPlatformApp(Profile* profile, const Extension* extension) {
LaunchPlatformAppWithCommandLine(profile,
extension,
- CommandLine(CommandLine::NO_PROGRAM),
+ base::CommandLine(
+ base::CommandLine::NO_PROGRAM),
base::FilePath());
}