diff options
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/indexed_db_dispatcher.cc | 4 | ||||
-rw-r--r-- | chrome/renderer/indexed_db_dispatcher.h | 3 | ||||
-rw-r--r-- | chrome/renderer/renderer_webidbobjectstore_impl.cc | 4 | ||||
-rw-r--r-- | chrome/renderer/renderer_webidbobjectstore_impl.h | 2 |
4 files changed, 7 insertions, 6 deletions
diff --git a/chrome/renderer/indexed_db_dispatcher.cc b/chrome/renderer/indexed_db_dispatcher.cc index 41cd38d..d425b41 100644 --- a/chrome/renderer/indexed_db_dispatcher.cc +++ b/chrome/renderer/indexed_db_dispatcher.cc @@ -239,7 +239,7 @@ void IndexedDBDispatcher::RequestIDBObjectStoreGet( void IndexedDBDispatcher::RequestIDBObjectStorePut( const SerializedScriptValue& value, const IndexedDBKey& key, - bool add_only, + WebKit::WebIDBObjectStore::PutMode put_mode, WebIDBCallbacks* callbacks_ptr, int32 idb_object_store_id, const WebIDBTransaction& transaction, @@ -250,7 +250,7 @@ void IndexedDBDispatcher::RequestIDBObjectStorePut( params.response_id = pending_callbacks_.Add(callbacks.release()); params.serialized_value = value; params.key = key; - params.add_only = add_only; + params.put_mode = put_mode; params.transaction_id = TransactionId(transaction); RenderThread::current()->Send(new IndexedDBHostMsg_ObjectStorePut( params, ec)); diff --git a/chrome/renderer/indexed_db_dispatcher.h b/chrome/renderer/indexed_db_dispatcher.h index 44da3d4..4f5dc44 100644 --- a/chrome/renderer/indexed_db_dispatcher.h +++ b/chrome/renderer/indexed_db_dispatcher.h @@ -12,6 +12,7 @@ #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCallbacks.h" class IndexedDBKey; @@ -98,7 +99,7 @@ class IndexedDBDispatcher : public IPC::Channel::Listener { void RequestIDBObjectStorePut(const SerializedScriptValue& value, const IndexedDBKey& key, - bool add_only, + WebKit::WebIDBObjectStore::PutMode putMode, WebKit::WebIDBCallbacks* callbacks, int32 idb_object_store_id, const WebKit::WebIDBTransaction& transaction, diff --git a/chrome/renderer/renderer_webidbobjectstore_impl.cc b/chrome/renderer/renderer_webidbobjectstore_impl.cc index 41c96ca..c2bc011 100644 --- a/chrome/renderer/renderer_webidbobjectstore_impl.cc +++ b/chrome/renderer/renderer_webidbobjectstore_impl.cc @@ -83,14 +83,14 @@ void RendererWebIDBObjectStoreImpl::get( void RendererWebIDBObjectStoreImpl::put( const WebSerializedScriptValue& value, const WebIDBKey& key, - bool add_only, + PutMode put_mode, WebIDBCallbacks* callbacks, const WebIDBTransaction& transaction, WebExceptionCode& ec) { IndexedDBDispatcher* dispatcher = RenderThread::current()->indexed_db_dispatcher(); dispatcher->RequestIDBObjectStorePut( - SerializedScriptValue(value), IndexedDBKey(key), add_only, callbacks, + SerializedScriptValue(value), IndexedDBKey(key), put_mode, callbacks, idb_object_store_id_, transaction, &ec); } diff --git a/chrome/renderer/renderer_webidbobjectstore_impl.h b/chrome/renderer/renderer_webidbobjectstore_impl.h index c6897f6..e1be85a 100644 --- a/chrome/renderer/renderer_webidbobjectstore_impl.h +++ b/chrome/renderer/renderer_webidbobjectstore_impl.h @@ -35,7 +35,7 @@ class RendererWebIDBObjectStoreImpl : public WebKit::WebIDBObjectStore { WebKit::WebExceptionCode& ec); virtual void put(const WebKit::WebSerializedScriptValue& value, const WebKit::WebIDBKey& key, - bool add_only, + PutMode put_mode, WebKit::WebIDBCallbacks* callbacks, const WebKit::WebIDBTransaction& transaction, WebKit::WebExceptionCode& ec); |