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

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: 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..c211d47b4c5914e2e63cc7928ad5fb67fd15512e 100644
--- a/content/common/indexed_db/proxy_webidbcursor_impl.h
+++ b/content/common/indexed_db/proxy_webidbcursor_impl.h
@@ -32,12 +32,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 +51,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_;

Powered by Google App Engine
This is Rietveld 408576698