Index: chrome/browser/extensions/extension_creator.h |
diff --git a/chrome/browser/extensions/extension_creator.h b/chrome/browser/extensions/extension_creator.h |
index febcecd1f76fb3861b1bb95e73d9fc544b17e3a2..129e1529e301a2801557cdf6fa3552d429788544 100755 |
--- a/chrome/browser/extensions/extension_creator.h |
+++ b/chrome/browser/extensions/extension_creator.h |
@@ -17,28 +17,6 @@ |
// generated randomly (and optionally written to |output_private_key_path|. |
class ExtensionCreator { |
public: |
- // The size of the magic character sequence at the beginning of each crx file, |
- // in bytes. This should be a multiple of 4. |
- static const size_t kExtensionHeaderMagicSize = 4; |
- |
- // The magic character sequence at the beginning of each crx file. |
- static const char kExtensionHeaderMagic[]; |
- |
- // The current version of the crx format. |
- static const uint32 kCurrentVersion = 2; |
- |
- // This header is the first data at the beginning of an extension. Its |
- // contents are purposely 32-bit aligned so that it can just be slurped into |
- // a struct without manual parsing. |
- struct ExtensionHeader { |
- char magic[kExtensionHeaderMagicSize]; |
- uint32 version; |
- size_t key_size; // The size of the public key, in bytes. |
- size_t signature_size; // The size of the signature, in bytes. |
- // An ASN.1-encoded PublicKeyInfo structure follows. |
- // The signature follows. |
- }; |
- |
ExtensionCreator() {} |
bool Run(const FilePath& extension_dir, |