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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 kDebugger, | 108 kDebugger, |
109 kDevtools, | 109 kDevtools, |
110 kExperimental, | 110 kExperimental, |
111 kFileBrowserHandler, | 111 kFileBrowserHandler, |
112 kFileBrowserPrivate, | 112 kFileBrowserPrivate, |
113 kGeolocation, | 113 kGeolocation, |
114 kHistory, | 114 kHistory, |
115 kIdle, | 115 kIdle, |
116 kInput, | 116 kInput, |
117 kInputMethodPrivate, | 117 kInputMethodPrivate, |
| 118 kKeybinding, |
118 kManagement, | 119 kManagement, |
119 kMediaPlayerPrivate, | 120 kMediaPlayerPrivate, |
120 kMetricsPrivate, | 121 kMetricsPrivate, |
121 kNotification, | 122 kNotification, |
122 kPageCapture, | 123 kPageCapture, |
123 kPlugin, | 124 kPlugin, |
124 kPrivacy, | 125 kPrivacy, |
125 kProxy, | 126 kProxy, |
126 kSocket, | 127 kSocket, |
127 kStorage, | 128 kStorage, |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 | 492 |
492 // The list of hosts that can be scripted by content scripts. | 493 // The list of hosts that can be scripted by content scripts. |
493 // TODO(jstritar): Rename to "user_script_hosts_"? | 494 // TODO(jstritar): Rename to "user_script_hosts_"? |
494 URLPatternSet scriptable_hosts_; | 495 URLPatternSet scriptable_hosts_; |
495 | 496 |
496 // The list of hosts this effectively grants access to. | 497 // The list of hosts this effectively grants access to. |
497 URLPatternSet effective_hosts_; | 498 URLPatternSet effective_hosts_; |
498 }; | 499 }; |
499 | 500 |
500 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 501 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |