blob: 9c424b0885dd7fc5b3f34d9637dff667008f8e70 (
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
|
// Copyright (c) 2011 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 CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
#define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
#pragma once
#include "base/memory/ref_counted.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCallbacks.h"
class IndexedDBDispatcherHost;
class IndexedDBTransactionCallbacks
: public WebKit::WebIDBTransactionCallbacks {
public:
IndexedDBTransactionCallbacks(IndexedDBDispatcherHost* dispatcher_host,
int thread_id,
int transaction_id);
virtual ~IndexedDBTransactionCallbacks();
virtual void onAbort();
virtual void onComplete();
private:
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
int thread_id_;
int transaction_id_;
};
#endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_TRANSACTION_CALLBACKS_H_
|