diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 22:03:13 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-14 22:03:13 +0000 |
commit | 1889dc1b1226cac60273a2e28ad36e019292be21 (patch) | |
tree | 0cc002bbc9b22ef7a2b34a7f114b79463a02c8d7 /base | |
parent | 19d9f3aa28eb43ba6c7e016536c2ddcba420bb3f (diff) | |
download | chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.zip chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.gz chromium_src-1889dc1b1226cac60273a2e28ad36e019292be21.tar.bz2 |
FBTF: More ctor/dtor cleanup.
(3.5 megs off debug linux .a files)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/3806005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/crypto/rsa_private_key.cc | 5 | ||||
-rw-r--r-- | base/crypto/rsa_private_key.h | 4 | ||||
-rw-r--r-- | base/vlog.cc | 2 | ||||
-rw-r--r-- | base/vlog.h | 1 |
4 files changed, 11 insertions, 1 deletions
diff --git a/base/crypto/rsa_private_key.cc b/base/crypto/rsa_private_key.cc index e8eb2ab..75da7e4 100644 --- a/base/crypto/rsa_private_key.cc +++ b/base/crypto/rsa_private_key.cc @@ -160,6 +160,11 @@ bool PrivateKeyInfoCodec::ReadVersion(uint8** pos, uint8* end) { return true; } +PrivateKeyInfoCodec::PrivateKeyInfoCodec(bool big_endian) + : big_endian_(big_endian) {} + +PrivateKeyInfoCodec::~PrivateKeyInfoCodec() {} + bool PrivateKeyInfoCodec::Export(std::vector<uint8>* output) { std::list<uint8> content; diff --git a/base/crypto/rsa_private_key.h b/base/crypto/rsa_private_key.h index 0349ade..4492c3d 100644 --- a/base/crypto/rsa_private_key.h +++ b/base/crypto/rsa_private_key.h @@ -49,7 +49,9 @@ class PrivateKeyInfoCodec { // that will be parsed & serialized (modulus(), etc...) during Import(), // Export() and ExportPublicKeyInfo() -- not the ASN.1 DER encoding of the // PrivateKeyInfo/PublicKeyInfo (which is always big-endian). - explicit PrivateKeyInfoCodec(bool big_endian) : big_endian_(big_endian) {} + explicit PrivateKeyInfoCodec(bool big_endian); + + ~PrivateKeyInfoCodec(); // Exports the contents of the integer components to the ASN.1 DER encoding // of the PrivateKeyInfo structure to |output|. diff --git a/base/vlog.cc b/base/vlog.cc index d6c3eb7..6075b0b 100644 --- a/base/vlog.cc +++ b/base/vlog.cc @@ -39,6 +39,8 @@ VlogInfo::VlogInfo(const std::string& v_switch, } } +VlogInfo::~VlogInfo() {} + int VlogInfo::GetVlogLevel(const base::StringPiece& file) { if (!vmodule_levels_.empty()) { base::StringPiece module(file); diff --git a/base/vlog.h b/base/vlog.h index faa62ec..d4cffe4 100644 --- a/base/vlog.h +++ b/base/vlog.h @@ -30,6 +30,7 @@ class VlogInfo { // are also disregarded for this matching). VlogInfo(const std::string& v_switch, const std::string& vmodule_switch); + ~VlogInfo(); // Returns the vlog level for a given file (usually taken from // __FILE__). |