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

Unified Diff: chrome/browser/jumplist_updater_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/io_thread.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/jumplist_updater_win.cc
diff --git a/chrome/browser/jumplist_updater_win.cc b/chrome/browser/jumplist_updater_win.cc
index 25e5ebf5541a1d8e3c3e3c3c381268c3191818a1..7230449dd72527bbeffcf39739c815003f06a3e8 100644
--- a/chrome/browser/jumplist_updater_win.cc
+++ b/chrome/browser/jumplist_updater_win.cc
@@ -82,8 +82,7 @@ bool AddShellLink(base::win::ScopedComPtr<IObjectCollection> collection,
// ShellLinkItem
ShellLinkItem::ShellLinkItem()
- : command_line_(CommandLine::NO_PROGRAM),
- icon_index_(0) {
+ : command_line_(base::CommandLine::NO_PROGRAM), icon_index_(0) {
}
ShellLinkItem::~ShellLinkItem() {}
@@ -92,7 +91,7 @@ std::wstring ShellLinkItem::GetArguments() const {
return command_line_.GetArgumentsString();
}
-CommandLine* ShellLinkItem::GetCommandLine() {
+base::CommandLine* ShellLinkItem::GetCommandLine() {
return &command_line_;
}
@@ -112,7 +111,8 @@ bool JumpListUpdater::IsEnabled() {
// JumpList is implemented only on Windows 7 or later.
// Do not create custom JumpLists in tests. See http://crbug.com/389375.
return base::win::GetVersion() >= base::win::VERSION_WIN7 &&
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kTestType);
+ !base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kTestType);
}
bool JumpListUpdater::BeginUpdate() {
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/jumplist_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698