| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 // Extra command line options for launching the GPU process (normally used | 638 // Extra command line options for launching the GPU process (normally used |
| 639 // for debugging). Use like renderer-cmd-prefix. | 639 // for debugging). Use like renderer-cmd-prefix. |
| 640 const char kGpuLauncher[] = "gpu-launcher"; | 640 const char kGpuLauncher[] = "gpu-launcher"; |
| 641 | 641 |
| 642 // Makes this process a GPU sub-process. | 642 // Makes this process a GPU sub-process. |
| 643 const char kGpuProcess[] = "gpu-process"; | 643 const char kGpuProcess[] = "gpu-process"; |
| 644 | 644 |
| 645 // Allow shmat system call in GPU sandbox. | 645 // Allow shmat system call in GPU sandbox. |
| 646 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; | 646 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; |
| 647 | 647 |
| 648 // Makes GPU sandbox failures nonfatal. |
| 649 const char kGpuSandboxFailuresNonfatal[] = "gpu-sandbox-failures-nonfatal"; |
| 650 |
| 648 // Causes the GPU process to display a dialog on launch. | 651 // Causes the GPU process to display a dialog on launch. |
| 649 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 652 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 650 | 653 |
| 651 // Passes gpu vendor_id from browser process to GPU process. | 654 // Passes gpu vendor_id from browser process to GPU process. |
| 652 const char kGpuVendorID[] = "gpu-vendor-id"; | 655 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 653 | 656 |
| 654 // These mappings only apply to the host resolver. | 657 // These mappings only apply to the host resolver. |
| 655 const char kHostResolverRules[] = "host-resolver-rules"; | 658 const char kHostResolverRules[] = "host-resolver-rules"; |
| 656 | 659 |
| 657 // Ignores certificate-related errors. | 660 // Ignores certificate-related errors. |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1043 #endif | 1046 #endif |
| 1044 | 1047 |
| 1045 #if defined(OS_POSIX) | 1048 #if defined(OS_POSIX) |
| 1046 // Causes the child processes to cleanly exit via calling exit(). | 1049 // Causes the child processes to cleanly exit via calling exit(). |
| 1047 const char kChildCleanExit[] = "child-clean-exit"; | 1050 const char kChildCleanExit[] = "child-clean-exit"; |
| 1048 #endif | 1051 #endif |
| 1049 | 1052 |
| 1050 // Don't dump stuff here, follow the same order as the header. | 1053 // Don't dump stuff here, follow the same order as the header. |
| 1051 | 1054 |
| 1052 } // namespace switches | 1055 } // namespace switches |
| OLD | NEW |