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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 // sending them to the renderer. | 786 // sending them to the renderer. |
787 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 787 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
788 | 788 |
789 // Allows for forcing socket connections to http/https to use fixed ports. | 789 // Allows for forcing socket connections to http/https to use fixed ports. |
790 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 790 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
791 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 791 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
792 | 792 |
793 // Runs the security test for the renderer sandbox. | 793 // Runs the security test for the renderer sandbox. |
794 const char kTestSandbox[] = "test-sandbox"; | 794 const char kTestSandbox[] = "test-sandbox"; |
795 | 795 |
| 796 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
| 797 // can specify the specific trace categories to include (e.g. |
| 798 // --trace-shutdown=base,net) otherwise, all events are recorded. |
| 799 // --trace-shutdown-file can be used to control where the trace log gets stored |
| 800 // to since there is otherwise no way to access the result. |
| 801 const char kTraceShutdown[] = "trace-shutdown"; |
| 802 |
| 803 // If supplied, sets the file which shutdown tracing will be stored into, if |
| 804 // omitted the default will be used "chrometrace.log" in the current directory. |
| 805 // Has no effect unless --trace-shutdown is also supplied. |
| 806 // Example: --trace-shutdown --trace-shutdown-file=/tmp/trace_event.log |
| 807 const char kTraceShutdownFile[] = "trace-shutdown-file"; |
| 808 |
796 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can | 809 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can |
797 // specify the specific trace categories to include (e.g. | 810 // specify the specific trace categories to include (e.g. |
798 // --trace-startup=base,net) otherwise, all events are recorded. Setting this | 811 // --trace-startup=base,net) otherwise, all events are recorded. Setting this |
799 // flag results in the first call to BeginTracing() to receive all trace events | 812 // flag results in the first call to BeginTracing() to receive all trace events |
800 // since startup. In Chrome, you may find --trace-startup-file and | 813 // since startup. In Chrome, you may find --trace-startup-file and |
801 // --trace-startup-duration to control the auto-saving of the trace (not | 814 // --trace-startup-duration to control the auto-saving of the trace (not |
802 // supported in the base-only TraceLog component). | 815 // supported in the base-only TraceLog component). |
803 const char kTraceStartup[] = "trace-startup"; | 816 const char kTraceStartup[] = "trace-startup"; |
804 | 817 |
805 // Sets the time in seconds until startup tracing ends. If omitted a default of | 818 // Sets the time in seconds until startup tracing ends. If omitted a default of |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 #endif | 956 #endif |
944 | 957 |
945 #if defined(USE_AURA) | 958 #if defined(USE_AURA) |
946 // Forces usage of the test compositor. Needed to run ui tests on bots. | 959 // Forces usage of the test compositor. Needed to run ui tests on bots. |
947 extern const char kTestCompositor[] = "test-compositor"; | 960 extern const char kTestCompositor[] = "test-compositor"; |
948 #endif | 961 #endif |
949 | 962 |
950 // Don't dump stuff here, follow the same order as the header. | 963 // Don't dump stuff here, follow the same order as the header. |
951 | 964 |
952 } // namespace switches | 965 } // namespace switches |
OLD | NEW |