| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 kTtsEngine, | 96 kTtsEngine, |
| 97 kUnlimitedStorage, | 97 kUnlimitedStorage, |
| 98 kVideoCapture, | 98 kVideoCapture, |
| 99 kWallpaperPrivate, | 99 kWallpaperPrivate, |
| 100 kWebNavigation, | 100 kWebNavigation, |
| 101 kWebRequest, | 101 kWebRequest, |
| 102 kWebRequestBlocking, | 102 kWebRequestBlocking, |
| 103 kWebRequestInternal, | 103 kWebRequestInternal, |
| 104 kWebSocketProxyPrivate, | 104 kWebSocketProxyPrivate, |
| 105 kWebstorePrivate, | 105 kWebstorePrivate, |
| 106 kWM, |
| 106 kEnumBoundary | 107 kEnumBoundary |
| 107 }; | 108 }; |
| 108 | 109 |
| 109 enum Flag { | 110 enum Flag { |
| 110 kFlagNone = 0, | 111 kFlagNone = 0, |
| 111 | 112 |
| 112 // Indicates if the permission implies full access (native code). | 113 // Indicates if the permission implies full access (native code). |
| 113 kFlagImpliesFullAccess = 1 << 0, | 114 kFlagImpliesFullAccess = 1 << 0, |
| 114 | 115 |
| 115 // Indicates if the permission implies full URL access. | 116 // Indicates if the permission implies full URL access. |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 friend class base::RefCounted<APIPermissionDetail>; | 257 friend class base::RefCounted<APIPermissionDetail>; |
| 257 virtual ~APIPermissionDetail(); | 258 virtual ~APIPermissionDetail(); |
| 258 | 259 |
| 259 private: | 260 private: |
| 260 const APIPermission* const permission_; | 261 const APIPermission* const permission_; |
| 261 }; | 262 }; |
| 262 | 263 |
| 263 } // namespace extensions | 264 } // namespace extensions |
| 264 | 265 |
| 265 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 266 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |