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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 | 855 |
856 // If supplied, sets the file which startup tracing will be stored into, if | 856 // If supplied, sets the file which startup tracing will be stored into, if |
857 // omitted the default will be used "chrometrace.log" in the current directory. | 857 // omitted the default will be used "chrometrace.log" in the current directory. |
858 // Has no effect unless --trace-startup is also supplied. | 858 // Has no effect unless --trace-startup is also supplied. |
859 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log | 859 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log |
860 // As a special case, can be set to 'none' - this disables automatically saving | 860 // As a special case, can be set to 'none' - this disables automatically saving |
861 // the result to a file and the first manually recorded trace will then receive | 861 // the result to a file and the first manually recorded trace will then receive |
862 // all events since startup. | 862 // all events since startup. |
863 const char kTraceStartupFile[] = "trace-startup-file"; | 863 const char kTraceStartupFile[] = "trace-startup-file"; |
864 | 864 |
865 | 865 // Add numeric suffix to trace-startup-file name to create new trace file |
| 866 // on each start. First unused suffix will be used: |
| 867 // trace_event.log.0 , trace_event.log.1 , etc. |
| 868 const char kTraceRotateStartupFile[] = "trace-rotate-startup-file"; |
866 | 869 |
867 // Prioritizes the UI's command stream in the GPU process | 870 // Prioritizes the UI's command stream in the GPU process |
868 extern const char kUIPrioritizeInGpuProcess[] = | 871 extern const char kUIPrioritizeInGpuProcess[] = |
869 "ui-prioritize-in-gpu-process"; | 872 "ui-prioritize-in-gpu-process"; |
870 | 873 |
871 // Overrides the preferred discardable memory implementation. | 874 // Overrides the preferred discardable memory implementation. |
872 const char kUseDiscardableMemory[] = "use-discardable-memory"; | 875 const char kUseDiscardableMemory[] = "use-discardable-memory"; |
873 | 876 |
874 // Bypass the media stream infobar by selecting the default device for media | 877 // Bypass the media stream infobar by selecting the default device for media |
875 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 878 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 | 981 |
979 // Disables support for Core Animation plugins. This is triggered when | 982 // Disables support for Core Animation plugins. This is triggered when |
980 // accelerated compositing is disabled. See http://crbug.com/122430 . | 983 // accelerated compositing is disabled. See http://crbug.com/122430 . |
981 const char kDisableCoreAnimationPlugins[] = | 984 const char kDisableCoreAnimationPlugins[] = |
982 "disable-core-animation-plugins"; | 985 "disable-core-animation-plugins"; |
983 #endif | 986 #endif |
984 | 987 |
985 // Don't dump stuff here, follow the same order as the header. | 988 // Don't dump stuff here, follow the same order as the header. |
986 | 989 |
987 } // namespace switches | 990 } // namespace switches |
OLD | NEW |