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

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: Fixed braino: Added SDHC enable to the tests that need it. 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..a56e6a7f684c8cfae2b9d4788b29e038e79e2586 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,9 @@ class MockNetworkTransaction
return websocket_handshake_stream_create_helper_;
}
net::RequestPriority priority() const { return priority_; }
+ const net::HttpRequestInfo* http_request_info() const {
mef 2014/07/23 18:34:30 nit: nl above, maybe name it |request()| to match
Randy Smith (Not in Mondays) 2014/07/29 23:44:22 The nl doesn't fit to my eye with the relationship
mef 2014/07/30 17:14:58 Acknowledged.
+ return request_;
+ }
private:
int StartInternal(const net::HttpRequestInfo* request,

Powered by Google App Engine
This is Rietveld 408576698