Lines Matching refs:parsed_command_line
223 if (parsed_command_line().HasSwitch(switches::kEnableBenchmarking))
228 if (parsed_command_line().HasSwitch(switches::kEnableDNSSECCerts))
230 if (parsed_command_line().HasSwitch(switches::kDisableSSLFalseStart))
233 // if (parsed_command_line().HasSwitch(switches::kEnableSnapStart))
235 if (parsed_command_line().HasSwitch(
240 if (parsed_command_line().HasSwitch(switches::kEnableTcpFastOpen))
253 prerender::ConfigurePrefetchAndPrerender(parsed_command_line());
394 if (parsed_command_line().HasSwitch(switches::kUseSpdy)) {
396 parsed_command_line().GetSwitchValueASCII(switches::kUseSpdy);
449 if (parsed_command_line().HasSwitch(switches::kMaxSpdyConcurrentStreams)) {
451 base::StringToInt(parsed_command_line().GetSwitchValueASCII(
460 if (parsed_command_line().HasSwitch(switches::kDisableSSLFalseStart)) {
486 if (parsed_command_line().HasSwitch(switches::kEnableConnectBackupJobs)) {
489 } else if (parsed_command_line().HasSwitch(
623 void InitializeNetworkOptions(const CommandLine& parsed_command_line) {
624 if (parsed_command_line.HasSwitch(switches::kEnableFileCookies)) {
630 if (parsed_command_line.HasSwitch(switches::kIgnoreCertificateErrors))
633 if (parsed_command_line.HasSwitch(switches::kHostRules))
635 parsed_command_line.GetSwitchValueASCII(switches::kHostRules));
637 if (parsed_command_line.HasSwitch(switches::kEnableIPPooling))
640 if (parsed_command_line.HasSwitch(switches::kDisableIPPooling))
643 if (parsed_command_line.HasSwitch(switches::kMaxSpdySessionsPerDomain)) {
645 base::StringToInt(parsed_command_line.GetSwitchValueASCII(
672 PrefService* InitializeLocalState(const CommandLine& parsed_command_line,
723 parsed_command_line.HasSwitch(switches::kParentProfile)) {
725 parsed_command_line.GetSwitchValuePath(switches::kParentProfile);
737 if (parsed_command_line.HasSwitch(switches::kLoginManager)) {
755 const CommandLine& parsed_command_line) {
761 if (!parsed_command_line.HasSwitch(switches::kNoSandbox)) {
762 bool use_winsta = !parsed_command_line.HasSwitch(
776 MetricsService* InitializeMetrics(const CommandLine& parsed_command_line,
779 if (parsed_command_line.HasSwitch(switches::kChromeFrame))
787 if (parsed_command_line.HasSwitch(switches::kMetricsRecordingOnly) ||
788 parsed_command_line.HasSwitch(switches::kEnableBenchmarking)) {
1033 void OptionallyRunChromeOSLoginManager(const CommandLine& parsed_command_line) {
1034 if (parsed_command_line.HasSwitch(switches::kLoginManager)) {
1036 parsed_command_line.GetSwitchValueASCII(switches::kLoginScreen);
1038 parsed_command_line.GetSwitchValueASCII(
1054 } else if (parsed_command_line.HasSwitch(switches::kLoginUser) &&
1055 parsed_command_line.HasSwitch(switches::kLoginPassword)) {
1058 parsed_command_line.GetSwitchValueASCII(switches::kLoginUser),
1059 parsed_command_line.GetSwitchValueASCII(switches::kLoginPassword));
1065 void OptionallyRunChromeOSLoginManager(const CommandLine& parsed_command_line) {
1170 const CommandLine& parsed_command_line = parameters.command_line_;
1197 parsed_command_line.HasSwitch(switches::kFirstRun);
1200 if (parsed_command_line.HasSwitch(switches::kImport) ||
1201 parsed_command_line.HasSwitch(switches::kImportFromFile)) {
1205 browser_process.reset(new FirstRunBrowserProcess(parsed_command_line));
1208 browser_process.reset(new BrowserProcessImpl(parsed_command_line));
1223 InitializeBrokerServices(parameters, parsed_command_line);
1228 PrefService* local_state = InitializeLocalState(parsed_command_line,
1272 parsed_command_line.GetSwitchValueASCII(switches::kTryChromeAgain);
1312 (parsed_command_line.HasSwitch(switches::kApp) ||
1313 parsed_command_line.HasSwitch(switches::kAppId) ||
1314 parsed_command_line.HasSwitch(switches::kNoFirstRun)))
1319 if (!parsed_command_line.HasSwitch(switches::kNoErrorDialogs))
1322 InitializeNetworkOptions(parsed_command_line);
1393 if (parsed_command_line.HasSwitch(switches::kUninstall))
1397 if (parsed_command_line.HasSwitch(switches::kHideIcons) ||
1398 parsed_command_line.HasSwitch(switches::kShowIcons))
1399 return HandleIconsCommands(parsed_command_line);
1400 if (parsed_command_line.HasSwitch(switches::kMakeDefaultBrowser)) {
1407 if (parsed_command_line.HasSwitch(switches::kPackExtension)) {
1409 if (extension_startup_util.PackExtension(parsed_command_line)) {
1421 if (!(parsed_command_line.HasSwitch(switches::kImport) ||
1422 parsed_command_line.HasSwitch(switches::kImportFromFile))) {
1471 if (parsed_command_line.HasSwitch(switches::kStubCros))
1483 if (parsed_command_line.HasSwitch(switches::kAllowFileAccess)) {
1492 if (parsed_command_line.HasSwitch(switches::kLoginUser) &&
1493 !parsed_command_line.HasSwitch(switches::kLoginPassword)) {
1495 parsed_command_line.GetSwitchValueASCII(switches::kLoginUser);
1500 logging::RedirectChromeLogging(parsed_command_line);
1516 OptionallyRunChromeOSLoginManager(parsed_command_line);
1524 if (parsed_command_line.HasSwitch(switches::kImport) ||
1525 parsed_command_line.HasSwitch(switches::kImportFromFile)) {
1526 return FirstRun::ImportNow(profile, parsed_command_line);
1532 if (!already_running && upgrade_util::DoUpgradeTasks(parsed_command_line))
1550 if (!parsed_command_line.HasSwitch(switches::kNoFirstRun)) {
1593 PrepareRestartOnCrashEnviroment(parsed_command_line);
1602 bool result = RegisterApplicationRestart(parsed_command_line);
1612 if (parsed_command_line.HasSwitch(switches::kDisablePreconnect))
1614 else if (parsed_command_line.HasSwitch(switches::kEnablePreconnect))
1675 if (parsed_command_line.HasSwitch(switches::kSdchFilter)) {
1677 parsed_command_line.GetSwitchValueASCII(switches::kSdchFilter);
1689 MetricsService* metrics = InitializeMetrics(parsed_command_line, local_state);
1690 InstallJankometer(parsed_command_line);
1693 if (parsed_command_line.HasSwitch(switches::kDebugPrint)) {
1695 parsed_command_line.GetSwitchValuePath(switches::kDebugPrint);
1705 HandleTestParameters(parsed_command_line);
1736 if (parsed_command_line.HasSwitch(switches::kUninstallExtension)) {
1738 if (ext_startup_util.UninstallExtension(parsed_command_line, profile)) {
1754 if (parsed_command_line.HasSwitch(switches::kWaitForDebugger)) {
1763 if (parsed_command_line.HasSwitch(switches::kEnableRemoting)) {
1792 if (parsed_command_line.GetSwitchValueASCII(switches::kUseGL) !=
1814 if (browser_init.Start(parsed_command_line, FilePath(), profile,