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

Unified Diff: content/common/indexed_db/indexed_db_dispatcher.cc

Issue 10916318: IndexedDB: Remove unused two-phase-open methods following WK90411 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.h ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_dispatcher.cc
diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc
index 1cd4ff04d32db294f21fa3263299aa812107e426..59b6471b48eba24637aee49a6e357f743d21c36b 100644
--- a/content/common/indexed_db/indexed_db_dispatcher.cc
+++ b/content/common/indexed_db/indexed_db_dispatcher.cc
@@ -200,30 +200,6 @@ void IndexedDBDispatcher::RequestIDBCursorDelete(
pending_callbacks_.Remove(response_id);
}
-// TODO(jsbell): Remove this overload once WK90411 rolls.
-void IndexedDBDispatcher::RequestIDBFactoryOpen(
- const string16& name,
- int64 version,
- WebIDBCallbacks* callbacks_ptr,
- const string16& origin,
- WebFrame* web_frame) {
- ResetCursorPrefetchCaches();
- scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
-
- if (!CurrentWorkerId() &&
- !ChildThread::current()->IsWebFrameValid(web_frame))
- return;
-
- IndexedDBHostMsg_FactoryOpen_Params params;
- params.thread_id = CurrentWorkerId();
- params.response_id = pending_callbacks_.Add(callbacks.release());
- params.database_response_id = 0; // Unused in this message.
- params.origin = origin;
- params.name = name;
- params.version = version;
- Send(new IndexedDBHostMsg_FactoryOpenLegacy(params));
-}
-
void IndexedDBDispatcher::RequestIDBFactoryOpen(
const string16& name,
int64 version,
@@ -298,19 +274,6 @@ void IndexedDBDispatcher::RequestIDBDatabaseClose(int32 idb_database_id) {
pending_database_callbacks_.Remove(idb_database_id);
}
-// TODO(jsbell): Remove once WK90411 has rolled.
-void IndexedDBDispatcher::RequestIDBDatabaseOpen(
- WebIDBDatabaseCallbacks* callbacks_ptr,
- int32 idb_database_id) {
- ResetCursorPrefetchCaches();
- scoped_ptr<WebIDBDatabaseCallbacks> callbacks(callbacks_ptr);
-
- DCHECK(!pending_database_callbacks_.Lookup(idb_database_id));
- pending_database_callbacks_.AddWithID(callbacks.release(), idb_database_id);
- Send(new IndexedDBHostMsg_DatabaseOpen(idb_database_id, CurrentWorkerId(),
- idb_database_id));
-}
-
void IndexedDBDispatcher::RequestIDBDatabaseSetVersion(
const string16& version,
WebIDBCallbacks* callbacks_ptr,
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.h ('k') | content/common/indexed_db/indexed_db_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698