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