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

Unified Diff: third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h

Issue 1851293002: Remove BLINK_ASSERT() and BLINK_ASSERT_NOT_REACHED() macros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check the |callbacks| for nullptr and use explicit delete. Created 4 years, 8 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/public/platform/modules/indexeddb/WebIDBFactory.h
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
index 25ead72c203f581c2dc3e71fd5cc70e07060714b..1cb96a0c4a255d025c5a93a6f595989bb7af4e5f 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
@@ -42,9 +42,9 @@ class WebIDBFactory {
public:
virtual ~WebIDBFactory() { }
- virtual void getDatabaseNames(WebIDBCallbacks* callbacks, const WebSecurityOrigin&) { BLINK_ASSERT_NOT_REACHED(); }
- virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks* callbacks, WebIDBDatabaseCallbacks* databaseCallbacks, const WebSecurityOrigin&) { BLINK_ASSERT_NOT_REACHED(); }
- virtual void deleteDatabase(const WebString& name, WebIDBCallbacks* callbacks, const WebSecurityOrigin&) { BLINK_ASSERT_NOT_REACHED(); }
+ virtual void getDatabaseNames(WebIDBCallbacks*, const WebSecurityOrigin&) = 0;
+ virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks*, WebIDBDatabaseCallbacks*, const WebSecurityOrigin&) = 0;
+ virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698