| 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 kInfobars, | 91 kInfobars, |
| 92 kInput, | 92 kInput, |
| 93 kInputMethodPrivate, | 93 kInputMethodPrivate, |
| 94 kLocation, | 94 kLocation, |
| 95 kLogPrivate, | 95 kLogPrivate, |
| 96 kManagement, | 96 kManagement, |
| 97 kMediaGalleries, | 97 kMediaGalleries, |
| 98 kMediaGalleriesPrivate, | 98 kMediaGalleriesPrivate, |
| 99 kMediaPlayerPrivate, | 99 kMediaPlayerPrivate, |
| 100 kMetricsPrivate, | 100 kMetricsPrivate, |
| 101 kMDns, |
| 101 kMusicManagerPrivate, | 102 kMusicManagerPrivate, |
| 102 kNativeMessaging, | 103 kNativeMessaging, |
| 103 kNetworkingPrivate, | 104 kNetworkingPrivate, |
| 104 kNotification, | 105 kNotification, |
| 105 kPageCapture, | 106 kPageCapture, |
| 106 kPointerLock, | 107 kPointerLock, |
| 107 kPlugin, | 108 kPlugin, |
| 108 kPower, | 109 kPower, |
| 109 kPreferencesPrivate, | 110 kPreferencesPrivate, |
| 110 kPrivacy, | 111 kPrivacy, |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 const char* const name_; | 314 const char* const name_; |
| 314 const int flags_; | 315 const int flags_; |
| 315 const int l10n_message_id_; | 316 const int l10n_message_id_; |
| 316 const PermissionMessage::ID message_id_; | 317 const PermissionMessage::ID message_id_; |
| 317 const APIPermissionConstructor api_permission_constructor_; | 318 const APIPermissionConstructor api_permission_constructor_; |
| 318 }; | 319 }; |
| 319 | 320 |
| 320 } // namespace extensions | 321 } // namespace extensions |
| 321 | 322 |
| 322 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 323 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |