Searched defs:command_line (Results 126 - 150 of 444) sorted by relevance

1234567891011>>

/external/chromium_org/ash/display/
H A Ddisplay_layout_store.cc9 #include "base/command_line.h"
16 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
17 if (command_line->HasSwitch(switches::kAshSecondaryDisplayLayout)) {
18 std::string value = command_line->GetSwitchValueASCII(
40 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
41 if (!command_line->HasSwitch(switches::kAshSecondaryDisplayLayout))
/external/chromium_org/athena/main/
H A Dathena_main.cc19 #include "base/command_line.h"
41 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); variable
43 command_line->HasSwitch(kAppSwitch) ?
44 command_line->GetSwitchValueNative(kAppSwitch) :
/external/chromium_org/base/test/
H A Dtest_process_killer_win.cc140 base::string16 command_line; local
141 if (GetCommandLineForProcess(entry.pid(), &command_line)) {
143 std::search(command_line.begin(),
144 command_line.end(),
148 found = (it != command_line.end());
/external/chromium_org/chrome/browser/bookmarks/
H A Denhanced_bookmarks_features.cc7 #include "base/command_line.h"
168 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
169 if (command_line->HasSwitch(switches::kManualEnhancedBookmarks) ||
170 command_line->HasSwitch(switches::kManualEnhancedBookmarksOptout)) {
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_mode_idle_app_name_notification.cc9 #include "base/command_line.h"
77 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
79 command_line->GetSwitchValueASCII(::switches::kAppId);
/external/chromium_org/chrome/browser/chromeos/first_run/
H A Dfirst_run.cc5 #include "base/command_line.h"
65 CommandLine* command_line = CommandLine::ForCurrentProcess(); variable
66 bool launched_in_test = command_line->HasSwitch(::switches::kTestType);
68 command_line->HasSwitch(switches::kOobeSkipPostLogin);
70 bool first_run_forced = command_line->HasSwitch(switches::kForceFirstRunUI);
/external/chromium_org/chrome/browser/chromeos/login/
H A Dlogin_manager_test.cc38 void LoginManagerTest::SetUpCommandLine(CommandLine* command_line) { argument
39 command_line->AppendSwitch(chromeos::switches::kLoginManager);
40 command_line->AppendSwitch(chromeos::switches::kForceLoginManagerInTests);
/external/chromium_org/chrome/browser/extensions/api/debugger/
H A Ddebugger_apitest.cc7 #include "base/command_line.h"
31 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
41 base::CommandLine* command_line() const { return command_line_; } function in class:extensions::DebuggerApiTest
52 void DebuggerApiTest::SetUpCommandLine(base::CommandLine* command_line) { argument
53 ExtensionApiTest::SetUpCommandLine(command_line);
54 // We need to hold onto |command_line| in order to modify it during the test.
55 command_line_ = command_line;
141 command_line()->AppendSwitch(switches::kExtensionsOnChromeURLs);
/external/chromium_org/chrome/browser/extensions/api/gcm/
H A Dgcm_apitest.cc61 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
74 void GcmApiTest::SetUpCommandLine(CommandLine* command_line) { argument
79 command_line->AppendSwitch(switches::kDisableSync);
81 ExtensionApiTest::SetUpCommandLine(command_line);
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dpush_messaging_canary_test.cc43 CommandLine* command_line = CommandLine::ForCurrentProcess(); variable
45 ASSERT_TRUE(command_line->HasSwitch(kPasswordFileForTest));
47 command_line->GetSwitchValuePath(kPasswordFileForTest);
59 command_line->GetSwitchValuePath(kOverrideUserDataDir);
61 command_line->AppendSwitchPath(switches::kUserDataDir,
/external/chromium_org/chrome/browser/extensions/signin/
H A Dgaia_auth_extension_loader.cc7 #include "base/command_line.h"
47 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local
48 if (command_line->HasSwitch(switches::kAuthExtensionPath)) {
50 command_line->GetSwitchValuePath(switches::kAuthExtensionPath);
60 } else if (!command_line->HasSwitch(chromeos::switches::kDisableSamlSignin) ||
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_installer_test.cc5 #include "base/command_line.h"
54 void WebstoreInstallerTest::SetUpCommandLine(CommandLine* command_line) { argument
63 command_line->AppendSwitchASCII(
72 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
/external/chromium_org/chrome/browser/media/
H A Dwv_test_license_server_config.cc7 #include "base/command_line.h"
40 CommandLine* command_line) {
41 if (!GetPythonCommand(command_line)) {
90 command_line->AppendArgPath(license_server_path);
91 command_line->AppendArg("-k");
92 command_line->AppendArgPath(config_path.Append(kKeysFileName));
93 command_line->AppendArg("-o");
94 command_line->AppendArgPath(config_path.Append(kPoliciesFileName));
95 command_line->AppendArg("-r");
96 command_line
39 GetServerCommandLine( CommandLine* command_line) argument
[all...]
/external/chromium_org/chrome/browser/net/
H A Dcookie_store_util.cc9 #include "base/command_line.h"
103 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
106 return command_line.HasSwitch(switches::kRecordMode) &&
111 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
113 command_line.HasSwitch(switches::kPlaybackMode);
/external/chromium_org/chrome/browser/prefs/
H A Dcommand_line_pref_store.cc75 CommandLinePrefStore::CommandLinePrefStore(const CommandLine* command_line) argument
76 : command_line_(command_line) {
H A Dincognito_mode_prefs.cc7 #include "base/command_line.h"
75 const CommandLine& command_line,
79 (command_line.HasSwitch(switches::kIncognito) ||
74 ShouldLaunchIncognito( const CommandLine& command_line, const PrefService* prefs) argument
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service_unittest.cc5 #include "base/command_line.h"
25 TestingAppListServiceImpl(const CommandLine& command_line, argument
28 : AppListServiceImpl(command_line, local_state, profile_store.Pass()),
82 void SetupWithCommandLine(const CommandLine& command_line) { argument
99 command_line,
170 CommandLine command_line(CommandLine::NO_PROGRAM);
171 command_line.AppendSwitch(switches::kEnableAppList);
172 SetupWithCommandLine(command_line);
178 CommandLine command_line(CommandLine::NO_PROGRAM);
179 command_line
[all...]
/external/chromium_org/chrome/browser/ui/startup/
H A Dautolaunch_prompt_win.cc7 #include "base/command_line.h"
155 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
156 if (!command_line.HasSwitch(switches::kAutoLaunchAtStartup) &&
/external/chromium_org/chrome/common/
H A Dauto_start_linux.cc31 const std::string& command_line,
47 "Exec=" + command_line + "\n"
29 AddApplication(const std::string& autostart_filename, const std::string& application_name, const std::string& command_line, bool is_terminal_app) argument
H A Dprofiling.cc9 #include "base/command_line.h"
49 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
50 if (command_line.HasSwitch(switches::kProfilingFile))
51 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile);
55 command_line.GetSwitchValueASCII(switches::kProcessType);
72 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
74 command_line.GetSwitchValueASCII(switches::kProfilingFlush);
127 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
129 command_line.GetSwitchValueASCII(switches::kProcessType);
160 if (command_line
170 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
[all...]
/external/chromium_org/chrome/installer/mini_installer/
H A Dconfiguration.h37 const wchar_t* command_line() const { return command_line_; } function in class:mini_installer::Configuration
65 bool InitializeFromCommandLine(const wchar_t* command_line);
/external/chromium_org/chrome/installer/util/
H A Dapp_command.h28 // Constructs a new command that will execute the given |command_line|.
30 explicit AppCommand(const base::string16& command_line);
45 const base::string16& command_line() const { return command_line_; } function in class:installer::AppCommand
46 void set_command_line(const base::string16& command_line) { argument
47 command_line_ = command_line;
H A Dwmi.cc96 bool WMIProcess::Launch(const std::wstring& command_line, int* process_id) { argument
108 ScopedVariant b_command_line(command_line.c_str());
/external/chromium_org/components/cloud_devices/common/
H A Dcloud_devices_urls.cc7 #include "base/command_line.h"
43 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local
45 command_line->GetSwitchValueASCII(switches::kCloudPrintURL));
105 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local
107 command_line->GetSwitchValueASCII(switches::kCloudDevicesURL));
/external/chromium_org/components/translate/core/browser/
H A Dtranslate_script.cc8 #include "base/command_line.h"
66 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local
67 if (command_line.HasSwitch(translate::switches::kTranslateScriptURL)) {
68 translate_script_url = GURL(command_line.GetSwitchValueASCII(

Completed in 4432 milliseconds

1234567891011>>