summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_parser.h
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 19:07:21 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 19:07:21 +0000
commit1239d2873c81b96ba283981b7fc35bcf566ca7d1 (patch)
tree12c4c23ebf238b669e3580bb1076de8b0f8b98ac /net/http/http_stream_parser.h
parent90610762cb7f004ad28dde9b9763714bf95731d7 (diff)
downloadchromium_src-1239d2873c81b96ba283981b7fc35bcf566ca7d1.zip
chromium_src-1239d2873c81b96ba283981b7fc35bcf566ca7d1.tar.gz
chromium_src-1239d2873c81b96ba283981b7fc35bcf566ca7d1.tar.bz2
Add more load log points near HttpNetworkTransaction::ReadHeaders
TEST=none BUG=27324 Review URL: http://codereview.chromium.org/501034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_parser.h')
-rw-r--r--net/http/http_stream_parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index 4ccc6ee..c47d09e 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "net/base/io_buffer.h"
+#include "net/base/load_log.h"
#include "net/base/upload_data_stream.h"
#include "net/http/http_chunked_decoder.h"
#include "net/http/http_response_info.h"
@@ -27,7 +28,8 @@ class HttpStreamParser {
// buffer's offset will be set to the first free byte. |read_buffer| may
// have its capacity changed.
HttpStreamParser(ClientSocketHandle* connection,
- GrowableIOBuffer* read_buffer);
+ GrowableIOBuffer* read_buffer,
+ LoadLog* load_log);
~HttpStreamParser() {}
// These functions implement the interface described in HttpStream with
@@ -160,6 +162,8 @@ class HttpStreamParser {
// The underlying socket.
ClientSocketHandle* const connection_;
+ scoped_refptr<LoadLog> load_log_;
+
// Callback to be used when doing IO.
CompletionCallbackImpl<HttpStreamParser> io_callback_;