Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Unified Diff: net/http/http_network_transaction.h

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome Frame fix Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index b3c4c47c3cf3e2495681ec75d7b89e6cf3094c42..7390e0a0d3fcd094d67cd6c8b0a7191a6b063048 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -28,6 +28,7 @@ class HttpAuthController;
class HttpNetworkSession;
class HttpStream;
class HttpStreamRequest;
+class HttpTransactionDelegate;
class IOBuffer;
class UploadDataStream;
struct HttpRequestInfo;
@@ -83,6 +84,10 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
const ProxyInfo& used_proxy_info,
HttpStream* stream) OVERRIDE;
+ void set_delegate(HttpTransactionDelegate* delegate) {
+ delegate_ = delegate;
+ }
+
private:
FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test,
ResetStateForRestart);
@@ -294,6 +299,8 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
// read from the socket until the tunnel is done.
bool establishing_tunnel_;
+ HttpTransactionDelegate* delegate_;
+
DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
};

Powered by Google App Engine
This is Rietveld 408576698