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

Unified Diff: chrome/browser/shell_integration_win.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
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/browser/signin/account_reconcilor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index 8516cc37da851bac909833da9b93b204fde10dc1..1ab07a6569c2cc18c39e3db60070f0cdd4ed0073 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -91,7 +91,7 @@ base::string16 GetAppListAppName() {
// Gets expected app id for given Chrome (based on |command_line| and
// |is_per_user_install|).
-base::string16 GetExpectedAppId(const CommandLine& command_line,
+base::string16 GetExpectedAppId(const base::CommandLine& command_line,
bool is_per_user_install) {
base::FilePath user_data_dir;
if (command_line.HasSwitch(switches::kUserDataDir))
@@ -461,8 +461,9 @@ int ShellIntegration::MigrateShortcutsInPathInternal(
chrome_exe != target_path) {
continue;
}
- CommandLine command_line(CommandLine::FromString(base::StringPrintf(
- L"\"%ls\" %ls", target_path.value().c_str(), arguments.c_str())));
+ base::CommandLine command_line(
+ base::CommandLine::FromString(base::StringPrintf(
+ L"\"%ls\" %ls", target_path.value().c_str(), arguments.c_str())));
// Get the expected AppId for this Chrome shortcut.
base::string16 expected_app_id(
« no previous file with comments | « chrome/browser/shell_integration_linux.cc ('k') | chrome/browser/signin/account_reconcilor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698