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

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

Issue 2513123002: Remove IndexedDBDispatcher::init_params() (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/indexed_db_dispatcher.h
diff --git a/content/child/indexed_db/indexed_db_dispatcher.h b/content/child/indexed_db/indexed_db_dispatcher.h
index 3d75d37bc6dc1ba54beb815020c0774b9306c01e..fe15aafc86599df4c37ca7ea66bc670c81e49c7e 100644
--- a/content/child/indexed_db/indexed_db_dispatcher.h
+++ b/content/child/indexed_db/indexed_db_dispatcher.h
@@ -129,13 +129,6 @@ class CONTENT_EXPORT IndexedDBDispatcher : public WorkerThread::Observer {
static int32_t CurrentWorkerId() { return WorkerThread::GetCurrentId(); }
- template <typename T>
- void init_params(T* params, blink::WebIDBCallbacks* callbacks_ptr) {
- std::unique_ptr<blink::WebIDBCallbacks> callbacks(callbacks_ptr);
- params->ipc_thread_id = CurrentWorkerId();
- params->ipc_callbacks_id = pending_callbacks_.Add(callbacks.release());
- }
-
// IDBCallback message handlers.
void OnSuccessCursorContinue(
const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698