diff options
Diffstat (limited to 'chrome/browser/extensions/extension_creator.h')
-rwxr-xr-x | chrome/browser/extensions/extension_creator.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/chrome/browser/extensions/extension_creator.h b/chrome/browser/extensions/extension_creator.h index febcecd..129e152 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, |