Lines Matching refs:command_line
33 #include "base/command_line.h"
120 LoggingDestination DetermineLogMode(const CommandLine& command_line) {
132 if (command_line.HasSwitch(kInvertLoggingSwitch))
139 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr")
190 base::FilePath GetSessionLogDir(const CommandLine& command_line) {
197 } else if (command_line.HasSwitch(chromeos::switches::kLoginProfile)) {
201 command_line.GetSwitchValueASCII(chromeos::switches::kLoginProfile);
216 base::FilePath GetSessionLogFile(const CommandLine& command_line) {
217 return GetSessionLogDir(command_line).Append(GetLogFileName().BaseName());
220 void RedirectChromeLogging(const CommandLine& command_line) {
232 base::FilePath log_path = GetSessionLogFile(command_line);
243 settings.logging_dest = DetermineLogMode(command_line);
255 void InitChromeLogging(const CommandLine& command_line,
260 LoggingDestination logging_dest = DetermineLogMode(command_line);
276 if (command_line.HasSwitch(chromeos::switches::kGuestSession))
277 log_path = GetSessionLogFile(command_line);
333 command_line.HasSwitch(switches::kNoErrorDialogs))
338 if (command_line.HasSwitch(switches::kLoggingLevel)) {
339 std::string log_level = command_line.GetSwitchValueASCII(