| 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 kWebstorePrivate, | 167 kWebstorePrivate, |
| 168 kWebView, | 168 kWebView, |
| 169 kWindowShape, | 169 kWindowShape, |
| 170 kScreenlockPrivate, | 170 kScreenlockPrivate, |
| 171 kSystemCpu, | 171 kSystemCpu, |
| 172 kSystemMemory, | 172 kSystemMemory, |
| 173 kSystemNetwork, | 173 kSystemNetwork, |
| 174 kSystemInfoCpu, | 174 kSystemInfoCpu, |
| 175 kSystemInfoMemory, | 175 kSystemInfoMemory, |
| 176 kFirstRunPrivate, | 176 kFirstRunPrivate, |
| 177 kBrowser, |
| 177 kEnumBoundary | 178 kEnumBoundary |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 struct CheckParam { | 181 struct CheckParam { |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 explicit APIPermission(const APIPermissionInfo* info); | 184 explicit APIPermission(const APIPermissionInfo* info); |
| 184 | 185 |
| 185 virtual ~APIPermission(); | 186 virtual ~APIPermission(); |
| 186 | 187 |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 const char* const name_; | 343 const char* const name_; |
| 343 const int flags_; | 344 const int flags_; |
| 344 const int l10n_message_id_; | 345 const int l10n_message_id_; |
| 345 const PermissionMessage::ID message_id_; | 346 const PermissionMessage::ID message_id_; |
| 346 const APIPermissionConstructor api_permission_constructor_; | 347 const APIPermissionConstructor api_permission_constructor_; |
| 347 }; | 348 }; |
| 348 | 349 |
| 349 } // namespace extensions | 350 } // namespace extensions |
| 350 | 351 |
| 351 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ | 352 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |