OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_INDEXED_DB_CALLBACKS_IMPL_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_CALLBACKS_IMPL_H_ |
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_CALLBACKS_IMPL_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_CALLBACKS_IMPL_H_ |
7 | 7 |
| 8 #include "base/single_thread_task_runner.h" |
8 #include "content/common/indexed_db/indexed_db.mojom.h" | 9 #include "content/common/indexed_db/indexed_db.mojom.h" |
9 #include "mojo/public/cpp/bindings/associated_binding.h" | 10 #include "mojo/public/cpp/bindings/associated_binding.h" |
10 | 11 |
11 namespace blink { | 12 namespace blink { |
12 class WebIDBCallbacks; | 13 class WebIDBCallbacks; |
13 struct WebIDBValue; | 14 struct WebIDBValue; |
14 } | 15 } |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // executes tasks and must be destroyed there. | 115 // executes tasks and must be destroyed there. |
115 InternalState* internal_state_; | 116 InternalState* internal_state_; |
116 scoped_refptr<base::SingleThreadTaskRunner> callback_runner_; | 117 scoped_refptr<base::SingleThreadTaskRunner> callback_runner_; |
117 | 118 |
118 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacksImpl); | 119 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacksImpl); |
119 }; | 120 }; |
120 | 121 |
121 } // namespace content | 122 } // namespace content |
122 | 123 |
123 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_CALLBACKS_IMPL_H_ | 124 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_CALLBACKS_IMPL_H_ |
OLD | NEW |