summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/http/http_stream_parser.h')
-rw-r--r--net/http/http_stream_parser.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index 2192eff..fa3e6fc 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -1,4 +1,5 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012, Code Aurora Forum. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -36,7 +37,9 @@ class HttpStreamParser : public ChunkCallback {
HttpStreamParser(ClientSocketHandle* connection,
const HttpRequestInfo* request,
GrowableIOBuffer* read_buffer,
- const BoundNetLog& net_log);
+ const BoundNetLog& net_log,
+ bool using_proxy = false);
+
~HttpStreamParser();
// These functions implement the interface described in HttpStream with
@@ -186,6 +189,10 @@ class HttpStreamParser : public ChunkCallback {
// The underlying socket.
ClientSocketHandle* const connection_;
+ bool using_proxy_;
+
+ bool has_to_retry_;
+
BoundNetLog net_log_;
// Callback to be used when doing IO.