Lines Matching refs:command_line
130 LoggingDestination DetermineLogMode(const CommandLine& command_line) { in DetermineLogMode() argument
144 if (command_line.HasSwitch(kInvertLoggingSwitch)) in DetermineLogMode()
151 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr") in DetermineLogMode()
215 FilePath GetSessionLogFile(const CommandLine& command_line) { in GetSessionLogFile() argument
225 command_line.GetSwitchValuePath(switches::kLoginProfile); in GetSessionLogFile()
231 void RedirectChromeLogging(const CommandLine& command_line) { in RedirectChromeLogging() argument
237 FilePath log_path = GetSessionLogFile(command_line); in RedirectChromeLogging()
246 command_line.HasSwitch(switches::kEnableDCHECK) ? in RedirectChromeLogging()
253 DetermineLogMode(command_line), in RedirectChromeLogging()
267 void InitChromeLogging(const CommandLine& command_line, in InitChromeLogging() argument
282 if (command_line.HasSwitch(switches::kGuestSession)) in InitChromeLogging()
283 log_path = GetSessionLogFile(command_line); in InitChromeLogging()
298 command_line.HasSwitch(switches::kEnableDCHECK) ? in InitChromeLogging()
303 DetermineLogMode(command_line), in InitChromeLogging()
340 command_line.HasSwitch(switches::kNoErrorDialogs)) in InitChromeLogging()
345 if (command_line.HasSwitch(switches::kLoggingLevel)) { in InitChromeLogging()
346 std::string log_level = command_line.GetSwitchValueASCII( in InitChromeLogging()
364 if (command_line.HasSwitch(switches::kSilentDumpOnDCHECK) && in InitChromeLogging()
365 command_line.HasSwitch(switches::kEnableDCHECK)) { in InitChromeLogging()