| 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 28 matching lines...) Expand all Loading... |
| 39 // Real permissions. | 39 // Real permissions. |
| 40 kActiveTab, | 40 kActiveTab, |
| 41 kAlarms, | 41 kAlarms, |
| 42 kAppCurrentWindowInternal, | 42 kAppCurrentWindowInternal, |
| 43 kAppNotifications, | 43 kAppNotifications, |
| 44 kAppRuntime, | 44 kAppRuntime, |
| 45 kAppWindow, | 45 kAppWindow, |
| 46 kAudioCapture, | 46 kAudioCapture, |
| 47 kBackground, | 47 kBackground, |
| 48 kBookmark, | 48 kBookmark, |
| 49 kBookmarkManagerPrivate, |
| 49 kBrowserTag, | 50 kBrowserTag, |
| 50 kBrowsingData, | 51 kBrowsingData, |
| 51 kChromeosInfoPrivate, | 52 kChromeosInfoPrivate, |
| 52 kClipboardRead, | 53 kClipboardRead, |
| 53 kClipboardWrite, | 54 kClipboardWrite, |
| 54 kCloudPrintPrivate, | 55 kCloudPrintPrivate, |
| 55 kContentSettings, | 56 kContentSettings, |
| 56 kContextMenus, | 57 kContextMenus, |
| 57 kCookie, | 58 kCookie, |
| 58 kDebugger, | 59 kDebugger, |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 const char* const name_; | 259 const char* const name_; |
| 259 const int flags_; | 260 const int flags_; |
| 260 const int l10n_message_id_; | 261 const int l10n_message_id_; |
| 261 const PermissionMessage::ID message_id_; | 262 const PermissionMessage::ID message_id_; |
| 262 const APIPermissionConstructor api_permission_constructor_; | 263 const APIPermissionConstructor api_permission_constructor_; |
| 263 }; | 264 }; |
| 264 | 265 |
| 265 } // namespace extensions | 266 } // namespace extensions |
| 266 | 267 |
| 267 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 268 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |