| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 kSystemInfoCpu, | 138 kSystemInfoCpu, |
| 139 kSystemInfoMemory, | 139 kSystemInfoMemory, |
| 140 kTime, |
| 140 kEnumBoundary | 141 kEnumBoundary |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 struct CheckParam { | 144 struct CheckParam { |
| 144 }; | 145 }; |
| 145 | 146 |
| 146 explicit APIPermission(const APIPermissionInfo* info); | 147 explicit APIPermission(const APIPermissionInfo* info); |
| 147 | 148 |
| 148 virtual ~APIPermission(); | 149 virtual ~APIPermission(); |
| 149 | 150 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 const char* const name_; | 294 const char* const name_; |
| 294 const int flags_; | 295 const int flags_; |
| 295 const int l10n_message_id_; | 296 const int l10n_message_id_; |
| 296 const PermissionMessage::ID message_id_; | 297 const PermissionMessage::ID message_id_; |
| 297 const APIPermissionConstructor api_permission_constructor_; | 298 const APIPermissionConstructor api_permission_constructor_; |
| 298 }; | 299 }; |
| 299 | 300 |
| 300 } // namespace extensions | 301 } // namespace extensions |
| 301 | 302 |
| 302 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 303 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |