Chromium Code Reviews| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 107 kUsb, | 107 kUsb, |
| 108 kVideoCapture, | 108 kVideoCapture, |
| 109 kWallpaperPrivate, | 109 kWallpaperPrivate, |
| 110 kWebNavigation, | 110 kWebNavigation, |
| 111 kWebRequest, | 111 kWebRequest, |
| 112 kWebRequestBlocking, | 112 kWebRequestBlocking, |
| 113 kWebRequestInternal, | 113 kWebRequestInternal, |
| 114 kWebSocketProxyPrivate, | 114 kWebSocketProxyPrivate, |
| 115 kWebstorePrivate, | 115 kWebstorePrivate, |
| 116 kWebView, | 116 kWebView, |
| 117 kWebViewPermissionAPI, | |
|
Charlie Reis
2012/12/07 19:16:25
Hmm, this requires developers to request a permiss
lazyboy
2012/12/07 22:50:44
Yes that requires permission and we don't want the
Charlie Reis
2012/12/17 22:28:09
Experimental is allowed in stable, but apps that u
lazyboy
2013/02/07 04:38:42
Ah I see, 'experimental' should take care of our n
| |
| 117 kEnumBoundary | 118 kEnumBoundary |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 struct CheckParam { | 121 struct CheckParam { |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 explicit APIPermission(const APIPermissionInfo* info); | 124 explicit APIPermission(const APIPermissionInfo* info); |
| 124 | 125 |
| 125 virtual ~APIPermission(); | 126 virtual ~APIPermission(); |
| 126 | 127 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 276 const char* const name_; | 277 const char* const name_; |
| 277 const int flags_; | 278 const int flags_; |
| 278 const int l10n_message_id_; | 279 const int l10n_message_id_; |
| 279 const PermissionMessage::ID message_id_; | 280 const PermissionMessage::ID message_id_; |
| 280 const APIPermissionConstructor api_permission_constructor_; | 281 const APIPermissionConstructor api_permission_constructor_; |
| 281 }; | 282 }; |
| 282 | 283 |
| 283 } // namespace extensions | 284 } // namespace extensions |
| 284 | 285 |
| 285 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ | 286 #endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_API_PERMISSION_H_ |
| OLD | NEW |