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

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

Issue 10854081: IndexedDB: Simplify cursor data callbacks. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 8a7d377488c321f8fd70d621ec08a4ba878cc610..f22e47390b442c9afce7ab1b1b34ee1dff1bd2a5 100644
--- a/content/common/indexed_db/proxy_webidbcursor_impl.h
+++ b/content/common/indexed_db/proxy_webidbcursor_impl.h
@@ -21,10 +21,6 @@ class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
explicit RendererWebIDBCursorImpl(int32 idb_cursor_id);
virtual ~RendererWebIDBCursorImpl();
- // TODO(jsbell): Remove the following three methods after WK92278 rolls.
- virtual WebKit::WebIDBKey key() const;
- virtual WebKit::WebIDBKey primaryKey() const;
- virtual WebKit::WebSerializedScriptValue value() const;
virtual void advance(unsigned long count,
WebKit::WebIDBCallbacks* callback,
WebKit::WebExceptionCode& ec);
@@ -35,10 +31,6 @@ class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
WebKit::WebExceptionCode& ec);
virtual void postSuccessHandlerCallback();
- // TODO(jsbell): Remove the following method after WK92278 rolls.
- void SetKeyAndValue(const content::IndexedDBKey& key,
- const content::IndexedDBKey& primary_key,
- const content::SerializedScriptValue& value);
void SetPrefetchData(
const std::vector<content::IndexedDBKey>& keys,
const std::vector<content::IndexedDBKey>& primary_keys,
@@ -50,11 +42,6 @@ class RendererWebIDBCursorImpl : public WebKit::WebIDBCursor {
private:
int32 idb_cursor_id_;
- // TODO(jsbell): Remove the following three members after WK92278 rolls.
- content::IndexedDBKey key_;
- content::IndexedDBKey primary_key_;
- content::SerializedScriptValue value_;
-
// Prefetch cache.
std::deque<content::IndexedDBKey> prefetch_keys_;
std::deque<content::IndexedDBKey> prefetch_primary_keys_;
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/proxy_webidbcursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698