Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h

Issue 2480293004: Mandate unique_ptr for base::IDMap in IDMapOwnPointer mode. (Closed)
Patch Set: Make changes requested by danakj, fix a few more headers Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
index e80412d176736a28baf818f924c91f9f395dc676..7e1d658407f99ae0183a204f4fb3bb45b3df4b52 100644
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheStorage.h
@@ -41,14 +41,14 @@ class WebServiceWorkerCacheStorage {
// dispatchOpen() can return a WebServiceWorkerCache object. These objects
// are owned by Blink and should be destroyed when they are no longer needed.
- virtual void dispatchHas(CacheStorageCallbacks*,
+ virtual void dispatchHas(std::unique_ptr<CacheStorageCallbacks>,
const WebString& cacheName) = 0;
- virtual void dispatchOpen(CacheStorageWithCacheCallbacks*,
+ virtual void dispatchOpen(std::unique_ptr<CacheStorageWithCacheCallbacks>,
const WebString& cacheName) = 0;
- virtual void dispatchDelete(CacheStorageCallbacks*,
+ virtual void dispatchDelete(std::unique_ptr<CacheStorageCallbacks>,
const WebString& cacheName) = 0;
- virtual void dispatchKeys(CacheStorageKeysCallbacks*) = 0;
- virtual void dispatchMatch(CacheStorageMatchCallbacks*,
+ virtual void dispatchKeys(std::unique_ptr<CacheStorageKeysCallbacks>) = 0;
+ virtual void dispatchMatch(std::unique_ptr<CacheStorageMatchCallbacks>,
const WebServiceWorkerRequest&,
const WebServiceWorkerCache::QueryParams&) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698