| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 kNotification, | 125 kNotification, |
| 126 kPageCapture, | 126 kPageCapture, |
| 127 kPlugin, | 127 kPlugin, |
| 128 kPrivacy, | 128 kPrivacy, |
| 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 kTts, | 136 kTts, |
| 136 kTtsEngine, | 137 kTtsEngine, |
| 137 kUnlimitedStorage, | 138 kUnlimitedStorage, |
| 138 kWebNavigation, | 139 kWebNavigation, |
| 139 kWebRequest, | 140 kWebRequest, |
| 140 kWebRequestBlocking, | 141 kWebRequestBlocking, |
| 141 kWebSocketProxyPrivate, | 142 kWebSocketProxyPrivate, |
| 142 kWebstorePrivate, | 143 kWebstorePrivate, |
| 143 kEnumBoundary | 144 kEnumBoundary |
| 144 }; | 145 }; |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 | 422 |
| 422 // The list of hosts that can be scripted by content scripts. | 423 // The list of hosts that can be scripted by content scripts. |
| 423 // TODO(jstritar): Rename to "user_script_hosts_"? | 424 // TODO(jstritar): Rename to "user_script_hosts_"? |
| 424 URLPatternSet scriptable_hosts_; | 425 URLPatternSet scriptable_hosts_; |
| 425 | 426 |
| 426 // The list of hosts this effectively grants access to. | 427 // The list of hosts this effectively grants access to. |
| 427 URLPatternSet effective_hosts_; | 428 URLPatternSet effective_hosts_; |
| 428 }; | 429 }; |
| 429 | 430 |
| 430 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 431 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
| OLD | NEW |