| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 kIdle, | 112 kIdle, |
| 113 kInputMethodPrivate, | 113 kInputMethodPrivate, |
| 114 kManagement, | 114 kManagement, |
| 115 kMediaPlayerPrivate, | 115 kMediaPlayerPrivate, |
| 116 kMetricsPrivate, | 116 kMetricsPrivate, |
| 117 kNotification, | 117 kNotification, |
| 118 kPageCapture, | 118 kPageCapture, |
| 119 kPlugin, | 119 kPlugin, |
| 120 kProxy, | 120 kProxy, |
| 121 kSocket, | 121 kSocket, |
| 122 kSystemPrivate, |
| 122 kTab, | 123 kTab, |
| 123 kTts, | 124 kTts, |
| 124 kTtsEngine, | 125 kTtsEngine, |
| 125 kUnlimitedStorage, | 126 kUnlimitedStorage, |
| 126 kWebNavigation, | 127 kWebNavigation, |
| 127 kWebRequest, | 128 kWebRequest, |
| 128 kWebRequestBlocking, | 129 kWebRequestBlocking, |
| 129 kWebSocketProxyPrivate, | 130 kWebSocketProxyPrivate, |
| 130 kWebstorePrivate, | 131 kWebstorePrivate, |
| 131 kEnumBoundary | 132 kEnumBoundary |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 | 464 |
| 464 // The list of hosts that can be scripted by content scripts. | 465 // The list of hosts that can be scripted by content scripts. |
| 465 // TODO(jstritar): Rename to "user_script_hosts_"? | 466 // TODO(jstritar): Rename to "user_script_hosts_"? |
| 466 URLPatternSet scriptable_hosts_; | 467 URLPatternSet scriptable_hosts_; |
| 467 | 468 |
| 468 // The list of hosts this effectively grants access to. | 469 // The list of hosts this effectively grants access to. |
| 469 URLPatternSet effective_hosts_; | 470 URLPatternSet effective_hosts_; |
| 470 }; | 471 }; |
| 471 | 472 |
| 472 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 473 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
| OLD | NEW |