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 kManagement, | 91 kManagement, |
92 kMediaGalleries, | 92 kMediaGalleries, |
93 kMediaGalleriesPrivate, | 93 kMediaGalleriesPrivate, |
94 kMediaPlayerPrivate, | 94 kMediaPlayerPrivate, |
95 kMetricsPrivate, | 95 kMetricsPrivate, |
96 kMusicManagerPrivate, | 96 kMusicManagerPrivate, |
97 kNativeMessaging, | 97 kNativeMessaging, |
98 kNetworkingPrivate, | 98 kNetworkingPrivate, |
99 kNotification, | 99 kNotification, |
100 kPageCapture, | 100 kPageCapture, |
| 101 kPingPrivate, |
101 kPointerLock, | 102 kPointerLock, |
102 kPlugin, | 103 kPlugin, |
103 kPower, | 104 kPower, |
104 kPreferencesPrivate, | 105 kPreferencesPrivate, |
105 kPrivacy, | 106 kPrivacy, |
106 kProxy, | 107 kProxy, |
107 kPushMessaging, | 108 kPushMessaging, |
108 kRtcPrivate, | 109 kRtcPrivate, |
109 kScreensaver, | 110 kScreensaver, |
110 kSerial, | 111 kSerial, |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 const char* const name_; | 294 const char* const name_; |
294 const int flags_; | 295 const int flags_; |
295 const int l10n_message_id_; | 296 const int l10n_message_id_; |
296 const PermissionMessage::ID message_id_; | 297 const PermissionMessage::ID message_id_; |
297 const APIPermissionConstructor api_permission_constructor_; | 298 const APIPermissionConstructor api_permission_constructor_; |
298 }; | 299 }; |
299 | 300 |
300 } // namespace extensions | 301 } // namespace extensions |
301 | 302 |
302 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 303 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
OLD | NEW |