[content shell] hook up testRunner.dumpEditingCallbacks
[chromium-blink-merge.git] / content / common / indexed_db / proxy_webidbtransaction_impl.h
blob3c2af0dabc6cfd04663512b318924ac76a978815
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_
6 #define CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_
8 #include "base/basictypes.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h"
11 namespace WebKit {
12 class WebIDBObjectStore;
13 class WebIDBTransactionCallbacks;
14 class WebString;
17 namespace content {
19 class RendererWebIDBTransactionImpl : public WebKit::WebIDBTransaction {
20 public:
21 explicit RendererWebIDBTransactionImpl(int32 ipc_transaction_id);
22 virtual ~RendererWebIDBTransactionImpl();
24 virtual WebKit::WebIDBObjectStore* objectStore(long long object_store_id,
25 WebKit::WebExceptionCode&);
26 virtual void commit();
27 virtual void abort();
28 virtual void didCompleteTaskEvents();
29 virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*);
31 int ipc_id() const { return ipc_transaction_id_; }
33 private:
34 int32 ipc_transaction_id_;
37 } // namespace content
39 #endif // CONTENT_COMMON_INDEXED_DB_PROXY_WEBIDBTRANSACTION_IMPL_H_