/external/chromium_org/chrome/renderer/extensions/ |
H A D | renderer_permissions_policy_delegate.cc | 7 #include "base/command_line.h" 42 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 43 if (command_line->HasSwitch(::switches::kSigninProcess)) {
|
/external/chromium_org/chromecast/shell/browser/devtools/ |
H A D | remote_debugging_server.cc | 9 #include "base/command_line.h" 74 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 76 if (command_line->HasSwitch(switches::kRemoteDebuggingSocketName)) { 77 socket_name = command_line->GetSwitchValueASCII(
|
/external/chromium_org/components/autofill/content/browser/wallet/ |
H A D | wallet_service_url_unittest.cc | 5 #include "base/command_line.h" 85 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 86 command_line->AppendSwitch(::switches::kReduceSecurityForTesting); 89 command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "0"); 94 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 95 command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1"); 100 command_line->AppendSwitchASCII(switches::kWalletServiceUrl, 111 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 112 command_line->AppendSwitchASCII(switches::kWalletServiceUseSandbox, "1");
|
/external/chromium_org/components/autofill/core/common/ |
H A D | password_generation_util.cc | 7 #include "base/command_line.h" 51 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 52 if (command_line->HasSwitch(switches::kDisablePasswordGeneration)) 55 if (command_line->HasSwitch(switches::kEnablePasswordGeneration))
|
/external/chromium_org/components/nacl/loader/ |
H A D | nacl_helper_win_64.cc | 5 #include "base/command_line.h" 52 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 54 command_line.GetSwitchValueASCII(switches::kProcessType); 60 content::SetupCRT(command_line); 62 if (command_line.HasSwitch(switches::kEnableLogging)) 70 content::MainFunctionParams main_params(command_line);
|
/external/chromium_org/components/translate/core/common/ |
H A D | translate_util.cc | 8 #include "base/command_line.h" 117 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 118 if (command_line->HasSwitch(switches::kTranslateSecurityOrigin)) { 120 command_line->GetSwitchValueASCII(switches::kTranslateSecurityOrigin);
|
/external/chromium_org/content/app/ |
H A D | startup_helper_win.cc | 11 #include "base/command_line.h" 59 void SetupCRT(const base::CommandLine& command_line) { argument 64 if (!command_line.HasSwitch(switches::kDisableBreakpad)) {
|
/external/chromium_org/content/browser/compositor/ |
H A D | image_transport_factory.cc | 7 #include "base/command_line.h" 40 const base::CommandLine* command_line = local 42 if (command_line->HasSwitch(switches::kEnablePixelOutputInTests))
|
/external/chromium_org/content/ppapi_plugin/ |
H A D | ppapi_plugin_main.cc | 6 #include "base/command_line.h" 66 const CommandLine& command_line = parameters.command_line; local 75 if (command_line.HasSwitch(switches::kPpapiStartupDialog)) { 85 if (command_line.HasSwitch(switches::kLang)) { 86 std::string locale = command_line.GetSwitchValueASCII(switches::kLang); 135 new PpapiThread(parameters.command_line, false)); // Not a broker.
|
/external/chromium_org/content/public/test/ |
H A D | content_browser_test.cc | 7 #include "base/command_line.h" 64 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 65 command_line->AppendSwitch(switches::kContentBrowserTest); 67 SetUpCommandLine(command_line); 72 if (command_line->HasSwitch(switches::kSingleProcess)) { 89 command_line->AppendSwitchPath(switches::kBrowserSubprocessPath,
|
/external/chromium_org/content/renderer/ |
H A D | render_process_impl.cc | 16 #include "base/command_line.h" 52 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 53 if (command_line.HasSwitch(switches::kJavaScriptFlags)) { 55 command_line.GetSwitchValueASCII(switches::kJavaScriptFlags));
|
/external/chromium_org/content/shell/browser/ |
H A D | shell_net_log.cc | 9 #include "base/command_line.h" 26 dict->SetString("command_line", 37 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local 39 if (command_line->HasSwitch(switches::kLogNetLog)) { 41 command_line->GetSwitchValuePath(switches::kLogNetLog);
|
/external/chromium_org/content/shell/common/ |
H A D | shell_content_client.cc | 7 #include "base/command_line.h" 23 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 24 if (command_line->HasSwitch(switches::kUseMobileUserAgent))
|
H A D | webkit_test_helpers.cc | 7 #include "base/command_line.h" 58 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 96 command_line.HasSwitch(switches::kEnableAccelerated2DCanvas); 114 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 115 if (command_line.HasSwitch(switches::kRegisterFontFiles)) { 117 command_line.GetSwitchValueASCII(switches::kRegisterFontFiles),
|
/external/chromium_org/extensions/shell/browser/ |
H A D | default_shell_browser_main_delegate.cc | 7 #include "base/command_line.h" 24 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 25 if (command_line->HasSwitch(switches::kAppShellAppPath)) { 27 command_line->GetSwitchValueNative(switches::kAppShellAppPath));
|
/external/chromium_org/gpu/config/ |
H A D | gpu_driver_bug_list.cc | 58 std::set<int>* workarounds, const CommandLine& command_line) { 61 if (!command_line.HasSwitch(kFeatureList[i].name)) 57 AppendWorkaroundsFromCommandLine( std::set<int>* workarounds, const CommandLine& command_line) argument
|
/external/chromium_org/mojo/embedder/ |
H A D | platform_channel_pair_posix.cc | 12 #include "base/command_line.h" 67 const base::CommandLine& command_line) { 69 command_line.GetSwitchValueASCII(kMojoPlatformChannelHandleSwitch); 82 base::CommandLine* command_line, 84 DCHECK(command_line); 104 LOG_IF(WARNING, command_line->HasSwitch(kMojoPlatformChannelHandleSwitch)) 107 << command_line->GetSwitchValueASCII(kMojoPlatformChannelHandleSwitch); 110 command_line->AppendSwitchASCII(kMojoPlatformChannelHandleSwitch, 66 PassClientHandleFromParentProcess( const base::CommandLine& command_line) argument 81 PrepareToPassClientHandleToChildProcess( base::CommandLine* command_line, base::FileHandleMappingVector* handle_passing_info) const argument
|
/external/chromium_org/net/spdy/fuzzing/ |
H A D | hpack_example_generator.cc | 6 #include "base/command_line.h" 35 const base::CommandLine& command_line = local 38 if (!command_line.HasSwitch(kFileToWrite) || 39 !command_line.HasSwitch(kExampleCount)) { 45 string file_to_write = command_line.GetSwitchValueASCII(kFileToWrite); 48 base::StringToInt(command_line.GetSwitchValueASCII(kExampleCount),
|
H A D | hpack_fuzz_mutator.cc | 5 #include "base/command_line.h" 33 const base::CommandLine& command_line = local 36 if (!command_line.HasSwitch(kFileToParse) || 37 !command_line.HasSwitch(kFileToWrite) || 38 !command_line.HasSwitch(kFlipsPerThousand)) { 45 string file_to_parse = command_line.GetSwitchValueASCII(kFileToParse); 46 string file_to_write = command_line.GetSwitchValueASCII(kFileToWrite); 49 CHECK(base::StringToInt(command_line.GetSwitchValueASCII(kFlipsPerThousand),
|
H A D | hpack_fuzz_wrapper.cc | 6 #include "base/command_line.h" 27 const base::CommandLine& command_line = local 30 if (!command_line.HasSwitch(kFileToParse)) { 35 string file_to_parse = command_line.GetSwitchValueASCII(kFileToParse);
|
/external/chromium_org/net/tools/testserver/ |
H A D | run_testserver.cc | 8 #include "base/command_line.h" 29 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 41 if (command_line->GetSwitches().empty() || 42 command_line->HasSwitch("help")) { 48 if (command_line->HasSwitch("http")) { 50 } else if (command_line->HasSwitch("https")) { 52 } else if (command_line->HasSwitch("ws")) { 54 } else if (command_line->HasSwitch("wss")) { 56 } else if (command_line->HasSwitch("ftp")) { 61 if (command_line [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | ppp_messaging_proxy_perftest.cc | 5 #include "base/command_line.h" 59 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 60 if (command_line) { 61 if (command_line->HasSwitch("seed")) { 62 base::StringToInt(command_line->GetSwitchValueASCII("seed"), 65 if (command_line->HasSwitch("string_count")) { 66 base::StringToInt(command_line->GetSwitchValueASCII("string_count"), 69 if (command_line->HasSwitch("max_string_size")) { 70 base::StringToInt(command_line->GetSwitchValueASCII("max_string_size"),
|
/external/chromium_org/remoting/host/ |
H A D | desktop_process_main.cc | 10 #include "base/command_line.h" 26 const base::CommandLine* command_line = local 29 command_line->GetSwitchValueASCII(kDaemonPipeSwitchName);
|
/external/chromium_org/sandbox/win/wow_helper/ |
H A D | wow_helper.cc | 63 int wWinMain(HINSTANCE, HINSTANCE, wchar_t* command_line, int) { argument 65 if (!command_line) 69 DWORD process_id = wcstoul(command_line, &next, 0);
|
/external/chromium_org/testing/android/ |
H A D | native_test_util.cc | 14 void ParseArgsFromString(const std::string& command_line, argument 16 base::StringTokenizer tokenizer(command_line, base::kWhitespaceASCII); 32 base::FilePath command_line(path); 34 if (base::ReadFileToString(command_line, &command_line_string)) {
|