OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ |
6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "content/common/indexed_db/indexed_db.mojom.h" | 9 #include "content/common/indexed_db/indexed_db.mojom.h" |
10 #include "third_party/WebKit/public/platform/WebVector.h" | 10 #include "third_party/WebKit/public/platform/WebVector.h" |
11 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h
" | 11 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCallbacks.h
" |
12 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCal
lbacks.h" | 12 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseCal
lbacks.h" |
13 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" | 13 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebSecurityOrigin; | 16 class WebSecurityOrigin; |
17 class WebString; | 17 class WebString; |
18 } | 18 } |
19 | 19 |
20 namespace IPC { | 20 namespace IPC { |
21 class SyncMessageFilter; | 21 class SyncMessageFilter; |
22 } | 22 } |
23 | 23 |
24 namespace content { | 24 namespace content { |
25 class IndexedDBCallbacksImpl; | |
26 class IndexedDBDatabaseCallbacksImpl; | |
27 class ThreadSafeSender; | 25 class ThreadSafeSender; |
28 | 26 |
29 class WebIDBFactoryImpl : public blink::WebIDBFactory { | 27 class WebIDBFactoryImpl : public blink::WebIDBFactory { |
30 public: | 28 public: |
31 WebIDBFactoryImpl(scoped_refptr<IPC::SyncMessageFilter> sync_message_filter, | 29 WebIDBFactoryImpl(scoped_refptr<IPC::SyncMessageFilter> sync_message_filter, |
32 scoped_refptr<ThreadSafeSender> thread_safe_sender, | 30 scoped_refptr<ThreadSafeSender> thread_safe_sender, |
33 scoped_refptr<base::SingleThreadTaskRunner> io_runner); | 31 scoped_refptr<base::SingleThreadTaskRunner> io_runner); |
34 ~WebIDBFactoryImpl() override; | 32 ~WebIDBFactoryImpl() override; |
35 | 33 |
36 // See WebIDBFactory.h for documentation on these functions. | 34 // See WebIDBFactory.h for documentation on these functions. |
(...skipping 13 matching lines...) Expand all Loading... |
50 class IOThreadHelper; | 48 class IOThreadHelper; |
51 | 49 |
52 IOThreadHelper* io_helper_; | 50 IOThreadHelper* io_helper_; |
53 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 51 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
54 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; | 52 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; |
55 }; | 53 }; |
56 | 54 |
57 } // namespace content | 55 } // namespace content |
58 | 56 |
59 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ | 57 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBFACTORY_IMPL_H_ |
OLD | NEW |