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

Unified Diff: apps/launcher.cc

Issue 667723003: Prefix CommandLine usage with base namespace (Part 3: apps/) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « apps/app_load_service.cc ('k') | apps/load_and_launch_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/launcher.cc
diff --git a/apps/launcher.cc b/apps/launcher.cc
index 50cdf5de6099eea7f5940f25db90304d375fdfbb..ff38aa4d390e2cfec999fc4ba7e9347fd410cff6 100644
--- a/apps/launcher.cc
+++ b/apps/launcher.cc
@@ -312,7 +312,7 @@ class PlatformAppPathLauncher
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 @@ void LaunchPlatformAppWithCommandLine(Profile* profile,
#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 LaunchPlatformAppWithPath(Profile* profile,
void LaunchPlatformApp(Profile* profile, const Extension* extension) {
LaunchPlatformAppWithCommandLine(profile,
extension,
- CommandLine(CommandLine::NO_PROGRAM),
+ base::CommandLine(
+ base::CommandLine::NO_PROGRAM),
base::FilePath());
}
« no previous file with comments | « apps/app_load_service.cc ('k') | apps/load_and_launch_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698