| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 kWallpaperPrivate, | 129 kWallpaperPrivate, |
| 130 kWebConnectable, // for externally_connectable manifest key | 130 kWebConnectable, // for externally_connectable manifest key |
| 131 kWebNavigation, | 131 kWebNavigation, |
| 132 kWebRequest, | 132 kWebRequest, |
| 133 kWebRequestBlocking, | 133 kWebRequestBlocking, |
| 134 kWebRequestInternal, | 134 kWebRequestInternal, |
| 135 kWebSocketProxyPrivate, | 135 kWebSocketProxyPrivate, |
| 136 kWebstorePrivate, | 136 kWebstorePrivate, |
| 137 kWebView, | 137 kWebView, |
| 138 kSystemCpu, | 138 kSystemCpu, |
| 139 kSystemMemory, | 139 kSystemInfoMemory, |
| 140 kEnumBoundary | 140 kEnumBoundary |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 struct CheckParam { | 143 struct CheckParam { |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 explicit APIPermission(const APIPermissionInfo* info); | 146 explicit APIPermission(const APIPermissionInfo* info); |
| 147 | 147 |
| 148 virtual ~APIPermission(); | 148 virtual ~APIPermission(); |
| 149 | 149 |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 const char* const name_; | 303 const char* const name_; |
| 304 const int flags_; | 304 const int flags_; |
| 305 const int l10n_message_id_; | 305 const int l10n_message_id_; |
| 306 const PermissionMessage::ID message_id_; | 306 const PermissionMessage::ID message_id_; |
| 307 const APIPermissionConstructor api_permission_constructor_; | 307 const APIPermissionConstructor api_permission_constructor_; |
| 308 }; | 308 }; |
| 309 | 309 |
| 310 } // namespace extensions | 310 } // namespace extensions |
| 311 | 311 |
| 312 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 312 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |