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

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

Issue 475743002: Add a command line flag to specify the scope to use for the permission request API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 // Chrome's CPU and memory usage, page load times, startup times, and network 897 // Chrome's CPU and memory usage, page load times, startup times, and network
898 // usage, and will also store information about events which may be of interest, 898 // usage, and will also store information about events which may be of interest,
899 // such as extension-related occurrences and crashes. Optionally, this may be 899 // such as extension-related occurrences and crashes. Optionally, this may be
900 // run with an integer value representing the interval between the timed 900 // run with an integer value representing the interval between the timed
901 // metric gatherings, measured in seconds (if invalid or not provided, the 901 // metric gatherings, measured in seconds (if invalid or not provided, the
902 // default interval is used). 902 // default interval is used).
903 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering"; 903 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering";
904 904
905 // Development flag for permission request API. This flag is needed until 905 // Development flag for permission request API. This flag is needed until
906 // the API is finalized. 906 // the API is finalized.
907 // TODO(akuegel): Remove when this flag is not needed anymore. 907 // TODO(bauerb): Remove when this flag is not needed anymore.
908 const char kPermissionRequestApiUrl[] = "permission-request-api-url"; 908 const char kPermissionRequestApiScope[] = "permission-request-api-scope";
909
910 // Development flag for permission request API. This flag is needed until
911 // the API is finalized.
912 // TODO(bauerb): Remove when this flag is not needed anymore.
913 const char kPermissionRequestApiUrl[] = "permission-request-api-url";
909 914
910 // Read previously recorded data from the cache. Only cached data is read. 915 // Read previously recorded data from the cache. Only cached data is read.
911 // See kRecordMode. 916 // See kRecordMode.
912 const char kPlaybackMode[] = "playback-mode"; 917 const char kPlaybackMode[] = "playback-mode";
913 918
914 // Use the PPAPI (Pepper) Flash found at the given path. 919 // Use the PPAPI (Pepper) Flash found at the given path.
915 const char kPpapiFlashPath[] = "ppapi-flash-path"; 920 const char kPpapiFlashPath[] = "ppapi-flash-path";
916 921
917 // Report the given version for the PPAPI (Pepper) Flash. The version should be 922 // Report the given version for the PPAPI (Pepper) Flash. The version should be
918 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it 923 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
1358 1363
1359 // ----------------------------------------------------------------------------- 1364 // -----------------------------------------------------------------------------
1360 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1361 // 1366 //
1362 // You were going to just dump your switches here, weren't you? Instead, please 1367 // You were going to just dump your switches here, weren't you? Instead, please
1363 // put them in alphabetical order above, or in order inside the appropriate 1368 // put them in alphabetical order above, or in order inside the appropriate
1364 // ifdef at the bottom. The order should match the header. 1369 // ifdef at the bottom. The order should match the header.
1365 // ----------------------------------------------------------------------------- 1370 // -----------------------------------------------------------------------------
1366 1371
1367 } // namespace switches 1372 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698