| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 kWebView, | 170 kWebView, |
| 171 kWindowShape, | 171 kWindowShape, |
| 172 kScreenlockPrivate, | 172 kScreenlockPrivate, |
| 173 kSystemCpu, | 173 kSystemCpu, |
| 174 kSystemMemory, | 174 kSystemMemory, |
| 175 kSystemNetwork, | 175 kSystemNetwork, |
| 176 kSystemInfoCpu, | 176 kSystemInfoCpu, |
| 177 kSystemInfoMemory, | 177 kSystemInfoMemory, |
| 178 kFirstRunPrivate, | 178 kFirstRunPrivate, |
| 179 kBrowser, | 179 kBrowser, |
| 180 kDocumentScan, |
| 180 kEnumBoundary | 181 kEnumBoundary |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 struct CheckParam { | 184 struct CheckParam { |
| 184 }; | 185 }; |
| 185 | 186 |
| 186 explicit APIPermission(const APIPermissionInfo* info); | 187 explicit APIPermission(const APIPermissionInfo* info); |
| 187 | 188 |
| 188 virtual ~APIPermission(); | 189 virtual ~APIPermission(); |
| 189 | 190 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 const char* const name_; | 354 const char* const name_; |
| 354 const int flags_; | 355 const int flags_; |
| 355 const int l10n_message_id_; | 356 const int l10n_message_id_; |
| 356 const PermissionMessage::ID message_id_; | 357 const PermissionMessage::ID message_id_; |
| 357 const APIPermissionConstructor api_permission_constructor_; | 358 const APIPermissionConstructor api_permission_constructor_; |
| 358 }; | 359 }; |
| 359 | 360 |
| 360 } // namespace extensions | 361 } // namespace extensions |
| 361 | 362 |
| 362 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ | 363 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |