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

Unified Diff: chrome/browser/background/background_mode_manager_mac.mm

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/background/background_mode_manager_mac.mm
diff --git a/chrome/browser/background/background_mode_manager_mac.mm b/chrome/browser/background/background_mode_manager_mac.mm
index 51e5d525e53b6187d6dbc4426761eb5b237c54db..3b1dd7d3e0d74c1fc2019b5c6423fcd6545b9a4c 100644
--- a/chrome/browser/background/background_mode_manager_mac.mm
+++ b/chrome/browser/background/background_mode_manager_mac.mm
@@ -87,7 +87,7 @@ void BackgroundModeManager::EnableLaunchOnStartup(bool should_launch) {
// default user-data-dir. So if a user is running multiple instances of
// Chrome with different user-data-dirs, they won't conflict in their
// use of LoginItems.
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(switches::kUserDataDir))
return;
// There are a few cases we need to handle:
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/background/background_mode_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698