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 23 matching lines...) Expand all Loading... |
34 kInvalid = -2, | 34 kInvalid = -2, |
35 kUnknown = -1, | 35 kUnknown = -1, |
36 | 36 |
37 // Real permissions. | 37 // Real permissions. |
38 kActiveTab, | 38 kActiveTab, |
39 kAdView, | 39 kAdView, |
40 kAlarms, | 40 kAlarms, |
41 kAppCurrentWindowInternal, | 41 kAppCurrentWindowInternal, |
42 kAppRuntime, | 42 kAppRuntime, |
43 kAppWindow, | 43 kAppWindow, |
| 44 kAudio, |
44 kAudioCapture, | 45 kAudioCapture, |
45 kAutoTestPrivate, | 46 kAutoTestPrivate, |
46 kBackground, | 47 kBackground, |
47 kBluetooth, | 48 kBluetooth, |
48 kBluetoothDevice, | 49 kBluetoothDevice, |
49 kBookmark, | 50 kBookmark, |
50 kBookmarkManagerPrivate, | 51 kBookmarkManagerPrivate, |
51 kBrowsingData, | 52 kBrowsingData, |
52 kChromeosInfoPrivate, | 53 kChromeosInfoPrivate, |
53 kClipboardRead, | 54 kClipboardRead, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 const char* const name_; | 293 const char* const name_; |
293 const int flags_; | 294 const int flags_; |
294 const int l10n_message_id_; | 295 const int l10n_message_id_; |
295 const PermissionMessage::ID message_id_; | 296 const PermissionMessage::ID message_id_; |
296 const APIPermissionConstructor api_permission_constructor_; | 297 const APIPermissionConstructor api_permission_constructor_; |
297 }; | 298 }; |
298 | 299 |
299 } // namespace extensions | 300 } // namespace extensions |
300 | 301 |
301 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 302 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
OLD | NEW |