| 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_WEBIDBDATABASE_IMPL_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ |
| 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| 11 | 11 |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/single_thread_task_runner.h" |
| 13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 14 #include "content/common/indexed_db/indexed_db.mojom.h" | 15 #include "content/common/indexed_db/indexed_db.mojom.h" |
| 15 #include "content/common/indexed_db/indexed_db_constants.h" | 16 #include "content/common/indexed_db/indexed_db_constants.h" |
| 16 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" | 17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" |
| 17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h" | 18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h" |
| 18 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" | 19 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| 19 | 20 |
| 20 namespace blink { | 21 namespace blink { |
| 21 class WebBlobInfo; | 22 class WebBlobInfo; |
| 22 class WebIDBCallbacks; | 23 class WebIDBCallbacks; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 size_t max_put_value_size_ = kMaxIDBMessageSizeInBytes; | 143 size_t max_put_value_size_ = kMaxIDBMessageSizeInBytes; |
| 143 | 144 |
| 144 IOThreadHelper* helper_; | 145 IOThreadHelper* helper_; |
| 145 std::set<int32_t> observer_ids_; | 146 std::set<int32_t> observer_ids_; |
| 146 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; | 147 scoped_refptr<base::SingleThreadTaskRunner> io_runner_; |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace content | 150 } // namespace content |
| 150 | 151 |
| 151 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ | 152 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ |
| OLD | NEW |