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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 | 975 |
976 // Launches PerformanceMonitor at startup, which will gather statistics about | 976 // Launches PerformanceMonitor at startup, which will gather statistics about |
977 // Chrome's CPU and memory usage, page load times, startup times, and network | 977 // Chrome's CPU and memory usage, page load times, startup times, and network |
978 // usage, and will also store information about events which may be of interest, | 978 // usage, and will also store information about events which may be of interest, |
979 // such as extension-related occurrences and crashes. Optionally, this may be | 979 // such as extension-related occurrences and crashes. Optionally, this may be |
980 // run with an integer value representing the interval between the timed | 980 // run with an integer value representing the interval between the timed |
981 // metric gatherings, measured in seconds (if invalid or not provided, the | 981 // metric gatherings, measured in seconds (if invalid or not provided, the |
982 // default interval is used). | 982 // default interval is used). |
983 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering"; | 983 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering"; |
984 | 984 |
| 985 // Development flag for permission request API. This flag is needed until |
| 986 // the API is finalized. |
| 987 // TODO(akuegel): Remove when this flag is not needed anymore. |
| 988 const char kPermissionRequestApiUrl[] = "permission-request-api-url"; |
| 989 |
985 // Read previously recorded data from the cache. Only cached data is read. | 990 // Read previously recorded data from the cache. Only cached data is read. |
986 // See kRecordMode. | 991 // See kRecordMode. |
987 const char kPlaybackMode[] = "playback-mode"; | 992 const char kPlaybackMode[] = "playback-mode"; |
988 | 993 |
989 // Use the PPAPI (Pepper) Flash found at the given path. | 994 // Use the PPAPI (Pepper) Flash found at the given path. |
990 const char kPpapiFlashPath[] = "ppapi-flash-path"; | 995 const char kPpapiFlashPath[] = "ppapi-flash-path"; |
991 | 996 |
992 // Report the given version for the PPAPI (Pepper) Flash. The version should be | 997 // Report the given version for the PPAPI (Pepper) Flash. The version should be |
993 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it | 998 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it |
994 // defaults to "10.2.999.999". | 999 // defaults to "10.2.999.999". |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 | 1457 |
1453 // ----------------------------------------------------------------------------- | 1458 // ----------------------------------------------------------------------------- |
1454 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1459 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1455 // | 1460 // |
1456 // You were going to just dump your switches here, weren't you? Instead, please | 1461 // You were going to just dump your switches here, weren't you? Instead, please |
1457 // put them in alphabetical order above, or in order inside the appropriate | 1462 // put them in alphabetical order above, or in order inside the appropriate |
1458 // ifdef at the bottom. The order should match the header. | 1463 // ifdef at the bottom. The order should match the header. |
1459 // ----------------------------------------------------------------------------- | 1464 // ----------------------------------------------------------------------------- |
1460 | 1465 |
1461 } // namespace switches | 1466 } // namespace switches |
OLD | NEW |