Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 288913003: Add permission request creator class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor code. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 979
980 // Launches PerformanceMonitor at startup, which will gather statistics about 980 // Launches PerformanceMonitor at startup, which will gather statistics about
981 // Chrome's CPU and memory usage, page load times, startup times, and network 981 // Chrome's CPU and memory usage, page load times, startup times, and network
982 // usage, and will also store information about events which may be of interest, 982 // usage, and will also store information about events which may be of interest,
983 // such as extension-related occurrences and crashes. Optionally, this may be 983 // such as extension-related occurrences and crashes. Optionally, this may be
984 // run with an integer value representing the interval between the timed 984 // run with an integer value representing the interval between the timed
985 // metric gatherings, measured in seconds (if invalid or not provided, the 985 // metric gatherings, measured in seconds (if invalid or not provided, the
986 // default interval is used). 986 // default interval is used).
987 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering"; 987 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering";
988 988
989 // Development flag for permission request API. This flag is needed until
990 // the API is finalized.
991 // TODO(akuegel): Remove when this flag is not needed anymore.
992 const char kPermissionRequestApiUrl[] = "permission-request-api-url";
993
989 // Read previously recorded data from the cache. Only cached data is read. 994 // Read previously recorded data from the cache. Only cached data is read.
990 // See kRecordMode. 995 // See kRecordMode.
991 const char kPlaybackMode[] = "playback-mode"; 996 const char kPlaybackMode[] = "playback-mode";
992 997
993 // Use the PPAPI (Pepper) Flash found at the given path. 998 // Use the PPAPI (Pepper) Flash found at the given path.
994 const char kPpapiFlashPath[] = "ppapi-flash-path"; 999 const char kPpapiFlashPath[] = "ppapi-flash-path";
995 1000
996 // Report the given version for the PPAPI (Pepper) Flash. The version should be 1001 // Report the given version for the PPAPI (Pepper) Flash. The version should be
997 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it 1002 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it
998 // defaults to "10.2.999.999". 1003 // defaults to "10.2.999.999".
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698