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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 kDevtools, | 106 kDevtools, |
107 kExperimental, | 107 kExperimental, |
108 kFileBrowserHandler, | 108 kFileBrowserHandler, |
109 kFileBrowserPrivate, | 109 kFileBrowserPrivate, |
110 kGeolocation, | 110 kGeolocation, |
111 kHistory, | 111 kHistory, |
112 kIdle, | 112 kIdle, |
113 kInputMethodPrivate, | 113 kInputMethodPrivate, |
114 kManagement, | 114 kManagement, |
115 kMediaPlayerPrivate, | 115 kMediaPlayerPrivate, |
| 116 kMetricsPrivate, |
116 kNotification, | 117 kNotification, |
117 kPlugin, | 118 kPlugin, |
118 kProxy, | 119 kProxy, |
119 kTab, | 120 kTab, |
120 kTts, | 121 kTts, |
121 kTtsEngine, | 122 kTtsEngine, |
122 kUnlimitedStorage, | 123 kUnlimitedStorage, |
123 kWebNavigation, | 124 kWebNavigation, |
124 kWebRequest, | 125 kWebRequest, |
125 kWebSocketProxyPrivate, | 126 kWebSocketProxyPrivate, |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 415 |
415 // The list of hosts that can be scripted by content scripts. | 416 // The list of hosts that can be scripted by content scripts. |
416 // TODO(jstritar): Rename to "user_script_hosts_"? | 417 // TODO(jstritar): Rename to "user_script_hosts_"? |
417 URLPatternSet scriptable_hosts_; | 418 URLPatternSet scriptable_hosts_; |
418 | 419 |
419 // The list of hosts this effectively grants access to. | 420 // The list of hosts this effectively grants access to. |
420 URLPatternSet effective_hosts_; | 421 URLPatternSet effective_hosts_; |
421 }; | 422 }; |
422 | 423 |
423 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 424 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |