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