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_EXTENSION_PERMISSION_SET_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 kProxy, | 129 kProxy, |
130 kSocket, | 130 kSocket, |
131 kStorage, | 131 kStorage, |
132 kSystemPrivate, | 132 kSystemPrivate, |
133 kTab, | 133 kTab, |
134 kTerminalPrivate, | 134 kTerminalPrivate, |
135 kTopSites, | 135 kTopSites, |
136 kTts, | 136 kTts, |
137 kTtsEngine, | 137 kTtsEngine, |
138 kUnlimitedStorage, | 138 kUnlimitedStorage, |
| 139 kUsb, |
139 kWebNavigation, | 140 kWebNavigation, |
140 kWebRequest, | 141 kWebRequest, |
141 kWebRequestBlocking, | 142 kWebRequestBlocking, |
142 kWebSocketProxyPrivate, | 143 kWebSocketProxyPrivate, |
143 kWebstorePrivate, | 144 kWebstorePrivate, |
144 kEnumBoundary | 145 kEnumBoundary |
145 }; | 146 }; |
146 | 147 |
147 enum Flag { | 148 enum Flag { |
148 kFlagNone = 0, | 149 kFlagNone = 0, |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 | 444 |
444 // The list of hosts this effectively grants access to. | 445 // The list of hosts this effectively grants access to. |
445 URLPatternSet effective_hosts_; | 446 URLPatternSet effective_hosts_; |
446 | 447 |
447 // A set of oauth2 scopes that are used by the identity API to create OAuth2 | 448 // A set of oauth2 scopes that are used by the identity API to create OAuth2 |
448 // tokens for accessing the Google Account of the signed-in sync account. | 449 // tokens for accessing the Google Account of the signed-in sync account. |
449 ExtensionOAuth2Scopes scopes_; | 450 ExtensionOAuth2Scopes scopes_; |
450 }; | 451 }; |
451 | 452 |
452 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 453 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |