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

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

Issue 1755343002: IndexedDB: Pass origin to platform/IPC, rather than DatabaseIdentifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 a96b014dbeb36e9415b65f4b066551dfc40a9cee..25ead72c203f581c2dc3e71fd5cc70e07060714b 100644
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h
@@ -30,23 +30,21 @@
#define WebIDBFactory_h
#include "public/platform/WebCommon.h"
-#include "public/platform/WebString.h"
-#include "public/platform/WebVector.h"
-#include "public/platform/modules/indexeddb/WebIDBCallbacks.h"
-#include "public/platform/modules/indexeddb/WebIDBMetadata.h"
namespace blink {
-class WebIDBDatabase;
+class WebIDBCallbacks;
class WebIDBDatabaseCallbacks;
+class WebSecurityOrigin;
+class WebString;
class WebIDBFactory {
public:
virtual ~WebIDBFactory() { }
- virtual void getDatabaseNames(WebIDBCallbacks* callbacks, const WebString& databaseIdentifier) { BLINK_ASSERT_NOT_REACHED(); }
- virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks* callbacks, WebIDBDatabaseCallbacks* databaseCallbacks, const WebString& databaseIdentifier) { BLINK_ASSERT_NOT_REACHED(); }
- virtual void deleteDatabase(const WebString& name, WebIDBCallbacks* callbacks, const WebString& databaseIdentifier) { BLINK_ASSERT_NOT_REACHED(); }
+ 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(); }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698