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

Unified Diff: chrome/renderer/renderer_webidbtransaction_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_webidbtransaction_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbtransaction_impl.cc
===================================================================
--- chrome/renderer/renderer_webidbtransaction_impl.cc (revision 56862)
+++ chrome/renderer/renderer_webidbtransaction_impl.cc (working copy)
@@ -1,60 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/renderer/renderer_WebIDBTransaction_impl.h"
-
-#include "chrome/common/render_messages.h"
-#include "chrome/renderer/render_thread.h"
-#include "chrome/renderer/indexed_db_dispatcher.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebIDBObjectStore.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebIDBTransactionCallbacks.h"
-#include "third_party/WebKit/WebKit/chromium/public/WebString.h"
-
-using WebKit::WebIDBObjectStore;
-using WebKit::WebIDBTransactionCallbacks;
-using WebKit::WebString;
-
-RendererWebIDBTransactionImpl::RendererWebIDBTransactionImpl(
- int32 idb_transaction_id)
- : idb_transaction_id_(idb_transaction_id) {
-}
-
-RendererWebIDBTransactionImpl::~RendererWebIDBTransactionImpl() {
- RenderThread::current()->Send(new ViewHostMsg_IDBTransactionDestroyed(
- idb_transaction_id_));
-}
-
-int RendererWebIDBTransactionImpl::mode() const
-{
- // TODO: implement
- DCHECK(false);
- return 0;
-}
-
-WebIDBObjectStore* RendererWebIDBTransactionImpl::objectStore(
- const WebString& name)
-{
- // TODO: implement
- DCHECK(false);
- return 0;
-}
-
-void RendererWebIDBTransactionImpl::abort()
-{
- // TODO: implement
- DCHECK(false);
-}
-
-int RendererWebIDBTransactionImpl::id() const
-{
- return idb_transaction_id_;
-}
-
-void RendererWebIDBTransactionImpl::setCallbacks(
- WebIDBTransactionCallbacks* callbacks)
-{
- IndexedDBDispatcher* dispatcher =
- RenderThread::current()->indexed_db_dispatcher();
- dispatcher->RequestIDBTransactionSetCallbacks(callbacks);
-}
« no previous file with comments | « chrome/renderer/renderer_webidbtransaction_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698