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

Unified Diff: content/child/indexed_db/webidbfactory_impl.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: content/child/indexed_db/webidbfactory_impl.h
diff --git a/content/child/indexed_db/webidbfactory_impl.h b/content/child/indexed_db/webidbfactory_impl.h
index ad5b8ecad8bed3819b8cd771689c889e510625be..7e2fca92496dbc46154268aa1575e570c6c33d28 100644
--- a/content/child/indexed_db/webidbfactory_impl.h
+++ b/content/child/indexed_db/webidbfactory_impl.h
@@ -12,6 +12,7 @@
#include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h"
namespace blink {
+class WebSecurityOrigin;
class WebString;
}
@@ -25,16 +26,16 @@ class WebIDBFactoryImpl : public blink::WebIDBFactory {
// See WebIDBFactory.h for documentation on these functions.
void getDatabaseNames(blink::WebIDBCallbacks* callbacks,
- const blink::WebString& database_identifier) override;
+ const blink::WebSecurityOrigin& origin) override;
void open(const blink::WebString& name,
long long version,
long long transaction_id,
blink::WebIDBCallbacks* callbacks,
blink::WebIDBDatabaseCallbacks* databaseCallbacks,
- const blink::WebString& database_identifier) override;
+ const blink::WebSecurityOrigin& origin) override;
void deleteDatabase(const blink::WebString& name,
blink::WebIDBCallbacks* callbacks,
- const blink::WebString& database_identifier) override;
+ const blink::WebSecurityOrigin& origin) override;
private:
scoped_refptr<ThreadSafeSender> thread_safe_sender_;

Powered by Google App Engine
This is Rietveld 408576698