Index: content/browser/cache_storage/cache_storage_cache.h |
diff --git a/content/browser/cache_storage/cache_storage_cache.h b/content/browser/cache_storage/cache_storage_cache.h |
index beb7fdd0cc1847c64fbbd56addb7f0bd2053d3ab..7b83f564d70bcf035eb0326e7cd5e07c66a660c5 100644 |
--- a/content/browser/cache_storage/cache_storage_cache.h |
+++ b/content/browser/cache_storage/cache_storage_cache.h |
@@ -5,7 +5,7 @@ |
#ifndef CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ |
#define CONTENT_BROWSER_CACHE_STORAGE_CACHE_STORAGE_CACHE_H_ |
-#include <list> |
+#include <vector> |
#include "base/callback.h" |
#include "base/files/file_path.h" |
@@ -136,17 +136,18 @@ class CONTENT_EXPORT CacheStorageCache |
// Match callbacks |
void MatchImpl(scoped_ptr<ServiceWorkerFetchRequest> request, |
const ResponseCallback& callback); |
- void MatchDidOpenEntry(scoped_ptr<MatchContext> match_context, int rv); |
+ void MatchDidOpenEntry(scoped_ptr<disk_cache::Entry*> entry_ptr, |
+ scoped_ptr<MatchContext> match_context, |
+ int rv); |
void MatchDidReadMetadata(scoped_ptr<MatchContext> match_context, |
scoped_ptr<CacheMetadata> headers); |
- void MatchDidReadResponseBodyData(scoped_ptr<MatchContext> match_context, |
- int rv); |
- void MatchDoneWithBody(scoped_ptr<MatchContext> match_context); |
// Put callbacks. |
void PutImpl(scoped_ptr<PutContext> put_context); |
void PutDidDelete(scoped_ptr<PutContext> put_context, ErrorType delete_error); |
- void PutDidCreateEntry(scoped_ptr<PutContext> put_context, int rv); |
+ void PutDidCreateEntry(scoped_ptr<disk_cache::Entry*> entry_ptr, |
+ scoped_ptr<PutContext> put_context, |
+ int rv); |
void PutDidWriteHeaders(scoped_ptr<PutContext> put_context, |
int expected_bytes, |
int rv); |