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