summaryrefslogtreecommitdiffstats
path: root/net/base/pem_tokenizer.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-22 19:42:00 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-22 19:42:00 +0000
commit7e4468d50ab7c74fad98adcb847d82c5750f2a21 (patch)
treebcaecf049255d834e454b10512b241172109bd6f /net/base/pem_tokenizer.h
parent2aa3de25c0bca5f7c06a89a100bb7cd50004b853 (diff)
downloadchromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.zip
chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.gz
chromium_src-7e4468d50ab7c74fad98adcb847d82c5750f2a21.tar.bz2
FBTF: Move a bunch of code to the headers and remove includes.
BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3412016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/pem_tokenizer.h')
-rw-r--r--net/base/pem_tokenizer.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/base/pem_tokenizer.h b/net/base/pem_tokenizer.h
index 5074b20..b54337e 100644
--- a/net/base/pem_tokenizer.h
+++ b/net/base/pem_tokenizer.h
@@ -24,6 +24,7 @@ class PEMTokenizer {
// |str| must remain valid for the duration of the PEMTokenizer.
PEMTokenizer(const base::StringPiece& str,
const std::vector<std::string>& allowed_block_types);
+ ~PEMTokenizer();
// Attempts to decode the next PEM block in the string. Returns false if no
// PEM blocks can be decoded. The decoded PEM block will be available via
@@ -46,11 +47,7 @@ class PEMTokenizer {
// A simple cache of the allowed PEM header and footer for a given PEM
// block type, so that it is only computed once.
- struct PEMType {
- std::string type;
- std::string header;
- std::string footer;
- };
+ struct PEMType;
// The string to search, which must remain valid for as long as this class
// is around.