OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "content/browser/indexed_db/list_set.h" | 27 #include "content/browser/indexed_db/list_set.h" |
28 #include "content/common/indexed_db/indexed_db_metadata.h" | 28 #include "content/common/indexed_db/indexed_db_metadata.h" |
29 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" | 29 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
30 | 30 |
31 namespace url { | 31 namespace url { |
32 class Origin; | 32 class Origin; |
33 } | 33 } |
34 | 34 |
35 namespace content { | 35 namespace content { |
36 | 36 |
37 class IndexedDBBlobInfo; | |
38 class IndexedDBConnection; | 37 class IndexedDBConnection; |
39 class IndexedDBDatabaseCallbacks; | 38 class IndexedDBDatabaseCallbacks; |
40 class IndexedDBFactory; | 39 class IndexedDBFactory; |
41 class IndexedDBKey; | 40 class IndexedDBKey; |
42 class IndexedDBKeyPath; | 41 class IndexedDBKeyPath; |
43 class IndexedDBKeyRange; | 42 class IndexedDBKeyRange; |
44 class IndexedDBObservation; | |
45 class IndexedDBObserverChanges; | 43 class IndexedDBObserverChanges; |
46 class IndexedDBTransaction; | 44 class IndexedDBTransaction; |
47 struct IndexedDBValue; | 45 struct IndexedDBValue; |
48 | 46 |
49 class CONTENT_EXPORT IndexedDBDatabase | 47 class CONTENT_EXPORT IndexedDBDatabase |
50 : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { | 48 : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { |
51 public: | 49 public: |
52 // An index and corresponding set of keys | 50 // An index and corresponding set of keys |
53 using IndexKeys = std::pair<int64_t, std::vector<IndexedDBKey>>; | 51 using IndexKeys = std::pair<int64_t, std::vector<IndexedDBKey>>; |
54 | 52 |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 // is executing. It prevents rentrant calls if the active request completes | 349 // is executing. It prevents rentrant calls if the active request completes |
352 // synchronously. | 350 // synchronously. |
353 bool processing_pending_requests_ = false; | 351 bool processing_pending_requests_ = false; |
354 | 352 |
355 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); | 353 DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); |
356 }; | 354 }; |
357 | 355 |
358 } // namespace content | 356 } // namespace content |
359 | 357 |
360 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 358 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
OLD | NEW |