| 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 <memory> | 8 #include <memory> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 kDeleted_UsbDeviceList, | 237 kDeleted_UsbDeviceList, |
| 238 kUsbDeviceUnknownProduct, | 238 kUsbDeviceUnknownProduct, |
| 239 kUsbDeviceUnknownVendor, | 239 kUsbDeviceUnknownVendor, |
| 240 kUsersPrivate, | 240 kUsersPrivate, |
| 241 kPasswordsPrivate, | 241 kPasswordsPrivate, |
| 242 kLanguageSettingsPrivate, | 242 kLanguageSettingsPrivate, |
| 243 kEnterpriseDeviceAttributes, | 243 kEnterpriseDeviceAttributes, |
| 244 kCertificateProvider, | 244 kCertificateProvider, |
| 245 kResourcesPrivate, | 245 kResourcesPrivate, |
| 246 kDisplaySource, | 246 kDisplaySource, |
| 247 kQuickUnlockPrivate, |
| 247 // Last entry: Add new entries above and ensure to update the | 248 // Last entry: Add new entries above and ensure to update the |
| 248 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml | 249 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml |
| 249 // (by running update_extension_permission.py). | 250 // (by running update_extension_permission.py). |
| 250 kEnumBoundary | 251 kEnumBoundary |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 struct CheckParam { | 254 struct CheckParam { |
| 254 }; | 255 }; |
| 255 | 256 |
| 256 explicit APIPermission(const APIPermissionInfo* info); | 257 explicit APIPermission(const APIPermissionInfo* info); |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 | 434 |
| 434 const APIPermission::ID id_; | 435 const APIPermission::ID id_; |
| 435 const char* const name_; | 436 const char* const name_; |
| 436 const int flags_; | 437 const int flags_; |
| 437 const APIPermissionConstructor api_permission_constructor_; | 438 const APIPermissionConstructor api_permission_constructor_; |
| 438 }; | 439 }; |
| 439 | 440 |
| 440 } // namespace extensions | 441 } // namespace extensions |
| 441 | 442 |
| 442 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ | 443 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |