blob: 282dd6392cff0d8fe26a5920459d09b036abcf7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// 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,
WebKit::WebExceptionCode&);
virtual void abort();
virtual void didCompleteTaskEvents();
virtual void setCallbacks(WebKit::WebIDBTransactionCallbacks*);
int id() const { return idb_transaction_id_; }
private:
int32 idb_transaction_id_;
};
#endif // CHROME_RENDERER_RENDERER_WEBIDBTRANSACTION_IMPL_H_
|