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