| Index: chrome/renderer/renderer_webidbtransaction_impl.h
|
| diff --git a/chrome/renderer/renderer_webidbtransaction_impl.h b/chrome/renderer/renderer_webidbtransaction_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4369104b611b08c95d3c6a4a412edd78c525a12f
|
| --- /dev/null
|
| +++ b/chrome/renderer/renderer_webidbtransaction_impl.h
|
| @@ -0,0 +1,33 @@
|
| +// 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.
|
| +
|
| +#ifndef CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_
|
| +#define CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_
|
| +#pragma once
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "third_party/WebKit/WebKit/chromium/public/WebIDBTransaction.h"
|
| +
|
| +namespace WebKit {
|
| +class WebIDBObjectStore;
|
| +class WebIDBTransactionCallbacks;
|
| +class WebString;
|
| +}
|
| +
|
| +class RendererWebIDBTransactionImpl : public WebKit::WebIDBTransaction {
|
| + public:
|
| + explicit RendererWebIDBTransactionImpl(int32 idb_transaction_id);
|
| + virtual ~RendererWebIDBTransactionImpl();
|
| +
|
| + virtual int mode() const;
|
| + virtual WebKit::WebIDBObjectStore* objectStore(const WebKit::WebString& name);
|
| + virtual void abort();
|
| + virtual int id() const;
|
| + virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*);
|
| +
|
| + private:
|
| + int32 idb_transaction_id_;
|
| +};
|
| +
|
| +#endif // CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_
|
|
|