Index: content/shell/app/shell_main_delegate.cc |
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc |
index 914c2644d6c6c6caa26ceac5d860c75e6b1e175a..9e4ee62edc7e539f3681e9b04f8d970080ff1938 100644 |
--- a/content/shell/app/shell_main_delegate.cc |
+++ b/content/shell/app/shell_main_delegate.cc |
@@ -129,7 +129,7 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
#endif // OS_MACOSX |
InitLogging(); |
- CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
+ base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess(); |
if (command_line.HasSwitch(switches::kCheckLayoutTestSysDeps)) { |
// If CheckLayoutSystemDeps succeeds, we don't exit early. Instead we |
// continue and try to load the fonts in BlinkTestPlatformInitialize |
@@ -209,10 +209,10 @@ void ShellMainDelegate::PreSandboxStartup() { |
// cpu_brand info. |
base::CPU cpu_info; |
#endif |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableCrashReporter)) { |
std::string process_type = |
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessType); |
crash_reporter::SetCrashReporterClient(g_shell_crash_client.Pointer()); |
#if defined(OS_MACOSX) |
@@ -255,7 +255,7 @@ int ShellMainDelegate::RunProcess( |
#endif |
browser_runner_.reset(BrowserMainRunner::Create()); |
- CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
+ base::CommandLine& command_line = *base::CommandLine::ForCurrentProcess(); |
return command_line.HasSwitch(switches::kDumpRenderTree) || |
command_line.HasSwitch(switches::kCheckLayoutTestSysDeps) |
? LayoutTestBrowserMain(main_function_params, browser_runner_) |
@@ -264,10 +264,10 @@ int ShellMainDelegate::RunProcess( |
#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
void ShellMainDelegate::ZygoteForked() { |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableCrashReporter)) { |
std::string process_type = |
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
switches::kProcessType); |
breakpad::InitCrashReporter(process_type); |
} |
@@ -311,19 +311,19 @@ void ShellMainDelegate::InitializeResourceBundle() { |
} |
ContentBrowserClient* ShellMainDelegate::CreateContentBrowserClient() { |
- browser_client_.reset( |
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree) ? |
- new LayoutTestContentBrowserClient : |
- new ShellContentBrowserClient); |
+ browser_client_.reset(base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDumpRenderTree) |
+ ? new LayoutTestContentBrowserClient |
+ : new ShellContentBrowserClient); |
return browser_client_.get(); |
} |
ContentRendererClient* ShellMainDelegate::CreateContentRendererClient() { |
- renderer_client_.reset( |
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree) ? |
- new LayoutTestContentRendererClient : |
- new ShellContentRendererClient); |
+ renderer_client_.reset(base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDumpRenderTree) |
+ ? new LayoutTestContentRendererClient |
+ : new ShellContentRendererClient); |
return renderer_client_.get(); |
} |