summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/indexed_db_dispatcher.h
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 16:50:42 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 16:50:42 +0000
commit2758531ff10c3e0b1141fa34fc9bb18838079a4e (patch)
tree55141f7406e66adef6101095a668041f96806c21 /chrome/renderer/indexed_db_dispatcher.h
parent45be8ec632f31d816a93e01d03dd1a676ab553cd (diff)
downloadchromium_src-2758531ff10c3e0b1141fa34fc9bb18838079a4e.zip
chromium_src-2758531ff10c3e0b1141fa34fc9bb18838079a4e.tar.gz
chromium_src-2758531ff10c3e0b1141fa34fc9bb18838079a4e.tar.bz2
IndexedDB: Update calls to WebIDBObjectStore::put().
The put() function has been updated to take a PutMode parameter rather than the addOnly bool. Update calls, and ship the PutMode across IPC. BUG=64052 TEST=none Review URL: http://codereview.chromium.org/6250049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/indexed_db_dispatcher.h')
-rw-r--r--chrome/renderer/indexed_db_dispatcher.h3
1 files changed, 2 insertions, 1 deletions
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,