| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "content/common/indexed_db/indexed_db.mojom.h" | 21 #include "content/common/indexed_db/indexed_db.mojom.h" |
| 22 #include "content/common/indexed_db/indexed_db_key.h" | 22 #include "content/common/indexed_db/indexed_db_key.h" |
| 23 #include "content/common/indexed_db/indexed_db_key_path.h" | 23 #include "content/common/indexed_db/indexed_db_key_path.h" |
| 24 #include "url/origin.h" | 24 #include "url/origin.h" |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 class IndexedDBBlobInfo; | 27 class IndexedDBBlobInfo; |
| 28 class IndexedDBConnection; | 28 class IndexedDBConnection; |
| 29 class IndexedDBCursor; | 29 class IndexedDBCursor; |
| 30 class IndexedDBDatabase; | 30 class IndexedDBDatabase; |
| 31 class IndexedDBDatabaseCallbacks; | |
| 32 struct IndexedDBDataLossInfo; | 31 struct IndexedDBDataLossInfo; |
| 33 struct IndexedDBDatabaseMetadata; | 32 struct IndexedDBDatabaseMetadata; |
| 34 struct IndexedDBReturnValue; | 33 struct IndexedDBReturnValue; |
| 35 struct IndexedDBValue; | 34 struct IndexedDBValue; |
| 36 | 35 |
| 37 class CONTENT_EXPORT IndexedDBCallbacks | 36 class CONTENT_EXPORT IndexedDBCallbacks |
| 38 : public base::RefCounted<IndexedDBCallbacks> { | 37 : public base::RefCounted<IndexedDBCallbacks> { |
| 39 public: | 38 public: |
| 40 // Simple payload responses | 39 // Simple payload responses |
| 41 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host, | 40 IndexedDBCallbacks(IndexedDBDispatcherHost* dispatcher_host, |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 | 149 |
| 151 std::unique_ptr<IOThreadHelper, BrowserThread::DeleteOnIOThread> io_helper_; | 150 std::unique_ptr<IOThreadHelper, BrowserThread::DeleteOnIOThread> io_helper_; |
| 152 base::ThreadChecker thread_checker_; | 151 base::ThreadChecker thread_checker_; |
| 153 | 152 |
| 154 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); | 153 DISALLOW_COPY_AND_ASSIGN(IndexedDBCallbacks); |
| 155 }; | 154 }; |
| 156 | 155 |
| 157 } // namespace content | 156 } // namespace content |
| 158 | 157 |
| 159 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 158 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| OLD | NEW |