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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.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/indexeddb/InspectorIndexedDBAgent.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
index a0cb283e50435152fef8439b18b2965c2354d696..ace1c9ae0d0e1e32c528424c0fd23e968d498d9d 100644
--- a/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
+++ b/third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.h
@@ -53,10 +53,10 @@ public:
// Called from the front-end.
void enable(ErrorString*) override;
void disable(ErrorString*) override;
- void requestDatabaseNames(ErrorString*, const String& securityOrigin, PassOwnPtr<RequestDatabaseNamesCallback>) override;
- void requestDatabase(ErrorString*, const String& securityOrigin, const String& databaseName, PassOwnPtr<RequestDatabaseCallback>) override;
- void requestData(ErrorString*, const String& securityOrigin, const String& databaseName, const String& objectStoreName, const String& indexName, int skipCount, int pageSize, const Maybe<protocol::IndexedDB::KeyRange>&, PassOwnPtr<RequestDataCallback>) override;
- void clearObjectStore(ErrorString*, const String& securityOrigin, const String& databaseName, const String& objectStoreName, PassOwnPtr<ClearObjectStoreCallback>) override;
+ void requestDatabaseNames(ErrorString*, const String& securityOrigin, std::unique_ptr<RequestDatabaseNamesCallback>) override;
+ void requestDatabase(ErrorString*, const String& securityOrigin, const String& databaseName, std::unique_ptr<RequestDatabaseCallback>) override;
+ void requestData(ErrorString*, const String& securityOrigin, const String& databaseName, const String& objectStoreName, const String& indexName, int skipCount, int pageSize, const Maybe<protocol::IndexedDB::KeyRange>&, std::unique_ptr<RequestDataCallback>) override;
+ void clearObjectStore(ErrorString*, const String& securityOrigin, const String& databaseName, const String& objectStoreName, std::unique_ptr<ClearObjectStoreCallback>) override;
private:
explicit InspectorIndexedDBAgent(InspectedFrames*);

Powered by Google App Engine
This is Rietveld 408576698