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

Unified Diff: chrome/renderer/renderer_webidbdatabase_impl.cc

Issue 3107029: Revert 56862 - Add transaction coordinator. Allow idle transactions to be abo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « chrome/renderer/renderer_webidbdatabase_impl.h ('k') | chrome/renderer/renderer_webidbfactory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbdatabase_impl.cc
===================================================================
--- chrome/renderer/renderer_webidbdatabase_impl.cc (revision 56862)
+++ chrome/renderer/renderer_webidbdatabase_impl.cc (working copy)
@@ -7,13 +7,11 @@
#include "chrome/common/render_messages.h"
#include "chrome/renderer/render_thread.h"
#include "chrome/renderer/indexed_db_dispatcher.h"
-#include "chrome/renderer/renderer_webidbtransaction_impl.h"
#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
using WebKit::WebDOMStringList;
using WebKit::WebFrame;
using WebKit::WebIDBCallbacks;
-using WebKit::WebIDBTransaction;
using WebKit::WebString;
using WebKit::WebVector;
@@ -69,18 +67,3 @@
dispatcher->RequestIDBDatabaseCreateObjectStore(
name, key_path, auto_increment, callbacks, idb_database_id_);
}
-
-WebKit::WebIDBTransaction* RendererWebIDBDatabaseImpl::transaction(
- const WebDOMStringList& names, unsigned short mode,
- unsigned long timeout) {
- std::vector<string16> object_stores(names.length());
- for (unsigned int i = 0; i < names.length(); ++i) {
- object_stores.push_back(names.item(i));
- }
-
- int transaction_id;
- RenderThread::current()->Send(
- new ViewHostMsg_IDBDatabaseTransaction(
- idb_database_id_, object_stores, mode, timeout, &transaction_id));
- return new RendererWebIDBTransactionImpl(transaction_id);
-}
« no previous file with comments | « chrome/renderer/renderer_webidbdatabase_impl.h ('k') | chrome/renderer/renderer_webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698