Chromium Code Reviews| 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 663 // Extra command line options for launching the GPU process (normally used | 663 // Extra command line options for launching the GPU process (normally used |
| 664 // for debugging). Use like renderer-cmd-prefix. | 664 // for debugging). Use like renderer-cmd-prefix. |
| 665 const char kGpuLauncher[] = "gpu-launcher"; | 665 const char kGpuLauncher[] = "gpu-launcher"; |
| 666 | 666 |
| 667 // Makes this process a GPU sub-process. | 667 // Makes this process a GPU sub-process. |
| 668 const char kGpuProcess[] = "gpu-process"; | 668 const char kGpuProcess[] = "gpu-process"; |
| 669 | 669 |
| 670 // Allow shmat system call in GPU sandbox. | 670 // Allow shmat system call in GPU sandbox. |
| 671 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; | 671 const char kGpuSandboxAllowSysVShm[] = "gpu-sandbox-allow-sysv-shm"; |
| 672 | 672 |
| 673 // Allow GPU sandbox to start later | |
| 674 const char kGpuSandboxStartLater[] = "gpu-sandbox-start-later"; | |
|
Jorge Lucangeli Obes
2014/03/19 16:44:05
We should call this one something like "gpu-sandbo
jln (very slow on Chromium)
2014/03/20 00:21:01
It would be nice to make it clear that the "normal
| |
| 675 | |
| 673 // Causes the GPU process to display a dialog on launch. | 676 // Causes the GPU process to display a dialog on launch. |
| 674 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 677 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
| 675 | 678 |
| 676 // Passes gpu vendor_id from browser process to GPU process. | 679 // Passes gpu vendor_id from browser process to GPU process. |
| 677 const char kGpuVendorID[] = "gpu-vendor-id"; | 680 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 678 | 681 |
| 679 // These mappings only apply to the host resolver. | 682 // These mappings only apply to the host resolver. |
| 680 const char kHostResolverRules[] = "host-resolver-rules"; | 683 const char kHostResolverRules[] = "host-resolver-rules"; |
| 681 | 684 |
| 682 // Ignores certificate-related errors. | 685 // Ignores certificate-related errors. |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1063 #endif | 1066 #endif |
| 1064 | 1067 |
| 1065 #if defined(OS_POSIX) | 1068 #if defined(OS_POSIX) |
| 1066 // Causes the child processes to cleanly exit via calling exit(). | 1069 // Causes the child processes to cleanly exit via calling exit(). |
| 1067 const char kChildCleanExit[] = "child-clean-exit"; | 1070 const char kChildCleanExit[] = "child-clean-exit"; |
| 1068 #endif | 1071 #endif |
| 1069 | 1072 |
| 1070 // Don't dump stuff here, follow the same order as the header. | 1073 // Don't dump stuff here, follow the same order as the header. |
| 1071 | 1074 |
| 1072 } // namespace switches | 1075 } // namespace switches |
| OLD | NEW |