diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 18:35:54 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-04 18:35:54 +0000 |
commit | ecef1ff71284719fa8e1a1e23372175ba828a4be (patch) | |
tree | 463491d785bbfd075c2a805593691410f1fdd188 /net/tools/flip_server/balsa_frame.cc | |
parent | 549e89a687830b2a6782a9fabdd1da8845532920 (diff) | |
download | chromium_src-ecef1ff71284719fa8e1a1e23372175ba828a4be.zip chromium_src-ecef1ff71284719fa8e1a1e23372175ba828a4be.tar.gz chromium_src-ecef1ff71284719fa8e1a1e23372175ba828a4be.tar.bz2 |
Cleanup the net/tools/ directory so there are no warnings from our clang plugin.
(I've separated this chunk out since mbelshe said he was working here and I
don't want to accidentally clobber his work. This is the last patch before Nico
can turn the inlining plugin on for all targets.)
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6368037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/flip_server/balsa_frame.cc')
-rw-r--r-- | net/tools/flip_server/balsa_frame.cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/tools/flip_server/balsa_frame.cc b/net/tools/flip_server/balsa_frame.cc index 9b8173e..cda5527 100644 --- a/net/tools/flip_server/balsa_frame.cc +++ b/net/tools/flip_server/balsa_frame.cc @@ -33,6 +33,29 @@ static const size_t kContentLengthSize = sizeof(kContentLength) - 1; static const char kTransferEncoding[] = "transfer-encoding"; static const size_t kTransferEncodingSize = sizeof(kTransferEncoding) - 1; +BalsaFrame::BalsaFrame() + : last_char_was_slash_r_(false), + saw_non_newline_char_(false), + start_was_space_(true), + chunk_length_character_extracted_(false), + is_request_(true), + request_was_head_(false), + max_header_length_(16 * 1024), + max_request_uri_length_(2048), + visitor_(&do_nothing_visitor_), + chunk_length_remaining_(0), + content_length_remaining_(0), + last_slash_n_loc_(NULL), + last_recorded_slash_n_loc_(NULL), + last_slash_n_idx_(0), + term_chars_(0), + parse_state_(BalsaFrameEnums::READING_HEADER_AND_FIRSTLINE), + last_error_(BalsaFrameEnums::NO_ERROR), + headers_(NULL) { +} + +BalsaFrame::~BalsaFrame() {} + void BalsaFrame::Reset() { last_char_was_slash_r_ = false; saw_non_newline_char_ = false; |