| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2010 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. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_ | |
| 6 #define CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/basictypes.h" | |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBTransaction.h" | |
| 11 | |
| 12 namespace WebKit { | |
| 13 class WebIDBObjectStore; | |
| 14 class WebIDBTransactionCallbacks; | |
| 15 class WebString; | |
| 16 } | |
| 17 | |
| 18 class RendererWebIDBTransactionImpl : public WebKit::WebIDBTransaction { | |
| 19 public: | |
| 20 explicit RendererWebIDBTransactionImpl(int32 idb_transaction_id); | |
| 21 virtual ~RendererWebIDBTransactionImpl(); | |
| 22 | |
| 23 virtual int mode() const; | |
| 24 virtual WebKit::WebIDBObjectStore* objectStore(const WebKit::WebString& name); | |
| 25 virtual void abort(); | |
| 26 virtual int id() const; | |
| 27 virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*); | |
| 28 | |
| 29 private: | |
| 30 int32 idb_transaction_id_; | |
| 31 }; | |
| 32 | |
| 33 #endif // CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_ | |
| OLD | NEW |