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

Side by Side Diff: content/common/indexed_db/proxy_webidbdatabase_impl.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/indexed_db/proxy_webidbdatabase_impl.h" 5 #include "content/common/indexed_db/proxy_webidbdatabase_impl.h"
6 6
7 #include "content/common/child_thread.h" 7 #include "content/common/child_thread.h"
8 #include "content/common/indexed_db/indexed_db_messages.h" 8 #include "content/common/indexed_db/indexed_db_messages.h"
9 #include "content/common/indexed_db/indexed_db_dispatcher.h" 9 #include "content/common/indexed_db/indexed_db_dispatcher.h"
10 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.h" 10 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.h"
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 if (!transaction_id) 141 if (!transaction_id)
142 return NULL; 142 return NULL;
143 return new RendererWebIDBTransactionImpl(transaction_id); 143 return new RendererWebIDBTransactionImpl(transaction_id);
144 } 144 }
145 145
146 void RendererWebIDBDatabaseImpl::close() { 146 void RendererWebIDBDatabaseImpl::close() {
147 IndexedDBDispatcher* dispatcher = 147 IndexedDBDispatcher* dispatcher =
148 IndexedDBDispatcher::ThreadSpecificInstance(); 148 IndexedDBDispatcher::ThreadSpecificInstance();
149 dispatcher->RequestIDBDatabaseClose(idb_database_id_); 149 dispatcher->RequestIDBDatabaseClose(idb_database_id_);
150 } 150 }
151
152 // TODO(jsbell): Remove once WK90411 has rolled.
153 void RendererWebIDBDatabaseImpl::open(WebIDBDatabaseCallbacks* callbacks) {
154 IndexedDBDispatcher* dispatcher =
155 IndexedDBDispatcher::ThreadSpecificInstance();
156 DCHECK(dispatcher);
157 dispatcher->RequestIDBDatabaseOpen(callbacks, idb_database_id_);
158 }
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbdatabase_impl.h ('k') | content/common/indexed_db/proxy_webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698