diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 14:23:42 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 14:23:42 +0000 |
commit | 7638b15cfd0a0ae642d65161ab0ea361e23ae4c6 (patch) | |
tree | 6bd4261b8317ddc836cf30996ac897975f61f108 /chrome/renderer/indexed_db_dispatcher.cc | |
parent | 9a86b04e0f0df56fcc55eee8b1d380cdc83bc54b (diff) | |
download | chromium_src-7638b15cfd0a0ae642d65161ab0ea361e23ae4c6.zip chromium_src-7638b15cfd0a0ae642d65161ab0ea361e23ae4c6.tar.gz chromium_src-7638b15cfd0a0ae642d65161ab0ea361e23ae4c6.tar.bz2 |
Implement the Chrome half of setVersion.
TEST=setVersion layout test works in non-single-process-mode
BUG=none
Review URL: http://codereview.chromium.org/3116043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57988 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/indexed_db_dispatcher.cc')
-rw-r--r-- | chrome/renderer/indexed_db_dispatcher.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/renderer/indexed_db_dispatcher.cc b/chrome/renderer/indexed_db_dispatcher.cc index ac1a3e4..1c105d0 100644 --- a/chrome/renderer/indexed_db_dispatcher.cc +++ b/chrome/renderer/indexed_db_dispatcher.cc @@ -105,6 +105,18 @@ void IndexedDBDispatcher::RequestIDBDatabaseRemoveObjectStore( idb_database_id, pending_callbacks_.Add(callbacks.release()), name)); } +void IndexedDBDispatcher::RequestIDBDatabaseSetVersion( + const string16& version, + WebIDBCallbacks* callbacks_ptr, + int32 idb_database_id) { + scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); + + RenderThread::current()->Send( + new ViewHostMsg_IDBDatabaseSetVersion( + idb_database_id, pending_callbacks_.Add(callbacks.release()), + version)); +} + void IndexedDBDispatcher::RequestIDBObjectStoreGet( const IndexedDBKey& key, WebKit::WebIDBCallbacks* callbacks_ptr, int32 idb_object_store_id) { |