| 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 "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" | 13 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBCursor.h" |
| 14 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h" | 14 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabase.h" |
| 15 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" | 15 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 class WebBlobInfo; | 18 class WebBlobInfo; |
| 19 class WebIDBCallbacks; | 19 class WebIDBCallbacks; |
| 20 class WebIDBDatabaseCallbacks; | |
| 21 class WebIDBObserver; | 20 class WebIDBObserver; |
| 22 class WebString; | 21 class WebString; |
| 23 } | 22 } |
| 24 | 23 |
| 25 namespace content { | 24 namespace content { |
| 26 class ThreadSafeSender; | 25 class ThreadSafeSender; |
| 27 | 26 |
| 28 class WebIDBDatabaseImpl : public blink::WebIDBDatabase { | 27 class WebIDBDatabaseImpl : public blink::WebIDBDatabase { |
| 29 public: | 28 public: |
| 30 WebIDBDatabaseImpl(int32_t ipc_database_id, | 29 WebIDBDatabaseImpl(int32_t ipc_database_id, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 124 |
| 126 private: | 125 private: |
| 127 int32_t ipc_database_id_; | 126 int32_t ipc_database_id_; |
| 128 std::set<int32_t> observer_ids_; | 127 std::set<int32_t> observer_ids_; |
| 129 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 128 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 130 }; | 129 }; |
| 131 | 130 |
| 132 } // namespace content | 131 } // namespace content |
| 133 | 132 |
| 134 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ | 133 #endif // CONTENT_CHILD_INDEXED_DB_WEBIDBDATABASE_IMPL_H_ |
| OLD | NEW |