/external/chromium_org/chrome/common/ |
H A D | logging_chrome.cc | 33 #include "base/command_line.h" 120 LoggingDestination DetermineLogMode(const CommandLine& command_line) { argument 132 if (command_line.HasSwitch(kInvertLoggingSwitch)) 139 if (command_line.GetSwitchValueASCII(switches::kEnableLogging) == "stderr") 190 base::FilePath GetSessionLogDir(const CommandLine& command_line) { argument 197 } else if (command_line.HasSwitch(chromeos::switches::kLoginProfile)) { 201 command_line.GetSwitchValueASCII(chromeos::switches::kLoginProfile); 216 base::FilePath GetSessionLogFile(const CommandLine& command_line) { argument 217 return GetSessionLogDir(command_line).Append(GetLogFileName().BaseName()); 220 void RedirectChromeLogging(const CommandLine& command_line) { argument 255 InitChromeLogging(const CommandLine& command_line, OldFileDeletionState delete_old_log_file) argument [all...] |
/external/chromium_org/chrome/renderer/ |
H A D | chrome_render_process_observer.cc | 12 #include "base/command_line.h" 258 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 264 if (command_line.HasSwitch(switches::kEnableShowModalDialog)) 267 if (command_line.HasSwitch(switches::kJavaScriptHarmony)) { 295 if (!command_line.HasSwitch(switches::kSingleProcess))
|
/external/chromium_org/chrome/renderer/spellchecker/ |
H A D | spellcheck_provider.cc | 7 #include "base/command_line.h" 181 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 182 if (command_line.HasSwitch(switches::kEnableSpellingAutoCorrect)) {
|
/external/chromium_org/chrome/test/base/ |
H A D | in_process_browser_test.cc | 10 #include "base/command_line.h" 157 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 163 command_line->AppendSwitch(switches::kDisableOfflineAutoReload); 166 SetUpCommandLine(command_line); 168 PrepareTestCommandLine(command_line); 181 base::FilePath log_dir = logging::GetSessionLogFile(*command_line).DirName(); 220 void InProcessBrowserTest::PrepareTestCommandLine(CommandLine* command_line) { argument 222 test_launcher_utils::PrepareBrowserCommandLineForTests(command_line); 225 command_line->AppendSwitchASCII(switches::kTestType, kBrowserTestType); 228 if (command_line 263 CommandLine* command_line = CommandLine::ForCurrentProcess(); local [all...] |
/external/chromium_org/chrome/test/nacl/ |
H A D | nacl_browsertest_util.cc | 8 #include "base/command_line.h" 197 void NaClBrowserTestBase::SetUpCommandLine(base::CommandLine* command_line) { argument 198 command_line->AppendSwitch(switches::kEnableNaCl); 292 base::CommandLine* command_line) { 293 NaClBrowserTestBase::SetUpCommandLine(command_line); 294 command_line->AppendSwitch(switches::kEnableNaClNonSfiMode); 311 base::CommandLine* command_line) { 312 NaClBrowserTestBase::SetUpCommandLine(command_line); 313 command_line->AppendSwitch(switches::kEnableNaClNonSfiMode); 317 CommandLine* command_line) { 291 SetUpCommandLine( base::CommandLine* command_line) argument 310 SetUpCommandLine( base::CommandLine* command_line) argument 316 SetUpCommandLine( CommandLine* command_line) argument 334 SetUpCommandLine( CommandLine* command_line) argument [all...] |
/external/chromium_org/chrome/test/ppapi/ |
H A D | ppapi_test.cc | 7 #include "base/command_line.h" 42 void AddPrivateSwitches(base::CommandLine* command_line) { argument 44 command_line->AppendSwitch(switches::kUnlimitedStorage); 45 command_line->AppendSwitchASCII(switches::kAllowNaClFileHandleAPI, 134 void PPAPITestBase::SetUpCommandLine(base::CommandLine* command_line) { argument 136 command_line->AppendSwitch(switches::kEnableFileCookies); 140 command_line->AppendSwitch(switches::kEnablePepperTesting); 143 command_line->AppendSwitch(switches::kDisableSmoothScrolling); 285 void PPAPITest::SetUpCommandLine(base::CommandLine* command_line) { argument 286 PPAPITestBase::SetUpCommandLine(command_line); 317 SetUpCommandLine(base::CommandLine* command_line) argument 326 SetUpCommandLine(base::CommandLine* command_line) argument 332 SetUpCommandLine( base::CommandLine* command_line) argument 338 SetUpCommandLine(base::CommandLine* command_line) argument 398 SetUpCommandLine( base::CommandLine* command_line) argument 411 SetUpCommandLine( base::CommandLine* command_line) argument 424 SetUpCommandLine( base::CommandLine* command_line) argument 430 SetUpCommandLine( base::CommandLine* command_line) argument 445 SetUpCommandLine( base::CommandLine* command_line) argument 451 SetUpCommandLine( base::CommandLine* command_line) argument [all...] |
/external/chromium_org/chrome/utility/ |
H A D | chrome_content_utility_client.cc | 7 #include "base/command_line.h" 114 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 115 if (command_line->HasSwitch(switches::kUtilityProcessRunningElevated)) {
|
/external/chromium_org/chrome/utility/extensions/ |
H A D | extensions_handler.cc | 7 #include "base/command_line.h" 81 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 82 std::string lang = command_line->GetSwitchValueASCII(switches::kLang);
|
/external/chromium_org/chrome_elf/ |
H A D | chrome_elf_util.cc | 205 wchar_t* command_line = GetCommandLine(); local 206 bool has_process_type_flag = command_line && wcsstr(command_line, L"--type");
|
/external/chromium_org/chromecast/shell/browser/ |
H A D | cast_content_browser_client.cc | 7 #include "base/command_line.h" 85 base::CommandLine* command_line, 89 command_line->GetSwitchValueNative(switches::kProcessType); 162 const base::CommandLine& command_line, 84 AppendExtraCommandLineSwitches( base::CommandLine* command_line, int child_process_id) argument 161 GetAdditionalMappedFilesForChildProcess( const base::CommandLine& command_line, int child_process_id, std::vector<content::FileDescriptorInfo>* mappings) argument
|
/external/chromium_org/chromeos/dbus/ |
H A D | fake_session_manager_client.cc | 47 const std::string& command_line) { 46 RestartJob(int pid, const std::string& command_line) argument
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
H A D | data_reduction_proxy_auth_request_handler.cc | 8 #include "base/command_line.h" 41 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 42 return command_line.HasSwitch( 207 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 209 command_line.GetSwitchValueASCII(switches::kDataReductionProxyKey);
|
/external/chromium_org/components/policy/core/browser/ |
H A D | browser_policy_connector.cc | 10 #include "base/command_line.h" 237 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 238 if (command_line->HasSwitch(switches::kDeviceManagementUrl)) 239 return command_line->GetSwitchValueASCII(switches::kDeviceManagementUrl);
|
/external/chromium_org/content/browser/ |
H A D | site_instance_impl.cc | 7 #include "base/command_line.h" 344 const base::CommandLine& command_line = local 346 if (command_line.HasSwitch(switches::kEnableStrictSiteIsolation) || 347 command_line.HasSwitch(switches::kSitePerProcess)) {
|
H A D | site_instance_impl_unittest.cc | 5 #include "base/command_line.h" 574 const base::CommandLine& command_line = local 576 if (command_line.HasSwitch(switches::kSitePerProcess) || 577 command_line.HasSwitch(switches::kEnableStrictSiteIsolation))
|
H A D | site_per_process_browsertest.cc | 7 #include "base/command_line.h" 188 void SitePerProcessBrowserTest::SetUpCommandLine(CommandLine* command_line) { argument 189 command_line->AppendSwitch(switches::kSitePerProcess);
|
/external/chromium_org/content/browser/tracing/ |
H A D | tracing_ui.cc | 14 #include "base/command_line.h" 292 const base::CommandLine& command_line = local 295 if (command_line.HasSwitch(switches::kTraceUploadURL)) { 297 command_line.GetSwitchValueASCII(switches::kTraceUploadURL);
|
/external/chromium_org/content/common/gpu/ |
H A D | texture_image_transport_surface.cc | 10 #include "base/command_line.h" 76 const base::CommandLine* command_line = local 78 if (command_line->HasSwitch(switches::kUIPrioritizeInGpuProcess))
|
/external/chromium_org/content/common/sandbox_linux/ |
H A D | sandbox_linux.cc | 17 #include "base/command_line.h" 55 const base::CommandLine& command_line = local 58 command_line.GetSwitchValueASCII(switches::kProcessType); 264 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 266 command_line->GetSwitchValueASCII(switches::kProcessType); 296 command_line->HasSwitch(switches::kGpuSandboxFailuresFatal)) { 298 command_line->GetSwitchValueASCII(switches::kGpuSandboxFailuresFatal); 339 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local 340 if (command_line->HasSwitch(switches::kNoSandbox)) {
|
/external/chromium_org/content/gpu/ |
H A D | gpu_main.cc | 72 const CommandLine& command_line); 73 bool WarmUpSandbox(const CommandLine& command_line); 111 const CommandLine& command_line = parameters.command_line; local 112 if (command_line.HasSwitch(switches::kGpuStartupDialog)) { 131 if (command_line.HasSwitch(switches::kSupportsDualGpus)) { 132 std::string types = command_line.GetSwitchValueASCII( 158 if (command_line.HasSwitch(switches::kUseGL) && 159 command_line.GetSwitchValueASCII(switches::kUseGL) == 187 !command_line 374 GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, const CommandLine& command_line) argument 394 WarmUpSandbox(const CommandLine& command_line) argument [all...] |
/external/chromium_org/content/plugin/ |
H A D | plugin_channel.cc | 8 #include "base/command_line.h" 248 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local 249 log_messages_ = command_line->HasSwitch(switches::kLogPluginMessages); 320 CommandLine* command_line = CommandLine::ForCurrentProcess(); local 321 base::FilePath path = command_line->GetSwitchValuePath(switches::kPluginPath);
|
/external/chromium_org/content/public/test/ |
H A D | test_launcher.cc | 11 #include "base/command_line.h" 441 const CommandLine* command_line = CommandLine::ForCurrentProcess(); local 443 if (command_line->HasSwitch(kHelpFlag)) { 463 if (command_line->HasSwitch(kSingleProcessTestsFlag) || 464 (command_line->HasSwitch(switches::kSingleProcess) && 465 command_line->HasSwitch(base::kGTestFilterFlag)) || 466 command_line->HasSwitch(base::kGTestListTestsFlag) || 467 command_line->HasSwitch(base::kGTestHelpFlag)) { 473 if (command_line->HasSwitch(switches::kProcessType) || 474 command_line [all...] |
/external/chromium_org/content/shell/browser/ |
H A D | shell_devtools_delegate.cc | 10 #include "base/command_line.h" 88 const CommandLine& command_line = *CommandLine::ForCurrentProcess(); local 91 if (command_line.HasSwitch(switches::kRemoteDebuggingSocketName)) { 92 socket_name = command_line.GetSwitchValueASCII( 101 if (command_line.HasSwitch(switches::kRemoteDebuggingPort)) { 104 command_line.GetSwitchValueASCII(switches::kRemoteDebuggingPort);
|
/external/chromium_org/extensions/browser/ |
H A D | test_extensions_browser_client.cc | 37 const base::CommandLine& command_line, 36 AreExtensionsDisabled( const base::CommandLine& command_line, BrowserContext* context) argument
|
/external/chromium_org/extensions/shell/browser/ |
H A D | shell_content_browser_client.cc | 7 #include "base/command_line.h" 188 CommandLine* command_line, 191 command_line->GetSwitchValueASCII(::switches::kProcessType); 193 AppendRendererSwitches(command_line); 222 CommandLine* command_line) { 226 command_line->AppendSwitch(switches::kExtensionProcess); 234 command_line->CopySwitchesFrom(*CommandLine::ForCurrentProcess(), 187 AppendExtraCommandLineSwitches( CommandLine* command_line, int child_process_id) argument 221 AppendRendererSwitches( CommandLine* command_line) argument
|