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

Unified Diff: content/common/indexed_db/proxy_webidbcursor_impl.h

Issue 12326023: Proxy new WebData-based onSuccess() calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more .data()-related android bustage Created 7 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/common/indexed_db/proxy_webidbcursor_impl.h
diff --git a/content/common/indexed_db/proxy_webidbcursor_impl.h b/content/common/indexed_db/proxy_webidbcursor_impl.h
index 911bf005914b1e3927dcd7604a4e8faddf62d0fc..aeaa12813567672e227173dd1e8a806845932fa2 100644
--- a/content/common/indexed_db/proxy_webidbcursor_impl.h
+++ b/content/common/indexed_db/proxy_webidbcursor_impl.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "content/common/indexed_db/indexed_db_key.h"
#include "content/public/common/serialized_script_value.h"
+#include "third_party/WebKit/Source/Platform/chromium/public/WebData.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h"
@@ -32,12 +33,17 @@ class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
WebKit::WebExceptionCode& ec);
virtual void postSuccessHandlerCallback();
- void SetPrefetchData(
+ void SetPrefetchDataOld(
const std::vector<IndexedDBKey>& keys,
const std::vector<IndexedDBKey>& primary_keys,
const std::vector<SerializedScriptValue>& values);
+ void SetPrefetchData(
+ const std::vector<IndexedDBKey>& keys,
+ const std::vector<IndexedDBKey>& primary_keys,
+ const std::vector<WebKit::WebData>& values);
void CachedContinue(WebKit::WebIDBCallbacks* callbacks);
+ void CachedContinueOld(WebKit::WebIDBCallbacks* callbacks);
void ResetPrefetchCache();
private:
@@ -46,7 +52,7 @@ class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
// Prefetch cache.
std::deque<IndexedDBKey> prefetch_keys_;
std::deque<IndexedDBKey> prefetch_primary_keys_;
- std::deque<SerializedScriptValue> prefetch_values_;
+ std::deque<WebKit::WebData> prefetch_values_;
// Number of continue calls that would qualify for a pre-fetch.
int continue_count_;
« no previous file with comments | « content/common/indexed_db/indexed_db_messages.h ('k') | content/common/indexed_db/proxy_webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698