| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 kDefault, | 92 kDefault, |
| 93 | 93 |
| 94 // Real permissions. | 94 // Real permissions. |
| 95 kBackground, | 95 kBackground, |
| 96 kBookmark, | 96 kBookmark, |
| 97 kClipboardRead, | 97 kClipboardRead, |
| 98 kClipboardWrite, | 98 kClipboardWrite, |
| 99 kContentSettings, | 99 kContentSettings, |
| 100 kContextMenus, | 100 kContextMenus, |
| 101 kCookie, | 101 kCookie, |
| 102 kChromeAuthPrivate, |
| 102 kChromePrivate, | 103 kChromePrivate, |
| 103 kChromeosInfoPrivate, | 104 kChromeosInfoPrivate, |
| 104 kDebugger, | 105 kDebugger, |
| 105 kExperimental, | 106 kExperimental, |
| 106 kFileBrowserHandler, | 107 kFileBrowserHandler, |
| 107 kFileBrowserPrivate, | 108 kFileBrowserPrivate, |
| 108 kGeolocation, | 109 kGeolocation, |
| 109 kHistory, | 110 kHistory, |
| 110 kIdle, | 111 kIdle, |
| 111 kManagement, | 112 kManagement, |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 URLPatternSet explicit_hosts_; | 381 URLPatternSet explicit_hosts_; |
| 381 | 382 |
| 382 // The list of hosts that can be scripted by content scripts. | 383 // The list of hosts that can be scripted by content scripts. |
| 383 URLPatternSet scriptable_hosts_; | 384 URLPatternSet scriptable_hosts_; |
| 384 | 385 |
| 385 // The list of hosts this effectively grants access to. | 386 // The list of hosts this effectively grants access to. |
| 386 URLPatternSet effective_hosts_; | 387 URLPatternSet effective_hosts_; |
| 387 }; | 388 }; |
| 388 | 389 |
| 389 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 390 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
| OLD | NEW |