| 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 30 matching lines...) Expand all Loading... |
| 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 kBluetooth, | 48 kBluetooth, |
| 49 kBookmark, | 49 kBookmark, |
| 50 kBookmarkManagerPrivate, | 50 kBookmarkManagerPrivate, |
| 51 kBrowserTag, | |
| 52 kBrowsingData, | 51 kBrowsingData, |
| 53 kChromeosInfoPrivate, | 52 kChromeosInfoPrivate, |
| 54 kClipboardRead, | 53 kClipboardRead, |
| 55 kClipboardWrite, | 54 kClipboardWrite, |
| 56 kCloudPrintPrivate, | 55 kCloudPrintPrivate, |
| 57 kContentSettings, | 56 kContentSettings, |
| 58 kContextMenus, | 57 kContextMenus, |
| 59 kCookie, | 58 kCookie, |
| 60 kDebugger, | 59 kDebugger, |
| 61 kDeclarative, | 60 kDeclarative, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 kTtsEngine, | 101 kTtsEngine, |
| 103 kUnlimitedStorage, | 102 kUnlimitedStorage, |
| 104 kVideoCapture, | 103 kVideoCapture, |
| 105 kWallpaperPrivate, | 104 kWallpaperPrivate, |
| 106 kWebNavigation, | 105 kWebNavigation, |
| 107 kWebRequest, | 106 kWebRequest, |
| 108 kWebRequestBlocking, | 107 kWebRequestBlocking, |
| 109 kWebRequestInternal, | 108 kWebRequestInternal, |
| 110 kWebSocketProxyPrivate, | 109 kWebSocketProxyPrivate, |
| 111 kWebstorePrivate, | 110 kWebstorePrivate, |
| 111 kWebView, |
| 112 kEnumBoundary | 112 kEnumBoundary |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 struct CheckParam { | 115 struct CheckParam { |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 explicit APIPermission(const APIPermissionInfo* info); | 118 explicit APIPermission(const APIPermissionInfo* info); |
| 119 | 119 |
| 120 virtual ~APIPermission(); | 120 virtual ~APIPermission(); |
| 121 | 121 |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 const char* const name_; | 264 const char* const name_; |
| 265 const int flags_; | 265 const int flags_; |
| 266 const int l10n_message_id_; | 266 const int l10n_message_id_; |
| 267 const PermissionMessage::ID message_id_; | 267 const PermissionMessage::ID message_id_; |
| 268 const APIPermissionConstructor api_permission_constructor_; | 268 const APIPermissionConstructor api_permission_constructor_; |
| 269 }; | 269 }; |
| 270 | 270 |
| 271 } // namespace extensions | 271 } // namespace extensions |
| 272 | 272 |
| 273 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 273 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |