| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 // The name of the manifest inside an extension. | 54 // The name of the manifest inside an extension. |
| 55 static const char kManifestFilename[]; | 55 static const char kManifestFilename[]; |
| 56 | 56 |
| 57 // Keys used in JSON representation of extensions. | 57 // Keys used in JSON representation of extensions. |
| 58 static const wchar_t* kBackgroundKey; | 58 static const wchar_t* kBackgroundKey; |
| 59 static const wchar_t* kContentScriptsKey; | 59 static const wchar_t* kContentScriptsKey; |
| 60 static const wchar_t* kCssKey; | 60 static const wchar_t* kCssKey; |
| 61 static const wchar_t* kDescriptionKey; | 61 static const wchar_t* kDescriptionKey; |
| 62 static const wchar_t* kIconPathKey; | 62 static const wchar_t* kIconPathKey; |
| 63 static const wchar_t* kIconPathsKey; |
| 63 static const wchar_t* kJsKey; | 64 static const wchar_t* kJsKey; |
| 64 static const wchar_t* kMatchesKey; | 65 static const wchar_t* kMatchesKey; |
| 65 static const wchar_t* kNameKey; | 66 static const wchar_t* kNameKey; |
| 66 static const wchar_t* kPageActionIdKey; | 67 static const wchar_t* kPageActionIdKey; |
| 67 static const wchar_t* kPageActionsKey; | 68 static const wchar_t* kPageActionsKey; |
| 68 static const wchar_t* kPermissionsKey; | 69 static const wchar_t* kPermissionsKey; |
| 69 static const wchar_t* kPluginsKey; | 70 static const wchar_t* kPluginsKey; |
| 70 static const wchar_t* kPluginsPathKey; | 71 static const wchar_t* kPluginsPathKey; |
| 71 static const wchar_t* kPluginsPublicKey; | 72 static const wchar_t* kPluginsPublicKey; |
| 72 static const wchar_t* kPublicKeyKey; | 73 static const wchar_t* kPublicKeyKey; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 109 |
| 109 static const char* kInvalidBackgroundError; | 110 static const char* kInvalidBackgroundError; |
| 110 static const char* kInvalidRunAtError; | 111 static const char* kInvalidRunAtError; |
| 111 static const char* kInvalidSignatureError; | 112 static const char* kInvalidSignatureError; |
| 112 static const char* kInvalidToolstripError; | 113 static const char* kInvalidToolstripError; |
| 113 static const char* kInvalidToolstripsError; | 114 static const char* kInvalidToolstripsError; |
| 114 static const char* kInvalidVersionError; | 115 static const char* kInvalidVersionError; |
| 115 static const char* kInvalidPageActionError; | 116 static const char* kInvalidPageActionError; |
| 116 static const char* kInvalidPageActionsListError; | 117 static const char* kInvalidPageActionsListError; |
| 117 static const char* kInvalidPageActionIconPathError; | 118 static const char* kInvalidPageActionIconPathError; |
| 119 static const char* kInvalidPageActionIconPathsError; |
| 118 static const char* kInvalidPageActionIdError; | 120 static const char* kInvalidPageActionIdError; |
| 119 static const char* kInvalidPageActionTypeValueError; | 121 static const char* kInvalidPageActionTypeValueError; |
| 120 static const char* kInvalidPermissionsError; | 122 static const char* kInvalidPermissionsError; |
| 121 static const char* kInvalidPermissionCountWarning; | 123 static const char* kInvalidPermissionCountWarning; |
| 122 static const char* kInvalidPermissionError; | 124 static const char* kInvalidPermissionError; |
| 123 static const char* kInvalidPermissionSchemeError; | 125 static const char* kInvalidPermissionSchemeError; |
| 124 static const char* kInvalidZipHashError; | 126 static const char* kInvalidZipHashError; |
| 125 static const char* kInvalidThemeError; | 127 static const char* kInvalidThemeError; |
| 126 static const char* kInvalidThemeImagesMissingError; | 128 static const char* kInvalidThemeImagesMissingError; |
| 127 static const char* kInvalidThemeImagesError; | 129 static const char* kInvalidThemeImagesError; |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 // The sites this extension has permission to talk to (using XHR, etc). | 337 // The sites this extension has permission to talk to (using XHR, etc). |
| 336 std::vector<URLPattern> permissions_; | 338 std::vector<URLPattern> permissions_; |
| 337 | 339 |
| 338 // URL for fetching an update manifest | 340 // URL for fetching an update manifest |
| 339 GURL update_url_; | 341 GURL update_url_; |
| 340 | 342 |
| 341 DISALLOW_COPY_AND_ASSIGN(Extension); | 343 DISALLOW_COPY_AND_ASSIGN(Extension); |
| 342 }; | 344 }; |
| 343 | 345 |
| 344 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ | 346 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ |
| OLD | NEW |