Chromium Code Reviews| Index: components/cronet/android/cronet_url_request_adapter.h |
| diff --git a/components/cronet/android/cronet_url_request_adapter.h b/components/cronet/android/cronet_url_request_adapter.h |
| index 6699808e1a3b450dd54e473a5979653b6b835634..9c7207d1197fc2e85febbb71267c33d84b174413 100644 |
| --- a/components/cronet/android/cronet_url_request_adapter.h |
| +++ b/components/cronet/android/cronet_url_request_adapter.h |
| @@ -121,6 +121,10 @@ class CronetURLRequestAdapter : public net::URLRequest::Delegate { |
| // prior to decompression. |
| int64 GetTotalReceivedBytes() const; |
| + // Bypasses cache. If context is not set up to use cache, this call has no |
| + // effect. |
| + void BypassCache(); |
| + |
| // net::URLRequest::Delegate overrides. |
| void OnReceivedRedirect(net::URLRequest* request, |
| const net::RedirectInfo& redirect_info, |
| @@ -139,6 +143,7 @@ class CronetURLRequestAdapter : public net::URLRequest::Delegate { |
| const GURL initial_url_; |
| const net::RequestPriority initial_priority_; |
| std::string initial_method_; |
| + bool bypass_cache_; |
|
mef
2015/01/30 16:06:08
I'd call it 'initial_bypass_cache_' to match other
xunjieli
2015/01/30 22:39:46
Removed bypass_cache_ and added load_flags_.
|
| net::HttpRequestHeaders initial_request_headers_; |
| scoped_refptr<net::IOBufferWithSize> read_buffer_; |