Lines Matching refs:switches
364 if (command_line.HasSwitch(switches::kRestoreLastSession))
366 if (command_line.HasSwitch(switches::kIncognito) &&
538 if (command_line.HasSwitch(switches::kIncognito) &&
574 if (parsed_command_line.HasSwitch(switches::kEnableGView)) {
649 if (command_line_.HasSwitch(switches::kDnsLogDetails))
651 if (command_line_.HasSwitch(switches::kDnsPrefetchDisable))
654 if (command_line_.HasSwitch(switches::kDumpHistogramsOnExit))
657 if (command_line_.HasSwitch(switches::kRemoteShellPort)) {
659 command_line_.GetSwitchValueASCII(switches::kRemoteShellPort);
667 } else if (command_line_.HasSwitch(switches::kRemoteDebuggingPort)) {
669 command_line_.GetSwitchValueASCII(switches::kRemoteDebuggingPort);
681 if (command_line_.HasSwitch(switches::kUserAgent)) {
683 switches::kUserAgent));
704 !command_line_.HasSwitch(switches::kNoDefaultBrowserCheck)) {
719 if (command_line_.HasSwitch(switches::kPrint)) {
727 if (!command_line_.HasSwitch(switches::kNoEvents)) {
731 bool record_mode = command_line_.HasSwitch(switches::kRecordMode);
732 bool playback_mode = command_line_.HasSwitch(switches::kPlaybackMode);
750 if (command_line_.HasSwitch(switches::kApp)) {
752 *app_url = command_line_.GetSwitchValueASCII(switches::kApp);
755 if (command_line_.HasSwitch(switches::kAppId)) {
757 *app_id = command_line_.GetSwitchValueASCII(switches::kAppId);
853 if (process_startup && command_line_.HasSwitch(switches::kNoStartupWindow))
876 else if (!command_line_.HasSwitch(switches::kOpenInNewWindow))
887 if (command_line_.HasSwitch(switches::kTestingChannelID) &&
888 !command_line_.HasSwitch(switches::kRestoreLastSession) &&
899 !command_line_.HasSwitch(switches::kRestoreLastSession)) {
993 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kKioskMode))
1061 switches::kSingleProcess,
1062 switches::kNoSandbox,
1063 switches::kInProcessWebGL,
1066 switches::kEnableNaCl,
1138 if (!command_line_.HasSwitch(switches::kEnableDNSCertProvenanceChecking))
1305 if (command_line.HasSwitch(switches::kDisablePromptOnRepost))
1309 if (command_line.HasSwitch(switches::kTestingChannelID)) {
1311 switches::kTestingChannelID);
1317 if (command_line.HasSwitch(switches::kNoStartupWindow)) {
1322 } else if (command_line.HasSwitch(switches::kLoginManager)) {
1325 } else if (command_line.HasSwitch(switches::kRestoreLastSession)) {
1327 command_line.GetSwitchValueASCII(switches::kRestoreLastSession));
1345 if (command_line.HasSwitch(switches::kAutomationClientChannelID)) {
1347 switches::kAutomationClientChannelID);
1357 if (command_line.HasSwitch(switches::kChromeFrame)) {
1370 if (command_line.HasSwitch(switches::kNotifyCloudPrintTokenExpired)) {
1381 if (command_line.HasSwitch(switches::kExplicitlyAllowedPorts)) {
1383 command_line.GetSwitchValueASCII(switches::kExplicitlyAllowedPorts);
1389 if (command_line.HasSwitch(switches::kLoginManager) ||
1390 command_line.HasSwitch(switches::kLoginPassword)) {
1400 command_line.GetSwitchValueASCII(switches::kTouchDevices);