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

Unified Diff: net/http/http_transaction_test_util.h

Issue 380003002: Improve testing for SDCH. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Next round of comments incorporated. Created 6 years, 5 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_transaction_test_util.h
diff --git a/net/http/http_transaction_test_util.h b/net/http/http_transaction_test_util.h
index d340fc9c05023732c0ddc4309fbae6cbbcab84b7..0803ef59ddcc6c15eb7f7fe32c4324d20ed13a46 100644
--- a/net/http/http_transaction_test_util.h
+++ b/net/http/http_transaction_test_util.h
@@ -28,6 +28,7 @@
namespace net {
class HttpRequestHeaders;
class IOBuffer;
+struct HttpRequestInfo;
}
//-----------------------------------------------------------------------------
@@ -227,6 +228,7 @@ class MockNetworkTransaction
return websocket_handshake_stream_create_helper_;
}
net::RequestPriority priority() const { return priority_; }
+ const net::HttpRequestInfo* request() const { return request_; }
private:
int StartInternal(const net::HttpRequestInfo* request,

Powered by Google App Engine
This is Rietveld 408576698