Index: content/browser/service_worker/service_worker_read_from_cache_job.h |
diff --git a/content/browser/service_worker/service_worker_read_from_cache_job.h b/content/browser/service_worker/service_worker_read_from_cache_job.h |
index fccde7abe60fbdb53bfb47cb27ecbfe223bc706d..a62893d55fc48ce580fb2ae20633fd39f092e57a 100644 |
--- a/content/browser/service_worker/service_worker_read_from_cache_job.h |
+++ b/content/browser/service_worker/service_worker_read_from_cache_job.h |
@@ -51,13 +51,14 @@ class CONTENT_EXPORT ServiceWorkerReadFromCacheJob |
void GetResponseInfo(net::HttpResponseInfo* info) override; |
int GetResponseCode() const override; |
void SetExtraRequestHeaders(const net::HttpRequestHeaders& headers) override; |
- bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) override; |
+ int ReadRawData(net::IOBuffer* buf, int buf_size) override; |
// Reader completion callbacks. |
void OnReadInfoComplete(int result); |
void OnReadComplete(int result); |
// Helpers |
+ void StartAsync(); |
const net::HttpResponseInfo* http_info() const; |
bool is_range_request() const { return range_requested_.IsValid(); } |
void SetupRangeResponse(int response_data_size); |