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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 kTab, | 136 kTab, |
137 kTerminalPrivate, | 137 kTerminalPrivate, |
138 kTopSites, | 138 kTopSites, |
139 kTts, | 139 kTts, |
140 kTtsEngine, | 140 kTtsEngine, |
141 kUnlimitedStorage, | 141 kUnlimitedStorage, |
142 kUsb, | 142 kUsb, |
143 kWebNavigation, | 143 kWebNavigation, |
144 kWebRequest, | 144 kWebRequest, |
145 kWebRequestBlocking, | 145 kWebRequestBlocking, |
| 146 kWebRequestInternal, |
146 kWebSocketProxyPrivate, | 147 kWebSocketProxyPrivate, |
147 kWebstorePrivate, | 148 kWebstorePrivate, |
148 kEnumBoundary | 149 kEnumBoundary |
149 }; | 150 }; |
150 | 151 |
151 enum Flag { | 152 enum Flag { |
152 kFlagNone = 0, | 153 kFlagNone = 0, |
153 | 154 |
154 // Indicates if the permission implies full access (native code). | 155 // Indicates if the permission implies full access (native code). |
155 kFlagImpliesFullAccess = 1 << 0, | 156 kFlagImpliesFullAccess = 1 << 0, |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 | 448 |
448 // The list of hosts this effectively grants access to. | 449 // The list of hosts this effectively grants access to. |
449 URLPatternSet effective_hosts_; | 450 URLPatternSet effective_hosts_; |
450 | 451 |
451 // A set of oauth2 scopes that are used by the identity API to create OAuth2 | 452 // A set of oauth2 scopes that are used by the identity API to create OAuth2 |
452 // tokens for accessing the Google Account of the signed-in sync account. | 453 // tokens for accessing the Google Account of the signed-in sync account. |
453 ExtensionOAuth2Scopes scopes_; | 454 ExtensionOAuth2Scopes scopes_; |
454 }; | 455 }; |
455 | 456 |
456 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 457 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |