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

Unified Diff: chrome/browser/profiles/profile_shortcut_manager_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/profiles/profile_manager_unittest.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_shortcut_manager_win.cc
diff --git a/chrome/browser/profiles/profile_shortcut_manager_win.cc b/chrome/browser/profiles/profile_shortcut_manager_win.cc
index e0b6b86145a054966d1bced9289be201a4e88b6d..7327fab33a8f40bb2a153d7c6ca65a158c5f1156 100644
--- a/chrome/browser/profiles/profile_shortcut_manager_win.cc
+++ b/chrome/browser/profiles/profile_shortcut_manager_win.cc
@@ -643,7 +643,7 @@ base::string16 CreateProfileShortcutFlags(const base::FilePath& profile_path) {
// static
bool ProfileShortcutManager::IsFeatureEnabled() {
- CommandLine* command_line = CommandLine::ForCurrentProcess();
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
return command_line->HasSwitch(switches::kEnableProfileShortcutManager) ||
(BrowserDistribution::GetDistribution()->CanCreateDesktopShortcuts() &&
!command_line->HasSwitch(switches::kUserDataDir));
@@ -701,7 +701,7 @@ void ProfileShortcutManagerWin::HasProfileShortcuts(
void ProfileShortcutManagerWin::GetShortcutProperties(
const base::FilePath& profile_path,
- CommandLine* command_line,
+ base::CommandLine* command_line,
base::string16* name,
base::FilePath* icon_path) {
base::FilePath chrome_exe;
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698