OLD | NEW |
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 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 kUsbDevice, | 144 kUsbDevice, |
145 kVideoCapture, | 145 kVideoCapture, |
146 kVirtualKeyboardPrivate, | 146 kVirtualKeyboardPrivate, |
147 kWallpaper, | 147 kWallpaper, |
148 kWallpaperPrivate, | 148 kWallpaperPrivate, |
149 kWebConnectable, // for externally_connectable manifest key | 149 kWebConnectable, // for externally_connectable manifest key |
150 kWebNavigation, | 150 kWebNavigation, |
151 kWebRequest, | 151 kWebRequest, |
152 kWebRequestBlocking, | 152 kWebRequestBlocking, |
153 kWebRequestInternal, | 153 kWebRequestInternal, |
| 154 kWebrtcLoggingPrivate, |
154 kWebstorePrivate, | 155 kWebstorePrivate, |
155 kWebView, | 156 kWebView, |
156 kSystemCpu, | 157 kSystemCpu, |
157 kSystemMemory, | 158 kSystemMemory, |
158 kSystemInfoCpu, | 159 kSystemInfoCpu, |
159 kSystemInfoMemory, | 160 kSystemInfoMemory, |
160 kEnumBoundary | 161 kEnumBoundary |
161 }; | 162 }; |
162 | 163 |
163 struct CheckParam { | 164 struct CheckParam { |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 const char* const name_; | 324 const char* const name_; |
324 const int flags_; | 325 const int flags_; |
325 const int l10n_message_id_; | 326 const int l10n_message_id_; |
326 const PermissionMessage::ID message_id_; | 327 const PermissionMessage::ID message_id_; |
327 const APIPermissionConstructor api_permission_constructor_; | 328 const APIPermissionConstructor api_permission_constructor_; |
328 }; | 329 }; |
329 | 330 |
330 } // namespace extensions | 331 } // namespace extensions |
331 | 332 |
332 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 333 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
OLD | NEW |