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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 kUnknown = -1, | 100 kUnknown = -1, |
101 | 101 |
102 // Real permissions. | 102 // Real permissions. |
103 kActiveTab, | 103 kActiveTab, |
104 kAlarms, | 104 kAlarms, |
105 kAppNotifications, | 105 kAppNotifications, |
106 kAppWindow, | 106 kAppWindow, |
107 kAudioCapture, | 107 kAudioCapture, |
108 kBackground, | 108 kBackground, |
109 kBookmark, | 109 kBookmark, |
| 110 kBrowserTag, |
110 kBrowsingData, | 111 kBrowsingData, |
111 kChromeAuthPrivate, | 112 kChromeAuthPrivate, |
112 kChromeosInfoPrivate, | 113 kChromeosInfoPrivate, |
113 kClipboardRead, | 114 kClipboardRead, |
114 kClipboardWrite, | 115 kClipboardWrite, |
115 kContentSettings, | 116 kContentSettings, |
116 kContextMenus, | 117 kContextMenus, |
117 kCookie, | 118 kCookie, |
118 kDebugger, | 119 kDebugger, |
119 kDeclarative, | 120 kDeclarative, |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 | 462 |
462 // The list of hosts this effectively grants access to. | 463 // The list of hosts this effectively grants access to. |
463 URLPatternSet effective_hosts_; | 464 URLPatternSet effective_hosts_; |
464 | 465 |
465 // A set of oauth2 scopes that are used by the identity API to create OAuth2 | 466 // A set of oauth2 scopes that are used by the identity API to create OAuth2 |
466 // tokens for accessing the Google Account of the signed-in sync account. | 467 // tokens for accessing the Google Account of the signed-in sync account. |
467 ExtensionOAuth2Scopes scopes_; | 468 ExtensionOAuth2Scopes scopes_; |
468 }; | 469 }; |
469 | 470 |
470 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ | 471 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_PERMISSION_SET_H_ |
OLD | NEW |