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