| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 kSocketSpecificHosts, | 236 kSocketSpecificHosts, |
| 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 // Last entry: Add new entries above and ensure to update the | 247 // Last entry: Add new entries above and ensure to update the |
| 247 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml | 248 // "ExtensionPermission3" enum in tools/metrics/histograms/histograms.xml |
| 248 // (by running update_extension_permission.py). | 249 // (by running update_extension_permission.py). |
| 249 kEnumBoundary | 250 kEnumBoundary |
| 250 }; | 251 }; |
| 251 | 252 |
| 252 struct CheckParam { | 253 struct CheckParam { |
| 253 }; | 254 }; |
| 254 | 255 |
| 255 explicit APIPermission(const APIPermissionInfo* info); | 256 explicit APIPermission(const APIPermissionInfo* info); |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 430 |
| 430 const APIPermission::ID id_; | 431 const APIPermission::ID id_; |
| 431 const char* const name_; | 432 const char* const name_; |
| 432 const int flags_; | 433 const int flags_; |
| 433 const APIPermissionConstructor api_permission_constructor_; | 434 const APIPermissionConstructor api_permission_constructor_; |
| 434 }; | 435 }; |
| 435 | 436 |
| 436 } // namespace extensions | 437 } // namespace extensions |
| 437 | 438 |
| 438 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ | 439 #endif // EXTENSIONS_COMMON_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |