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

Unified Diff: content/child/indexed_db/webidbcursor_impl.h

Issue 240003010: The chromium-side backchannel plumbing for blobs in IDB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged out Created 6 years, 8 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/child/indexed_db/webidbcursor_impl.h
diff --git a/content/child/indexed_db/webidbcursor_impl.h b/content/child/indexed_db/webidbcursor_impl.h
index 5794b00735eafd24b3f5988f47fd66a253b81c44..f68da6a75aaee32ee95adb883d0a6867bc2f2939 100644
--- a/content/child/indexed_db/webidbcursor_impl.h
+++ b/content/child/indexed_db/webidbcursor_impl.h
@@ -38,9 +38,11 @@ class CONTENT_EXPORT WebIDBCursorImpl
blink::WebIDBCallbacks* callback);
virtual void postSuccessHandlerCallback();
- void SetPrefetchData(const std::vector<IndexedDBKey>& keys,
- const std::vector<IndexedDBKey>& primary_keys,
- const std::vector<blink::WebData>& values);
+ void SetPrefetchData(
+ const std::vector<IndexedDBKey>& keys,
+ const std::vector<IndexedDBKey>& primary_keys,
+ const std::vector<blink::WebData>& values,
+ const std::vector<blink::WebVector<blink::WebBlobInfo> >& blob_info);
void CachedAdvance(unsigned long count, blink::WebIDBCallbacks* callbacks);
void CachedContinue(blink::WebIDBCallbacks* callbacks);
@@ -64,6 +66,7 @@ class CONTENT_EXPORT WebIDBCursorImpl
std::deque<IndexedDBKey> prefetch_keys_;
std::deque<IndexedDBKey> prefetch_primary_keys_;
std::deque<blink::WebData> prefetch_values_;
+ std::deque<blink::WebVector<blink::WebBlobInfo> > prefetch_blob_info_;
// Number of continue calls that would qualify for a pre-fetch.
int continue_count_;
« no previous file with comments | « content/child/indexed_db/indexed_db_dispatcher_unittest.cc ('k') | content/child/indexed_db/webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698