Searched defs:command_line (Results 76 - 100 of 474) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/renderer/extensions/
H A Drenderer_permissions_policy_delegate.cc7 #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 Dremote_debugging_server.cc9 #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 Dwallet_service_url_unittest.cc5 #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 Dpassword_generation_util.cc7 #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 Dnacl_helper_win_64.cc5 #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 Dtranslate_util.cc8 #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 Dstartup_helper_win.cc11 #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 Dimage_transport_factory.cc7 #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 Dppapi_plugin_main.cc6 #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 Dcontent_browser_test.cc7 #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 Drender_process_impl.cc16 #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 Dshell_net_log.cc9 #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 Dshell_content_client.cc7 #include "base/command_line.h"
23 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
24 if (command_line->HasSwitch(switches::kUseMobileUserAgent))
H A Dwebkit_test_helpers.cc7 #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 Ddefault_shell_browser_main_delegate.cc7 #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 Dgpu_driver_bug_list.cc58 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 Dplatform_channel_pair_posix.cc12 #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 Dhpack_example_generator.cc6 #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 Dhpack_fuzz_mutator.cc5 #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 Dhpack_fuzz_wrapper.cc6 #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 Drun_testserver.cc8 #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 Dppp_messaging_proxy_perftest.cc5 #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 Ddesktop_process_main.cc10 #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 Dwow_helper.cc63 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 Dnative_test_util.cc14 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)) {

Completed in 352 milliseconds

1234567891011>>