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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 kOffersPrivate, | 126 kOffersPrivate, |
127 kPageCapture, | 127 kPageCapture, |
128 kPlugin, | 128 kPlugin, |
129 kPrivacy, | 129 kPrivacy, |
130 kProxy, | 130 kProxy, |
131 kSocket, | 131 kSocket, |
132 kStorage, | 132 kStorage, |
133 kSystemPrivate, | 133 kSystemPrivate, |
134 kTab, | 134 kTab, |
135 kTerminalPrivate, | 135 kTerminalPrivate, |
| 136 kTopSites, |
136 kTts, | 137 kTts, |
137 kTtsEngine, | 138 kTtsEngine, |
138 kUnlimitedStorage, | 139 kUnlimitedStorage, |
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 }; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 | 423 |
423 // The list of hosts that can be scripted by content scripts. | 424 // The list of hosts that can be scripted by content scripts. |
424 // TODO(jstritar): Rename to "user_script_hosts_"? | 425 // TODO(jstritar): Rename to "user_script_hosts_"? |
425 URLPatternSet scriptable_hosts_; | 426 URLPatternSet scriptable_hosts_; |
426 | 427 |
427 // The list of hosts this effectively grants access to. | 428 // The list of hosts this effectively grants access to. |
428 URLPatternSet effective_hosts_; | 429 URLPatternSet effective_hosts_; |
429 }; | 430 }; |
430 | 431 |
431 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 432 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |