diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 16:22:34 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-20 16:22:34 +0000 |
commit | 826161f8cb3f8963786aef897bbc8b90f0a43a92 (patch) | |
tree | ac2f47b87fa8a201bd1f3d0e267fa2b8adb9abe9 /chrome/renderer/renderer_webidbtransaction_impl.cc | |
parent | 1f79401611f73ac332233ce35ef1c29b7c7af0c2 (diff) | |
download | chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.zip chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.tar.gz chromium_src-826161f8cb3f8963786aef897bbc8b90f0a43a92.tar.bz2 |
Revert 56862 - Add transaction coordinator. Allow idle transactions to be aborted when their parent JS context finishes executing.
This change depends on the following WebKit bug:
https://bugs.webkit.org/show_bug.cgi?id=44101
Review URL: http://codereview.chromium.org/3165026
TBR=andreip@chromium.org
Review URL: http://codereview.chromium.org/3107029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56863 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/renderer_webidbtransaction_impl.cc')
-rw-r--r-- | chrome/renderer/renderer_webidbtransaction_impl.cc | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/chrome/renderer/renderer_webidbtransaction_impl.cc b/chrome/renderer/renderer_webidbtransaction_impl.cc deleted file mode 100644 index c998245..0000000 --- a/chrome/renderer/renderer_webidbtransaction_impl.cc +++ /dev/null @@ -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); -} |