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

Unified Diff: chrome/browser/ui/cocoa/keystone_infobar_delegate.mm

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
Index: chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
diff --git a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
index 93864c0e0734d2b74ea64f8c9feadffbf247e2d9..5e3364ef73cb2ad096015910819672676466240a 100644
--- a/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
+++ b/chrome/browser/ui/cocoa/keystone_infobar_delegate.mm
@@ -160,7 +160,7 @@ bool KeystonePromotionInfoBarDelegate::ShouldExpireInternal(
// don't want to be nagged about the default browser also don't want to be
// nagged about the update check. (Automated testers, I'm thinking of
// you...)
- CommandLine* commandLine = CommandLine::ForCurrentProcess();
+ base::CommandLine* commandLine = base::CommandLine::ForCurrentProcess();
if (first_run::IsChromeFirstRun() ||
!profile->GetPrefs()->GetBoolean(prefs::kShowUpdatePromotionInfoBar) ||
commandLine->HasSwitch(switches::kNoDefaultBrowserCheck)) {

Powered by Google App Engine
This is Rietveld 408576698