OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/common/content_switches.h" | 5 #include "content/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 const char kPpapiFlashArgs[] = "ppapi-flash-args"; | 353 const char kPpapiFlashArgs[] = "ppapi-flash-args"; |
354 | 354 |
355 // Use the PPAPI (Pepper) Flash found at the given path. | 355 // Use the PPAPI (Pepper) Flash found at the given path. |
356 const char kPpapiFlashPath[] = "ppapi-flash-path"; | 356 const char kPpapiFlashPath[] = "ppapi-flash-path"; |
357 | 357 |
358 // Report the given version for the PPAPI (Pepper) Flash. The version should be | 358 // Report the given version for the PPAPI (Pepper) Flash. The version should be |
359 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it | 359 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it |
360 // defaults to "10.2.999.999". | 360 // defaults to "10.2.999.999". |
361 const char kPpapiFlashVersion[] = "ppapi-flash-version"; | 361 const char kPpapiFlashVersion[] = "ppapi-flash-version"; |
362 | 362 |
363 // Runs PPAPI (Pepper) plugins out-of-process. | |
364 const char kPpapiOutOfProcess[] = "ppapi-out-of-process"; | |
365 | |
366 // Like kPluginLauncher for PPAPI plugins. | 363 // Like kPluginLauncher for PPAPI plugins. |
367 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; | 364 const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher"; |
368 | 365 |
369 // Argument to the process type that indicates a PPAPI plugin process type. | 366 // Argument to the process type that indicates a PPAPI plugin process type. |
370 const char kPpapiPluginProcess[] = "ppapi"; | 367 const char kPpapiPluginProcess[] = "ppapi"; |
371 | 368 |
372 // Causes the PPAPI sub process to display a dialog on launch. | 369 // Causes the PPAPI sub process to display a dialog on launch. |
373 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; | 370 const char kPpapiStartupDialog[] = "ppapi-startup-dialog"; |
374 | 371 |
375 // Runs a single process for each site (i.e., group of pages from the same | 372 // Runs a single process for each site (i.e., group of pages from the same |
(...skipping 14 matching lines...) Expand all Loading... |
390 // See also kPlaybackMode. | 387 // See also kPlaybackMode. |
391 const char kRecordMode[] = "record-mode"; | 388 const char kRecordMode[] = "record-mode"; |
392 | 389 |
393 // The value of this switch determines whether the process is started as a | 390 // The value of this switch determines whether the process is started as a |
394 // renderer or plugin host. If it's empty, it's the browser. | 391 // renderer or plugin host. If it's empty, it's the browser. |
395 const char kProcessType[] = "type"; | 392 const char kProcessType[] = "type"; |
396 | 393 |
397 // Causes the process to run as a profile import subprocess. | 394 // Causes the process to run as a profile import subprocess. |
398 const char kProfileImportProcess[] = "profile-import"; | 395 const char kProfileImportProcess[] = "profile-import"; |
399 | 396 |
400 // Register Pepper plugins (see pepper_plugin_registry.cc for its format). | |
401 const char kRegisterPepperPlugins[] = "register-pepper-plugins"; | |
402 | |
403 // Enable remote debug / automation shell on the specified port. | 397 // Enable remote debug / automation shell on the specified port. |
404 const char kRemoteShellPort[] = "remote-shell-port"; | 398 const char kRemoteShellPort[] = "remote-shell-port"; |
405 | 399 |
406 // Causes the renderer process to throw an assertion on launch. | 400 // Causes the renderer process to throw an assertion on launch. |
407 const char kRendererAssertTest[] = "renderer-assert-test"; | 401 const char kRendererAssertTest[] = "renderer-assert-test"; |
408 | 402 |
409 // On POSIX only: the contents of this flag are prepended to the renderer | 403 // On POSIX only: the contents of this flag are prepended to the renderer |
410 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". | 404 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". |
411 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; | 405 const char kRendererCmdPrefix[] = "renderer-cmd-prefix"; |
412 | 406 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 // instead of NSS for SSL. | 499 // instead of NSS for SSL. |
506 const char kUseSystemSSL[] = "use-system-ssl"; | 500 const char kUseSystemSSL[] = "use-system-ssl"; |
507 #endif | 501 #endif |
508 | 502 |
509 #if !defined(OFFICIAL_BUILD) | 503 #if !defined(OFFICIAL_BUILD) |
510 // Causes the renderer process to throw an assertion on launch. | 504 // Causes the renderer process to throw an assertion on launch. |
511 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 505 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
512 #endif | 506 #endif |
513 | 507 |
514 } // namespace switches | 508 } // namespace switches |
OLD | NEW |