| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 kUnknown = -1, | 24 kUnknown = -1, |
| 25 | 25 |
| 26 // Real permissions. | 26 // Real permissions. |
| 27 kActiveTab, | 27 kActiveTab, |
| 28 kAlarms, | 28 kAlarms, |
| 29 kAppNotifications, | 29 kAppNotifications, |
| 30 kAppWindow, | 30 kAppWindow, |
| 31 kAudioCapture, | 31 kAudioCapture, |
| 32 kBackground, | 32 kBackground, |
| 33 kBookmark, | 33 kBookmark, |
| 34 kBrowserTag, |
| 34 kBrowsingData, | 35 kBrowsingData, |
| 35 kChromeAuthPrivate, | 36 kChromeAuthPrivate, |
| 36 kChromeosInfoPrivate, | 37 kChromeosInfoPrivate, |
| 37 kClipboardRead, | 38 kClipboardRead, |
| 38 kClipboardWrite, | 39 kClipboardWrite, |
| 39 kContentSettings, | 40 kContentSettings, |
| 40 kContextMenus, | 41 kContextMenus, |
| 41 kCookie, | 42 kCookie, |
| 42 kDebugger, | 43 kDebugger, |
| 43 kDeclarative, | 44 kDeclarative, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 int flags_; | 155 int flags_; |
| 155 int l10n_message_id_; | 156 int l10n_message_id_; |
| 156 PermissionMessage::ID message_id_; | 157 PermissionMessage::ID message_id_; |
| 157 }; | 158 }; |
| 158 | 159 |
| 159 typedef std::set<APIPermission::ID> APIPermissionSet; | 160 typedef std::set<APIPermission::ID> APIPermissionSet; |
| 160 | 161 |
| 161 } // namespace extensions | 162 } // namespace extensions |
| 162 | 163 |
| 163 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 164 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |