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

Unified Diff: win8/delegate_execute/delegate_execute.cc

Issue 819223002: 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 | « win8/delegate_execute/command_execute_impl.cc ('k') | win8/delegate_execute/delegate_execute_operation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/delegate_execute.cc
diff --git a/win8/delegate_execute/delegate_execute.cc b/win8/delegate_execute/delegate_execute.cc
index 118bfe2f52f8c859f9acc6b210a6545fbab6c8dd..0d2bbbb00630ce0dfd15e4e9b37a46f75acdedda 100644
--- a/win8/delegate_execute/delegate_execute.cc
+++ b/win8/delegate_execute/delegate_execute.cc
@@ -146,7 +146,7 @@ int RelaunchChrome(const DelegateExecuteOperation& operation) {
bool found_exe = CommandExecuteImpl::FindChromeExe(&chrome_exe_path);
DCHECK(found_exe);
if (found_exe) {
- bool launch_ash = CommandLine::ForCurrentProcess()->HasSwitch(
+ bool launch_ash = base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kForceImmersive);
if (launch_ash) {
AtlTrace(L"Relaunching Chrome into Windows ASH on Windows 7\n");
@@ -182,10 +182,10 @@ extern "C" int WINAPI _tWinMain(HINSTANCE , HINSTANCE, LPTSTR, int nShowCmd) {
base::AtExitManager exit_manager;
AtlTrace("delegate_execute enter\n");
- CommandLine::Init(0, NULL);
+ base::CommandLine::Init(0, NULL);
HRESULT ret_code = E_UNEXPECTED;
DelegateExecuteOperation operation;
- if (operation.Init(CommandLine::ForCurrentProcess())) {
+ if (operation.Init(base::CommandLine::ForCurrentProcess())) {
switch (operation.operation_type()) {
case DelegateExecuteOperation::DELEGATE_EXECUTE:
ret_code = _AtlModule.WinMain(nShowCmd);
« no previous file with comments | « win8/delegate_execute/command_execute_impl.cc ('k') | win8/delegate_execute/delegate_execute_operation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698