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

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: 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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 983
984 // Launches PerformanceMonitor at startup, which will gather statistics about 984 // Launches PerformanceMonitor at startup, which will gather statistics about
985 // Chrome's CPU and memory usage, page load times, startup times, and network 985 // Chrome's CPU and memory usage, page load times, startup times, and network
986 // usage, and will also store information about events which may be of interest, 986 // usage, and will also store information about events which may be of interest,
987 // such as extension-related occurrences and crashes. Optionally, this may be 987 // such as extension-related occurrences and crashes. Optionally, this may be
988 // run with an integer value representing the interval between the timed 988 // run with an integer value representing the interval between the timed
989 // metric gatherings, measured in seconds (if invalid or not provided, the 989 // metric gatherings, measured in seconds (if invalid or not provided, the
990 // default interval is used). 990 // default interval is used).
991 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering"; 991 const char kPerformanceMonitorGathering[] = "performance-monitor-gathering";
992 992
993 // Development flag for permission request API. This flag is needed until
994 // the API is finalized.
995 // TODO(akuegel): Remove when this flag is not needed anymore.
996 const char kPermissionRequestAPI[] = "permission-request-api";
Bernhard Bauer 2014/05/15 13:56:40 I would maybe call this ...URL?
Adrian Kuegel 2014/05/15 14:35:32 Are you suggesting the suffix APIURL or just URL?
Bernhard Bauer 2014/05/15 15:04:54 Meh, ApiUrl maybe? :) My point is more that it sho
Adrian Kuegel 2014/05/15 15:42:16 Done.
997
993 // Read previously recorded data from the cache. Only cached data is read. 998 // Read previously recorded data from the cache. Only cached data is read.
994 // See kRecordMode. 999 // See kRecordMode.
995 const char kPlaybackMode[] = "playback-mode"; 1000 const char kPlaybackMode[] = "playback-mode";
996 1001
997 // Use the PPAPI (Pepper) Flash found at the given path. 1002 // Use the PPAPI (Pepper) Flash found at the given path.
998 const char kPpapiFlashPath[] = "ppapi-flash-path"; 1003 const char kPpapiFlashPath[] = "ppapi-flash-path";
999 1004
1000 // Report the given version for the PPAPI (Pepper) Flash. The version should be 1005 // Report the given version for the PPAPI (Pepper) Flash. The version should be
1001 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it 1006 // numbers separated by '.'s (e.g., "12.3.456.78"). If not specified, it
1002 // defaults to "10.2.999.999". 1007 // defaults to "10.2.999.999".
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 1479
1475 // ----------------------------------------------------------------------------- 1480 // -----------------------------------------------------------------------------
1476 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1481 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1477 // 1482 //
1478 // You were going to just dump your switches here, weren't you? Instead, please 1483 // You were going to just dump your switches here, weren't you? Instead, please
1479 // put them in alphabetical order above, or in order inside the appropriate 1484 // put them in alphabetical order above, or in order inside the appropriate
1480 // ifdef at the bottom. The order should match the header. 1485 // ifdef at the bottom. The order should match the header.
1481 // ----------------------------------------------------------------------------- 1486 // -----------------------------------------------------------------------------
1482 1487
1483 } // namespace switches 1488 } // namespace switches
OLDNEW
« chrome/browser/managed_mode/permission_request_creator.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698