/external/chromium_org/chrome/installer/util/ |
chrome_browser_sxs_operations.cc | 15 CommandLine* cmd_line) const { 16 DCHECK(cmd_line); 18 cmd_line->AppendSwitch(switches::kChromeSxS); 19 ChromeBrowserOperations::AppendProductFlags(options, cmd_line); 24 CommandLine* cmd_line) const { 25 DCHECK(cmd_line); 27 cmd_line->AppendSwitch(switches::kChromeSxS); 28 ChromeBrowserOperations::AppendRenameFlags(options, cmd_line);
|
chrome_browser_sxs_operations.h | 20 CommandLine* cmd_line) const OVERRIDE; 23 CommandLine* cmd_line) const OVERRIDE;
|
chrome_binaries_operations.cc | 44 CommandLine* cmd_line) const { 45 DCHECK(cmd_line); 50 if (!cmd_line->HasSwitch(switches::kMultiInstall)) 51 cmd_line->AppendSwitch(switches::kMultiInstall); 56 CommandLine* cmd_line) const { 57 DCHECK(cmd_line); 62 if (!cmd_line->HasSwitch(switches::kMultiInstall)) 63 cmd_line->AppendSwitch(switches::kMultiInstall);
|
chrome_app_host_operations.cc | 52 CommandLine* cmd_line) const { 53 DCHECK(cmd_line); 60 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 61 cmd_line->AppendSwitch(switches::kMultiInstall); 64 cmd_line->AppendSwitch(switches::kChromeAppLauncher); 69 CommandLine* cmd_line) const { 70 DCHECK(cmd_line); 77 if (is_multi_install && !cmd_line->HasSwitch(switches::kMultiInstall)) 78 cmd_line->AppendSwitch(switches::kMultiInstall);
|
auto_launch_util.cc | 183 string16 cmd_line = ASCIIToUTF16("\""); local 184 cmd_line += path.value(); 185 cmd_line += ASCIIToUTF16("\\"); 186 cmd_line += installer::kChromeExe; 187 cmd_line += ASCIIToUTF16("\""); 190 cmd_line += ASCIIToUTF16(" --"); 191 cmd_line += ASCIIToUTF16(switches::kNoStartupWindow); 194 cmd_line += ASCIIToUTF16(" --"); 195 cmd_line += ASCIIToUTF16(switches::kAutoLaunchAtStartup); 199 cmd_line += ASCIIToUTF16(" --") [all...] |
/external/chromium/chrome/common/ |
nacl_cmd_line.h | 13 // process to cmd_line that will be used for launching the NaCl loader/broker. 14 void CopyNaClCommandLineArguments(CommandLine* cmd_line);
|
switch_utils_unittest.cc | 15 CommandLine cmd_line = CommandLine::FromString( local 24 EXPECT_FALSE(cmd_line.command_line_string().empty()); 35 CommandLine cmd_line(arraysize(argv), argv); 39 cmd_line.GetSwitches(); 44 EXPECT_TRUE(cmd_line.HasSwitch("foo")); 45 EXPECT_TRUE(cmd_line.HasSwitch("bar"));
|
nacl_cmd_line.cc | 12 void CopyNaClCommandLineArguments(CommandLine* cmd_line) { 15 cmd_line->AppendSwitch(switches::kNoErrorDialogs); 35 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
|
sandbox_policy.h | 22 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
|
/external/chromium_org/components/nacl/common/ |
nacl_cmd_line.h | 12 // process to cmd_line that will be used for launching the NaCl loader/broker. 13 void CopyNaClCommandLineArguments(CommandLine* cmd_line);
|
nacl_cmd_line.cc | 13 void CopyNaClCommandLineArguments(CommandLine* cmd_line) { 32 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
|
/external/chromium_org/chrome_frame/test/reliability/ |
run_all_unittests.cc | 28 CommandLine* cmd_line = CommandLine::ForCurrentProcess(); local 29 DCHECK(cmd_line); 30 if (!cmd_line) { 34 if (cmd_line->HasSwitch(kRegisterDllFlag)) { 35 std::wstring dll_path = cmd_line->GetSwitchValueNative(kRegisterDllFlag);
|
/external/chromium_org/chrome/common/ |
switch_utils_unittest.cc | 20 CommandLine cmd_line(arraysize(argv), argv); 21 EXPECT_FALSE(cmd_line.GetCommandLineString().empty()); 24 cmd_line.GetSwitches(); 29 EXPECT_TRUE(cmd_line.HasSwitch("foo")); 30 EXPECT_TRUE(cmd_line.HasSwitch("bar")); 37 CommandLine cmd_line = CommandLine::FromString( local 44 EXPECT_FALSE(cmd_line.GetCommandLineString().empty()); 47 cmd_line.GetSwitches(); 52 EXPECT_TRUE(cmd_line.HasSwitch("foo")); 53 EXPECT_TRUE(cmd_line.HasSwitch("bar")) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
startup_helper.h | 28 // Handle --pack-extension flag from the |cmd_line| by packing the specified 30 bool PackExtension(const CommandLine& cmd_line); 36 bool ValidateCrx(const CommandLine& cmd_line, std::string* error); 38 // Handle --uninstall-extension flag from the |cmd_line| by uninstalling the 41 bool UninstallExtension(const CommandLine& cmd_line, Profile* profile); 43 // Handle --install-from-webstore flag from |cmd_line| by downloading 46 bool InstallFromWebstore(const CommandLine& cmd_line, Profile* profile); 48 // Handle --limited-install-from-webstore flag from |cmd_line| by downloading 54 void LimitedInstallFromWebstore(const CommandLine& cmd_line, Profile* profile, 59 std::string WebStoreIdFromLimitedInstallCmdLine(const CommandLine& cmd_line); [all...] |
/external/chromium_org/chrome_frame/ |
chrome_launcher_main.cc | 17 const wchar_t* cmd_line = ::GetCommandLine(); local 19 update_launcher::GetUpdateCommandFromArguments(cmd_line)); 25 else if (chrome_launcher::SanitizeAndLaunchChrome(cmd_line))
|
/external/chromium/chrome/browser/extensions/ |
extensions_startup.cc | 50 bool ExtensionsStartupUtil::PackExtension(const CommandLine& cmd_line) { 51 if (!cmd_line.HasSwitch(switches::kPackExtension)) 55 FilePath src_dir = cmd_line.GetSwitchValuePath(switches::kPackExtension); 57 if (cmd_line.HasSwitch(switches::kPackExtensionKey)) { 58 private_key_path = cmd_line.GetSwitchValuePath(switches::kPackExtensionKey); 69 bool ExtensionsStartupUtil::UninstallExtension(const CommandLine& cmd_line, 73 if (!cmd_line.HasSwitch(switches::kUninstallExtension)) 80 std::string extension_id = cmd_line.GetSwitchValueASCII(
|
extensions_startup.h | 25 // Handle --pack-extension flag from the |cmd_line| by packing the specified 27 bool PackExtension(const CommandLine& cmd_line); 29 // Handle --uninstall-extension flag from the |cmd_line| by uninstalling the 32 bool UninstallExtension(const CommandLine& cmd_line, Profile* profile);
|
/external/chromium_org/chrome/installer/test/ |
alternate_version_generator_main.cc | 61 void DumpUsage(const CommandLine& cmd_line, 66 fwprintf(stderr, L"%s: %s", cmd_line.GetProgram().value().c_str(), 91 cmd_line.GetProgram().value().c_str()); 96 bool GetMiniInstallerPath(const CommandLine& cmd_line, 99 base::FilePath result = cmd_line.GetSwitchValuePath(switches::kMiniInstaller); 109 void GetOutPath(const CommandLine& cmd_line, base::FilePath* out) { 111 base::FilePath result = cmd_line.GetSwitchValuePath(switches::kOut); 119 upgrade_test::Direction GetDirection(const CommandLine& cmd_line) { 120 return cmd_line.HasSwitch(switches::kPrevious) ? 130 CommandLine* cmd_line = CommandLine::ForCurrentProcess() local [all...] |
/external/chromium_org/chrome/tools/safe_browsing/ |
sb_sigutil.cc | 30 CommandLine* cmd_line = CommandLine::ForCurrentProcess(); local 31 if (!cmd_line->HasSwitch(kExecutable)) { 35 if (!cmd_line->HasSwitch(kOutputFile)) { 43 sig_util->CheckSignature(cmd_line->GetSwitchValuePath(kExecutable), 48 cmd_line->GetSwitchValuePath(kOutputFile),
|
/external/chromium_org/win8/delegate_execute/ |
delegate_execute_operation.cc | 22 bool DelegateExecuteOperation::Init(const CommandLine* cmd_line) { 24 cmd_line->GetSwitchValuePath(switches::kRelaunchShortcut)); 30 mutex_ = cmd_line->GetSwitchValueNative(switches::kWaitForMutex); 36 if (cmd_line->HasSwitch(switches::kForceDesktop)) 38 else if (cmd_line->HasSwitch(switches::kForceImmersive))
|
delegate_execute_util.cc | 41 CommandLine cmd_line(CommandLine::NO_PROGRAM); 43 cmd_line.AppendSwitch(a_switch); 45 string16 command_string(cmd_line.GetCommandLineString());
|
/external/chromium_org/sandbox/win/src/ |
handle_policy_test.cc | 57 base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", local 59 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); 65 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())); 79 base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", local 81 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); 87 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())); 95 base::string16 cmd_line = base::StringPrintf(L"Handle_DuplicateEvent %d", local 97 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); 103 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(cmd_line.c_str())); 110 EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(cmd_line.c_str())) [all...] |
/external/chromium/chrome/browser/nacl_host/ |
nacl_broker_host_win.cc | 36 CommandLine* cmd_line = new CommandLine(nacl_path); local 37 nacl::CopyNaClCommandLineArguments(cmd_line); 39 cmd_line->AppendSwitchASCII(switches::kProcessType, 42 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id()); 44 BrowserChildProcessHost::Launch(FilePath(), cmd_line); local
|
/external/chromium_org/net/test/ |
python_utils_unittest.cc | 48 CommandLine cmd_line(CommandLine::NO_PROGRAM); 49 EXPECT_TRUE(GetPythonCommand(&cmd_line)); 53 cmd_line.AppendArg("-c"); 56 cmd_line.AppendArg(python_cmd); 58 EXPECT_TRUE(base::GetAppOutput(cmd_line, &output));
|
/external/chromium_org/components/nacl/browser/ |
nacl_broker_host_win.cc | 61 CommandLine* cmd_line = new CommandLine(nacl_path); 62 CopyNaClCommandLineArguments(cmd_line); 64 cmd_line->AppendSwitchASCII(switches::kProcessType, 66 cmd_line->AppendSwitchASCII(switches::kProcessChannelID, channel_id); 68 cmd_line->AppendSwitch(switches::kNoErrorDialogs); 70 process_->Launch(new NaClBrokerSandboxedProcessLauncherDelegate, cmd_line);
|