diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 18:16:58 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-20 18:16:58 +0000 |
commit | d062eab72dbef9084f68d3506a4d4f45afb50956 (patch) | |
tree | 2fdb817edbd2530271ef42322b19104fa5955a70 /chrome/browser | |
parent | 88212f1acfd9e842eea20849e5c27eded66a492f (diff) | |
download | chromium_src-d062eab72dbef9084f68d3506a4d4f45afb50956.zip chromium_src-d062eab72dbef9084f68d3506a4d4f45afb50956.tar.gz chromium_src-d062eab72dbef9084f68d3506a4d4f45afb50956.tar.bz2 |
Fix theme install on 64 bit chromium builds.
Extension signature sizes are always 4 bytes, not variable depending
on platform.
Review URL: http://codereview.chromium.org/173104
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23837 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/extensions/sandboxed_extension_unpacker.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h index e6fe25c..458ff29 100644 --- a/chrome/browser/extensions/sandboxed_extension_unpacker.h +++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h @@ -69,17 +69,17 @@ class SandboxedExtensionUnpacker : public UtilityProcessHost::Client { 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. + uint32 key_size; // The size of the public key, in bytes. + uint32 signature_size; // The size of the signature, in bytes. // An ASN.1-encoded PublicKeyInfo structure follows. // The signature follows. }; // The maximum size the crx parser will tolerate for a public key. - static const size_t kMaxPublicKeySize = 1 << 16; + static const uint32 kMaxPublicKeySize = 1 << 16; // The maximum size the crx parser will tolerate for a signature. - static const size_t kMaxSignatureSize = 1 << 16; + static const uint32 kMaxSignatureSize = 1 << 16; // The magic character sequence at the beginning of each crx file. static const char kExtensionHeaderMagic[]; |