/external/chromium_org/media/audio/linux/ |
audio_manager_linux.cc | 7 #include "base/command_line.h" 61 CommandLine command_line(CommandLine::NO_PROGRAM); 64 command_line.SetProgram(base::FilePath("gnome-volume-control")); 68 command_line.SetProgram(base::FilePath("kmix")); 71 command_line.SetProgram(base::FilePath("gnome-control-center")); 72 command_line.AppendArg("sound"); 73 command_line.AppendArg("input"); 80 base::LaunchProcess(command_line, base::LaunchOptions(), NULL);
|
/external/chromium_org/chrome/browser/ |
upgrade_detector_impl.cc | 11 #include "base/command_line.h" 139 CommandLine command_line(*CommandLine::ForCurrentProcess()); 148 if (command_line.HasSwitch(switches::kDisableBackgroundNetworking)) 150 if (command_line.HasSwitch(switches::kSimulateUpgrade)) { 154 if (command_line.HasSwitch(switches::kSimulateCriticalUpdate)) { 158 if (command_line.HasSwitch(switches::kSimulateOutdated)) { 166 std::string build_date = command_line.GetSwitchValueASCII( 249 CommandLine command_line(*CommandLine::ForCurrentProcess()); 250 command_line.AppendSwitch(switches::kProductVersion); 252 if (!base::GetAppOutput(command_line, &reply)) [all...] |
external_extension_browsertest.cc | 5 #include "base/command_line.h" 37 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 43 command_line->AppendSwitchASCII(switches::kHostRules, host_rule); 46 command_line->AppendSwitch(switches::kNoProxyServer);
|
shell_integration_win.cc | 12 #include "base/command_line.h" 91 // Gets expected app id for given Chrome (based on |command_line| and 93 string16 GetExpectedAppId(const CommandLine& command_line, 96 if (command_line.HasSwitch(switches::kUserDataDir)) 97 user_data_dir = command_line.GetSwitchValuePath(switches::kUserDataDir); 105 if (command_line.HasSwitch(switches::kProfileDirectory)) { 107 command_line.GetSwitchValuePath(switches::kProfileDirectory); 115 if (command_line.HasSwitch(switches::kApp)) { 117 GURL(command_line.GetSwitchValueASCII(switches::kApp)))); 118 } else if (command_line.HasSwitch(switches::kAppId)) [all...] |
/external/chromium_org/sync/tools/ |
sync_client.cc | 10 #include "base/command_line.h" 194 const CommandLine& command_line, 200 if (command_line.HasSwitch(kXmppHostPortSwitch)) { 203 command_line.GetSwitchValueASCII(kXmppHostPortSwitch)); 209 command_line.HasSwitch(kXmppTrySslTcpFirstSwitch); 214 command_line.HasSwitch(kXmppAllowInsecureConnectionSwitch); 243 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 245 credentials.email = command_line.GetSwitchValueASCII(kEmailSwitch); 246 credentials.sync_token = command_line.GetSwitchValueASCII(kTokenSwitch); 271 ParseNotifierOptions(command_line, context_getter) [all...] |
/system/extras/tests/sdcard/ |
plot_sdcard.py | 89 self.command_line = '' 101 self.command_line = re.search('# Command: [/\w_]+ (.*)', line).group(1) 102 self.command_line = self.command_line.replace(' --', '-') 103 self.command_line = self.command_line.replace(' -d', '') 104 self.command_line = self.command_line.replace('--test=', '') 115 self.kernel, self.duration, self.command_line, self.sched)
|
/external/chromium/chrome/browser/chromeos/login/ |
login_utils.cc | 9 #include "base/command_line.h" 159 CommandLine *command_line); 404 CommandLine command_line(browser_command_line.GetProgram()); 408 &command_line); 417 CommandLine* command_line) { 436 command_line->CopySwitchesFrom(base_command_line, 439 command_line->AppendSwitch(switches::kGuestSession); 440 command_line->AppendSwitch(switches::kIncognito); 441 command_line->AppendSwitchASCII(switches::kLoggingLevel, 444 command_line->AppendSwitchASCII(switches::kLoginUser, kGuestUserName) [all...] |
/external/chromium/chrome/browser/prerender/ |
prerender_field_trial.cc | 7 #include "base/command_line.h" 18 void ConfigurePrefetchAndPrerender(const CommandLine& command_line) { 27 if (command_line.HasSwitch(switches::kPrerender)) { 29 command_line.GetSwitchValueASCII(switches::kPrerender);
|
/external/chromium_org/apps/ |
load_and_launch_browsertest.cc | 112 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 113 PlatformAppBrowserTest::SetUpCommandLine(command_line); 117 command_line->AppendSwitchNative(apps::kLoadAndLaunchApp,
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_apitest.cc | 97 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 98 ExtensionApiTest::SetUpCommandLine(command_line); 99 command_line->AppendSwitch(switches::kDisablePluginsDiscovery);
|
/external/chromium_org/chrome/browser/extensions/api/dns/ |
dns_apitest.cc | 28 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 29 ExtensionApiTest::SetUpCommandLine(command_line); 30 command_line->AppendSwitch(
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
media_galleries_eject_apitest.cc | 63 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 64 ExtensionApiTest::SetUpCommandLine(command_line); 65 command_line->AppendSwitchASCII(switches::kWhitelistedExtensionID,
|
media_galleries_private_apitest.cc | 70 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 71 ExtensionApiTest::SetUpCommandLine(command_line); 72 command_line->AppendSwitchASCII(switches::kWhitelistedExtensionID,
|
/external/chromium_org/chrome/browser/extensions/api/permissions/ |
permissions_apitest.cc | 28 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 29 ExtensionApiTest::SetUpCommandLine(command_line); 30 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
|
/external/chromium_org/chrome/browser/media/ |
chrome_media_stream_infobar_browsertest.cc | 5 #include "base/command_line.h" 38 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 40 command_line->AppendSwitch(switches::kUseFakeDeviceForMediaStream); 41 EXPECT_FALSE(command_line->HasSwitch(switches::kUseFakeUIForMediaStream))
|
/external/chromium_org/chrome/browser/metrics/ |
chrome_browser_main_extra_parts_metrics.cc | 10 #include "base/command_line.h" 97 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 99 command_line.HasSwitch(switches::kTouchEvents) ? 100 command_line.GetSwitchValueASCII(switches::kTouchEvents) :
|
/external/chromium_org/chrome/browser/task_manager/ |
browser_process_resource_provider.cc | 7 #include "base/command_line.h" 116 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local 117 bool using_v8 = !command_line->HasSwitch(switches::kWinHttpProxyResolver); 118 if (using_v8 && command_line->HasSwitch(switches::kSingleProcess)) {
|
/external/chromium_org/chrome/browser/ui/startup/ |
autolaunch_prompt_win.cc | 7 #include "base/command_line.h" 155 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 156 if (command_line.HasSwitch(switches::kChromeFrame)) 159 if (!command_line.HasSwitch(switches::kAutoLaunchAtStartup) &&
|
/external/chromium_org/content/browser/aura/ |
browser_compositor_output_surface.cc | 8 #include "base/command_line.h" 31 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 32 if (command_line->HasSwitch(switches::kUIMaxFramesPending)) { 33 std::string string_value = command_line->GetSwitchValueASCII(
|
/external/chromium_org/content/browser/gpu/ |
gpu_data_manager_impl.h | 98 void AppendRendererCommandLine(CommandLine* command_line) const; 102 void AppendGpuCommandLine(CommandLine* command_line) const; 106 void AppendPluginCommandLine(CommandLine* command_line) const;
|
/external/chromium_org/content/renderer/ |
savable_resources_browsertest.cc | 6 #include "base/command_line.h" 21 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 22 command_line->AppendSwitch(switches::kSingleProcess); 25 command_line->AppendSwitch(switches::kDisableAcceleratedCompositing);
|
/external/chromium_org/content/shell/ |
shell_browser_main_parts.cc | 8 #include "base/command_line.h" 53 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 54 if (command_line->HasSwitch(switches::kContentBrowserTest)) 56 const CommandLine::StringVector& args = command_line->GetArgs();
|
/external/chromium_org/remoting/host/win/ |
launch_process_with_token.cc | 291 const CommandLine::StringType& command_line, 305 LPWSTR command_line; member in struct:__anon12207::CreateProcessRequest 323 (application_name.size() + command_line.size() + desktop.size() + 3); 346 request->command_line = reinterpret_cast<LPWSTR>(buffer_offset); 347 std::copy(command_line.begin(), 348 command_line.end(), 350 buffer_offset += (command_line.size() + 1) * sizeof(wchar_t); 374 const CommandLine::StringType& command_line, 385 if (!SendCreateProcessRequest(pipe, application_name, command_line, 453 const CommandLine::StringType& command_line, [all...] |
/external/chromium_org/sandbox/win/wow_helper/ |
wow_helper.cc | 100 int wWinMain(HINSTANCE, HINSTANCE, wchar_t* command_line, int) { 102 if (!command_line) 106 DWORD process_id = wcstoul(command_line, &next, 0);
|
/external/chromium_org/ui/gl/ |
gl_implementation_x11.cc | 7 #include "base/command_line.h" 59 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local 61 if (command_line->HasSwitch(switches::kTestGLLib)) 62 library = LoadLibrary(command_line->GetSwitchValueASCII(
|