OLD | NEW |
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 kAppView, | 46 kAppView, |
47 kAudio, | 47 kAudio, |
48 kAudioCapture, | 48 kAudioCapture, |
49 kAutomation, | 49 kAutomation, |
50 kAutoTestPrivate, | 50 kAutoTestPrivate, |
51 kBackground, | 51 kBackground, |
52 kBluetoothPrivate, | 52 kBluetoothPrivate, |
53 kBookmark, | 53 kBookmark, |
54 kBookmarkManagerPrivate, | 54 kBookmarkManagerPrivate, |
55 kBrailleDisplayPrivate, | 55 kBrailleDisplayPrivate, |
56 kBrowser, | |
57 kBrowsingData, | 56 kBrowsingData, |
58 kCast, | 57 kCast, |
59 kCastStreaming, | 58 kCastStreaming, |
60 kChromeosInfoPrivate, | 59 kChromeosInfoPrivate, |
61 kClipboardRead, | 60 kClipboardRead, |
62 kClipboardWrite, | 61 kClipboardWrite, |
63 kCloudPrintPrivate, | 62 kCloudPrintPrivate, |
64 kCommandLinePrivate, | 63 kCommandLinePrivate, |
65 kCommandsAccessibility, | 64 kCommandsAccessibility, |
66 kContentSettings, | 65 kContentSettings, |
67 kContextMenus, | 66 kContextMenus, |
68 kCookie, | 67 kCookie, |
69 kCopresence, | 68 kCopresence, |
70 kCopresencePrivate, | 69 kCopresencePrivate, |
71 kDiagnostics, | 70 kDiagnostics, |
72 kDial, | 71 kDial, |
73 kDebugger, | 72 kDebugger, |
74 kDeclarative, | 73 kDeclarative, |
75 kDeclarativeContent, | 74 kDeclarativeContent, |
76 kDeclarativeWebRequest, | 75 kDeclarativeWebRequest, |
77 kDesktopCapture, | 76 kDesktopCapture, |
78 kDeveloperPrivate, | 77 kDeveloperPrivate, |
79 kDevtools, | 78 kDevtools, |
80 kDns, | 79 kDns, |
81 kDocumentScan, | |
82 kDownloads, | 80 kDownloads, |
83 kDownloadsInternal, | 81 kDownloadsInternal, |
84 kDownloadsOpen, | 82 kDownloadsOpen, |
85 kDownloadsShelf, | 83 kDownloadsShelf, |
86 kEasyUnlockPrivate, | 84 kEasyUnlockPrivate, |
87 kEchoPrivate, | 85 kEchoPrivate, |
88 kEmbeddedExtensionOptions, | 86 kEmbeddedExtensionOptions, |
89 kEnterprisePlatformKeys, | 87 kEnterprisePlatformKeys, |
90 kEnterprisePlatformKeysPrivate, | 88 kEnterprisePlatformKeysPrivate, |
91 kExperienceSamplingPrivate, | 89 kExperienceSamplingPrivate, |
92 kExperimental, | 90 kExperimental, |
93 kExternallyConnectableAllUrls, | 91 kExternallyConnectableAllUrls, |
94 kFeedbackPrivate, | 92 kFeedbackPrivate, |
95 kFileBrowserHandler, | 93 kFileBrowserHandler, |
96 kFileBrowserHandlerInternal, | 94 kFileBrowserHandlerInternal, |
97 kFileManagerPrivate, | 95 kFileManagerPrivate, |
98 kFileSystem, | 96 kFileSystem, |
99 kFileSystemDirectory, | 97 kFileSystemDirectory, |
100 kFileSystemProvider, | 98 kFileSystemProvider, |
101 kFileSystemRetainEntries, | 99 kFileSystemRetainEntries, |
102 kFileSystemWrite, | 100 kFileSystemWrite, |
103 kFileSystemWriteDirectory, | 101 kFileSystemWriteDirectory, |
104 kFirstRunPrivate, | |
105 kFontSettings, | 102 kFontSettings, |
106 kFullscreen, | 103 kFullscreen, |
107 kGcdPrivate, | 104 kGcdPrivate, |
108 kGcm, | 105 kGcm, |
109 kGeolocation, | 106 kGeolocation, |
110 kHid, | 107 kHid, |
111 kHistory, | 108 kHistory, |
112 kHomepage, | 109 kHomepage, |
113 kHotwordPrivate, | 110 kHotwordPrivate, |
114 kIdentity, | 111 kIdentity, |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 kWebrtcLoggingPrivate, | 181 kWebrtcLoggingPrivate, |
185 kWebstorePrivate, | 182 kWebstorePrivate, |
186 kWebView, | 183 kWebView, |
187 kWindowShape, | 184 kWindowShape, |
188 kScreenlockPrivate, | 185 kScreenlockPrivate, |
189 kSystemCpu, | 186 kSystemCpu, |
190 kSystemMemory, | 187 kSystemMemory, |
191 kSystemNetwork, | 188 kSystemNetwork, |
192 kSystemInfoCpu, | 189 kSystemInfoCpu, |
193 kSystemInfoMemory, | 190 kSystemInfoMemory, |
| 191 kFirstRunPrivate, |
| 192 kBrowser, |
194 kEnumBoundary | 193 kEnumBoundary |
195 }; | 194 }; |
196 | 195 |
197 struct CheckParam { | 196 struct CheckParam { |
198 }; | 197 }; |
199 | 198 |
200 explicit APIPermission(const APIPermissionInfo* info); | 199 explicit APIPermission(const APIPermissionInfo* info); |
201 | 200 |
202 virtual ~APIPermission(); | 201 virtual ~APIPermission(); |
203 | 202 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 const char* const name_; | 366 const char* const name_; |
368 const int flags_; | 367 const int flags_; |
369 const int l10n_message_id_; | 368 const int l10n_message_id_; |
370 const PermissionMessage::ID message_id_; | 369 const PermissionMessage::ID message_id_; |
371 const APIPermissionConstructor api_permission_constructor_; | 370 const APIPermissionConstructor api_permission_constructor_; |
372 }; | 371 }; |
373 | 372 |
374 } // namespace extensions | 373 } // namespace extensions |
375 | 374 |
376 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ | 375 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ |
OLD | NEW |