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_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 // NOTE: To add a new permission, define it here, and add an entry to | 199 // NOTE: To add a new permission, define it here, and add an entry to |
200 // Extension::kPermissions. | 200 // Extension::kPermissions. |
201 static const char kBackgroundPermission[]; | 201 static const char kBackgroundPermission[]; |
202 static const char kBookmarkPermission[]; | 202 static const char kBookmarkPermission[]; |
203 static const char kContentSettingsPermission[]; | 203 static const char kContentSettingsPermission[]; |
204 static const char kContextMenusPermission[]; | 204 static const char kContextMenusPermission[]; |
205 static const char kCookiePermission[]; | 205 static const char kCookiePermission[]; |
206 static const char kChromeosInfoPrivatePermissions[]; | 206 static const char kChromeosInfoPrivatePermissions[]; |
207 static const char kDebuggerPermission[]; | 207 static const char kDebuggerPermission[]; |
208 static const char kExperimentalPermission[]; | 208 static const char kExperimentalPermission[]; |
| 209 static const char kFileBrowserHandlerPermission[]; |
209 static const char kFileSystemPermission[]; | 210 static const char kFileSystemPermission[]; |
210 static const char kFileBrowserPrivatePermission[]; | 211 static const char kFileBrowserPrivatePermission[]; |
211 static const char kGeolocationPermission[]; | 212 static const char kGeolocationPermission[]; |
212 static const char kHistoryPermission[]; | 213 static const char kHistoryPermission[]; |
213 static const char kIdlePermission[]; | 214 static const char kIdlePermission[]; |
214 static const char kManagementPermission[]; | 215 static const char kManagementPermission[]; |
215 static const char kNotificationPermission[]; | 216 static const char kNotificationPermission[]; |
216 static const char kProxyPermission[]; | 217 static const char kProxyPermission[]; |
217 static const char kTabPermission[]; | 218 static const char kTabPermission[]; |
218 static const char kUnlimitedStoragePermission[]; | 219 static const char kUnlimitedStoragePermission[]; |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 // Was the extension already disabled? | 888 // Was the extension already disabled? |
888 bool already_disabled; | 889 bool already_disabled; |
889 | 890 |
890 // The extension being unloaded - this should always be non-NULL. | 891 // The extension being unloaded - this should always be non-NULL. |
891 const Extension* extension; | 892 const Extension* extension; |
892 | 893 |
893 UnloadedExtensionInfo(const Extension* extension, Reason reason); | 894 UnloadedExtensionInfo(const Extension* extension, Reason reason); |
894 }; | 895 }; |
895 | 896 |
896 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 897 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |