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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.h

Issue 2004313003: DevTools: migrate from OwnPtr to std::unique_ptr for inspector protocol classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined Created 4 years, 7 months 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/Source/modules/cachestorage/InspectorCacheStorageAgent.h
diff --git a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.h b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.h
index 8e61f5f291e09e6e962ebe1ba3558894a5eb7695..bbeb19f880f31b8c866ab2d9841e270113bba17c 100644
--- a/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.h
+++ b/third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.h
@@ -26,10 +26,10 @@ public:
DECLARE_VIRTUAL_TRACE();
- void requestCacheNames(ErrorString*, const String& in_securityOrigin, PassOwnPtr<RequestCacheNamesCallback>) override;
- void requestEntries(ErrorString*, const String& in_cacheId, int in_skipCount, int in_pageSize, PassOwnPtr<RequestEntriesCallback>) override;
- void deleteCache(ErrorString*, const String& in_cacheId, PassOwnPtr<DeleteCacheCallback>) override;
- void deleteEntry(ErrorString*, const String& in_cacheId, const String& in_request, PassOwnPtr<DeleteEntryCallback>) override;
+ void requestCacheNames(ErrorString*, const String& in_securityOrigin, std::unique_ptr<RequestCacheNamesCallback>) override;
+ void requestEntries(ErrorString*, const String& in_cacheId, int in_skipCount, int in_pageSize, std::unique_ptr<RequestEntriesCallback>) override;
+ void deleteCache(ErrorString*, const String& in_cacheId, std::unique_ptr<DeleteCacheCallback>) override;
+ void deleteEntry(ErrorString*, const String& in_cacheId, const String& in_request, std::unique_ptr<DeleteEntryCallback>) override;
private:
explicit InspectorCacheStorageAgent();

Powered by Google App Engine
This is Rietveld 408576698