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

Side by Side Diff: extensions/common/permissions/api_permission.h

Issue 49333004: Make app APIs implicit within _api_features.json not _permission_features.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete component extension granting Created 7 years, 1 month 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
« no previous file with comments | « chrome/test/ext_auto/auto_provider/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 21 matching lines...) Expand all
32 enum ID { 32 enum ID {
33 // Error codes. 33 // Error codes.
34 kInvalid = -2, 34 kInvalid = -2,
35 kUnknown = -1, 35 kUnknown = -1,
36 36
37 // Real permissions. 37 // Real permissions.
38 kActiveTab, 38 kActiveTab,
39 kActivityLogPrivate, 39 kActivityLogPrivate,
40 kAdView, 40 kAdView,
41 kAlarms, 41 kAlarms,
42 kAppCurrentWindowInternal,
43 kAppRuntime,
44 kAppWindow,
45 kAudio, 42 kAudio,
46 kAudioCapture, 43 kAudioCapture,
47 kAutoTestPrivate, 44 kAutoTestPrivate,
48 kBackground, 45 kBackground,
49 kBluetooth, 46 kBluetooth,
50 kBookmark, 47 kBookmark,
51 kBookmarkManagerPrivate, 48 kBookmarkManagerPrivate,
52 kBrailleDisplayPrivate, 49 kBrailleDisplayPrivate,
53 kBrowsingData, 50 kBrowsingData,
54 kCast, 51 kCast,
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 const char* const name_; 321 const char* const name_;
325 const int flags_; 322 const int flags_;
326 const int l10n_message_id_; 323 const int l10n_message_id_;
327 const PermissionMessage::ID message_id_; 324 const PermissionMessage::ID message_id_;
328 const APIPermissionConstructor api_permission_constructor_; 325 const APIPermissionConstructor api_permission_constructor_;
329 }; 326 };
330 327
331 } // namespace extensions 328 } // namespace extensions
332 329
333 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ 330 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_
OLDNEW
« no previous file with comments | « chrome/test/ext_auto/auto_provider/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698