| 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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 | 891 |
| 892 // If supplied, sets the file which startup tracing will be stored into, if | 892 // If supplied, sets the file which startup tracing will be stored into, if |
| 893 // omitted the default will be used "chrometrace.log" in the current directory. | 893 // omitted the default will be used "chrometrace.log" in the current directory. |
| 894 // Has no effect unless --trace-startup is also supplied. | 894 // Has no effect unless --trace-startup is also supplied. |
| 895 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log | 895 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log |
| 896 // As a special case, can be set to 'none' - this disables automatically saving | 896 // As a special case, can be set to 'none' - this disables automatically saving |
| 897 // the result to a file and the first manually recorded trace will then receive | 897 // the result to a file and the first manually recorded trace will then receive |
| 898 // all events since startup. | 898 // all events since startup. |
| 899 const char kTraceStartupFile[] = "trace-startup-file"; | 899 const char kTraceStartupFile[] = "trace-startup-file"; |
| 900 | 900 |
| 901 |
| 902 |
| 903 // Prioritizes the UI's command stream in the GPU process |
| 904 extern const char kUIPrioritizeInGpuProcess[] = |
| 905 "ui-prioritize-in-gpu-process"; |
| 906 |
| 901 // Overrides the preferred discardable memory implementation. | 907 // Overrides the preferred discardable memory implementation. |
| 902 const char kUseDiscardableMemory[] = "use-discardable-memory"; | 908 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
| 903 | 909 |
| 904 // Use fake device for MediaStream to replace actual camera and microphone. | 910 // Use fake device for MediaStream to replace actual camera and microphone. |
| 905 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 911 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| 906 | 912 |
| 907 // Bypass the media stream infobar by selecting the default device for media | 913 // Bypass the media stream infobar by selecting the default device for media |
| 908 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 914 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
| 909 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 915 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
| 910 | 916 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1039 #endif | 1045 #endif |
| 1040 | 1046 |
| 1041 #if defined(OS_POSIX) | 1047 #if defined(OS_POSIX) |
| 1042 // Causes the child processes to cleanly exit via calling exit(). | 1048 // Causes the child processes to cleanly exit via calling exit(). |
| 1043 const char kChildCleanExit[] = "child-clean-exit"; | 1049 const char kChildCleanExit[] = "child-clean-exit"; |
| 1044 #endif | 1050 #endif |
| 1045 | 1051 |
| 1046 // Don't dump stuff here, follow the same order as the header. | 1052 // Don't dump stuff here, follow the same order as the header. |
| 1047 | 1053 |
| 1048 } // namespace switches | 1054 } // namespace switches |
| OLD | NEW |