Index: net/http/http_cache_transaction.h |
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h |
index 9c69817f98c5c5dde45e1d62b5fb85316936c220..7bbad0755f7b72818cf5cc6a5f025575ebceea4c 100644 |
--- a/net/http/http_cache_transaction.h |
+++ b/net/http/http_cache_transaction.h |
@@ -131,7 +131,9 @@ class HttpCache::Transaction : public HttpTransaction { |
virtual void SetPriority(RequestPriority priority) OVERRIDE; |
virtual void SetWebSocketHandshakeStreamCreateHelper( |
net::WebSocketHandshakeStreamBase::CreateHelper* create_helper) OVERRIDE; |
- |
+ virtual void SetBeforeNetworkStartCallback( |
+ const base::Callback<void(bool*)>& callback) OVERRIDE; |
mmenke
2014/01/07 15:26:23
Should make the callback a typedef with a comment
jkarlin
2014/01/07 16:19:32
Done.
|
+ virtual int ResumeNetworkStart() OVERRIDE; |
private: |
mmenke
2014/01/07 15:26:23
nit: Blank line before private.
jkarlin
2014/01/07 16:19:32
Done.
|
static const size_t kNumValidationHeaders = 2; |
// Helper struct to pair a header name with its value, for |
@@ -438,6 +440,8 @@ class HttpCache::Transaction : public HttpTransaction { |
WebSocketHandshakeStreamBase::CreateHelper* |
websocket_handshake_stream_base_create_helper_; |
+ base::Callback<void(bool*)> before_network_start_callback_; |
+ |
DISALLOW_COPY_AND_ASSIGN(Transaction); |
}; |