| Index: content/renderer/cache_storage/webserviceworkercachestorage_impl.h
|
| diff --git a/content/renderer/cache_storage/webserviceworkercachestorage_impl.h b/content/renderer/cache_storage/webserviceworkercachestorage_impl.h
|
| index de77cad88c61ab28b08d8ace37a4c7dabfa733e1..59785b39ea07710c80923b511f2ab69c4e065208 100644
|
| --- a/content/renderer/cache_storage/webserviceworkercachestorage_impl.h
|
| +++ b/content/renderer/cache_storage/webserviceworkercachestorage_impl.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_
|
| #define CONTENT_RENDERER_SERVICE_WORKER_WEB_SERVICE_WORKER_CACHE_STORAGE_IMPL_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "base/macros.h"
|
| #include "content/child/thread_safe_sender.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| @@ -33,15 +35,16 @@ class WebServiceWorkerCacheStorageImpl
|
| ~WebServiceWorkerCacheStorageImpl() override;
|
|
|
| // From WebServiceWorkerCacheStorage:
|
| - void dispatchHas(CacheStorageCallbacks* callbacks,
|
| + void dispatchHas(std::unique_ptr<CacheStorageCallbacks> callbacks,
|
| const blink::WebString& cacheName) override;
|
| - void dispatchOpen(CacheStorageWithCacheCallbacks* callbacks,
|
| + void dispatchOpen(std::unique_ptr<CacheStorageWithCacheCallbacks> callbacks,
|
| const blink::WebString& cacheName) override;
|
| - void dispatchDelete(CacheStorageCallbacks* callbacks,
|
| + void dispatchDelete(std::unique_ptr<CacheStorageCallbacks> callbacks,
|
| const blink::WebString& cacheName) override;
|
| - void dispatchKeys(CacheStorageKeysCallbacks* callbacks) override;
|
| + void dispatchKeys(
|
| + std::unique_ptr<CacheStorageKeysCallbacks> callbacks) override;
|
| void dispatchMatch(
|
| - CacheStorageMatchCallbacks* callbacks,
|
| + std::unique_ptr<CacheStorageMatchCallbacks> callbacks,
|
| const blink::WebServiceWorkerRequest& request,
|
| const blink::WebServiceWorkerCache::QueryParams& query_params) override;
|
|
|
|
|