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

Unified Diff: chrome/browser/in_process_webkit/indexed_db_callbacks.h

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 | « no previous file | chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/in_process_webkit/indexed_db_callbacks.h
===================================================================
--- chrome/browser/in_process_webkit/indexed_db_callbacks.h (revision 56862)
+++ chrome/browser/in_process_webkit/indexed_db_callbacks.h (working copy)
@@ -15,7 +15,6 @@
#include "chrome/common/serialized_script_value.h"
#include "third_party/WebKit/WebKit/chromium/public/WebIDBCallbacks.h"
#include "third_party/WebKit/WebKit/chromium/public/WebIDBCursor.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebIDBTransactionCallbacks.h"
#include "third_party/WebKit/WebKit/chromium/public/WebIDBDatabaseError.h"
// Template magic to figure out what message to send to the renderer based on
@@ -159,27 +158,5 @@
DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
};
-class IndexedDBTransactionCallbacks
- : public WebKit::WebIDBTransactionCallbacks {
-public:
- IndexedDBTransactionCallbacks(
- IndexedDBDispatcherHost* dispatcher_host, int transaction_id)
- : dispatcher_host_(dispatcher_host), transaction_id_(transaction_id) {
- }
-
- virtual void onAbort() {
- dispatcher_host_->Send(new ViewMsg_IDBTransactionCallbacksAbort(
- transaction_id_));
- }
-
- virtual int id() const {
- return transaction_id_;
- }
-
-private:
- int transaction_id_;
- scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
-};
-
#endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
« no previous file with comments | « no previous file | chrome/browser/in_process_webkit/indexed_db_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698