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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 static const char kChromePrivatePermission[]; | 286 static const char kChromePrivatePermission[]; |
287 static const char kChromeosInfoPrivatePermission[]; | 287 static const char kChromeosInfoPrivatePermission[]; |
288 static const char kDebuggerPermission[]; | 288 static const char kDebuggerPermission[]; |
289 static const char kExperimentalPermission[]; | 289 static const char kExperimentalPermission[]; |
290 static const char kFileBrowserHandlerPermission[]; | 290 static const char kFileBrowserHandlerPermission[]; |
291 static const char kFileBrowserPrivatePermission[]; | 291 static const char kFileBrowserPrivatePermission[]; |
292 static const char kGeolocationPermission[]; | 292 static const char kGeolocationPermission[]; |
293 static const char kHistoryPermission[]; | 293 static const char kHistoryPermission[]; |
294 static const char kIdlePermission[]; | 294 static const char kIdlePermission[]; |
295 static const char kManagementPermission[]; | 295 static const char kManagementPermission[]; |
| 296 static const char kMediaPlayerPrivatePermission[]; |
296 static const char kNotificationPermission[]; | 297 static const char kNotificationPermission[]; |
297 static const char kProxyPermission[]; | 298 static const char kProxyPermission[]; |
298 static const char kTabPermission[]; | 299 static const char kTabPermission[]; |
299 static const char kUnlimitedStoragePermission[]; | 300 static const char kUnlimitedStoragePermission[]; |
300 static const char kWebstorePrivatePermission[]; | 301 static const char kWebstorePrivatePermission[]; |
301 static const char kWebSocketProxyPrivatePermission[]; | 302 static const char kWebSocketProxyPrivatePermission[]; |
302 | 303 |
303 static const Permission kPermissions[]; | 304 static const Permission kPermissions[]; |
304 static const size_t kNumPermissions; | 305 static const size_t kNumPermissions; |
305 static const char* const kHostedAppPermissionNames[]; | 306 static const char* const kHostedAppPermissionNames[]; |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
991 // Was the extension already disabled? | 992 // Was the extension already disabled? |
992 bool already_disabled; | 993 bool already_disabled; |
993 | 994 |
994 // The extension being unloaded - this should always be non-NULL. | 995 // The extension being unloaded - this should always be non-NULL. |
995 const Extension* extension; | 996 const Extension* extension; |
996 | 997 |
997 UnloadedExtensionInfo(const Extension* extension, Reason reason); | 998 UnloadedExtensionInfo(const Extension* extension, Reason reason); |
998 }; | 999 }; |
999 | 1000 |
1000 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 1001 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
OLD | NEW |