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

Unified Diff: Source/WebKit/chromium/public/WebIDBFactory.h

Issue 13843016: Prepare to remove WebSecurityOrigin from IDB backend (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused static Created 7 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
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/IDBFactoryBackendProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/public/WebIDBFactory.h
diff --git a/Source/WebKit/chromium/public/WebIDBFactory.h b/Source/WebKit/chromium/public/WebIDBFactory.h
index d4a58db55df80cec7de07ab720bc1c3c4356703c..83caaf72dd03d7c5a372e9d6a84b511c4c270705 100644
--- a/Source/WebKit/chromium/public/WebIDBFactory.h
+++ b/Source/WebKit/chromium/public/WebIDBFactory.h
@@ -53,11 +53,14 @@ public:
virtual ~WebIDBFactory() { }
virtual void getDatabaseNames(WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin, WebFrame* frame, const WebString& dataDir) { WEBKIT_ASSERT_NOT_REACHED(); }
+ virtual void getDatabaseNames(WebIDBCallbacks* callbacks, const WebString& databaseIdentifier, const WebString& dataDir) { getDatabaseNames(callbacks, WebSecurityOrigin::createFromDatabaseIdentifier(databaseIdentifier), 0, dataDir); }
// The WebKit implementation of open ignores the WebFrame* parameter.
virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks* callbacks, WebIDBDatabaseCallbacks* databaseCallbacks, const WebSecurityOrigin& origin, WebFrame* frame, const WebString& dataDir) { WEBKIT_ASSERT_NOT_REACHED(); }
+ virtual void open(const WebString& name, long long version, long long transactionId, WebIDBCallbacks* callbacks, WebIDBDatabaseCallbacks* databaseCallbacks, const WebString& databaseIdentifier, const WebString& dataDir) { open(name, version, transactionId, callbacks, databaseCallbacks, WebSecurityOrigin::createFromDatabaseIdentifier(databaseIdentifier), 0, dataDir); }
virtual void deleteDatabase(const WebString& name, WebIDBCallbacks*, const WebSecurityOrigin&, WebFrame*, const WebString& dataDir) { WEBKIT_ASSERT_NOT_REACHED(); }
+ virtual void deleteDatabase(const WebString& name, WebIDBCallbacks* callbacks, const WebString& databaseIdentifier, const WebString& dataDir) { deleteDatabase(name, callbacks, WebSecurityOrigin::createFromDatabaseIdentifier(databaseIdentifier), 0, dataDir); }
};
// Initializes IndexedDB support.
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/IDBFactoryBackendProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698