Lines Matching refs:command_line
10 #include "base/command_line.h"
157 CommandLine* command_line = CommandLine::ForCurrentProcess();
163 command_line->AppendSwitch(switches::kDisableOfflineAutoReload);
166 SetUpCommandLine(command_line);
168 PrepareTestCommandLine(command_line);
181 base::FilePath log_dir = logging::GetSessionLogFile(*command_line).DirName();
220 void InProcessBrowserTest::PrepareTestCommandLine(CommandLine* command_line) {
222 test_launcher_utils::PrepareBrowserCommandLineForTests(command_line);
225 command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType);
228 if (command_line->HasSwitch(switches::kAshBrowserTests)) {
229 command_line->AppendSwitchNative(switches::kViewerLaunchViaAppId,
234 command_line->AppendSwitch(switches::kSilentLaunch);
250 command_line->AppendSwitchPath(switches::kBrowserSubprocessPath,
256 command_line->AppendSwitch(switches::kDisableZeroBrowsersOpenForTests);
258 if (open_about_blank_on_browser_launch_ && command_line->GetArgs().empty())
259 command_line->AppendArg(url::kAboutBlankURL);
263 CommandLine* command_line = CommandLine::ForCurrentProcess();
265 command_line->GetSwitchValuePath(switches::kUserDataDir);