| 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 <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "content/browser/indexed_db/indexed_db.h" | 14 #include "content/browser/indexed_db/indexed_db.h" |
| 15 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" | 15 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" |
| 16 #include "content/browser/indexed_db/indexed_db_metadata.h" | 16 #include "content/browser/indexed_db/indexed_db_metadata.h" |
| 17 #include "content/browser/indexed_db/indexed_db_transaction_coordinator.h" | 17 #include "content/browser/indexed_db/indexed_db_transaction_coordinator.h" |
| 18 #include "content/browser/indexed_db/list_set.h" | 18 #include "content/browser/indexed_db/list_set.h" |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 class IndexedDBCallbacksWrapper; |
| 23 class IndexedDBDatabaseCallbacksWrapper; |
| 22 class IndexedDBBackingStore; | 24 class IndexedDBBackingStore; |
| 23 class IndexedDBFactory; | 25 class IndexedDBFactory; |
| 24 class IndexedDBKey; | 26 class IndexedDBKey; |
| 25 class IndexedDBKeyPath; | 27 class IndexedDBKeyPath; |
| 26 class IndexedDBKeyRange; | 28 class IndexedDBKeyRange; |
| 27 class IndexedDBTransaction; | 29 class IndexedDBTransaction; |
| 28 | 30 |
| 29 class CONTENT_EXPORT IndexedDBDatabase | 31 class CONTENT_EXPORT IndexedDBDatabase |
| 30 : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { | 32 : NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { |
| 31 public: | 33 public: |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 typedef list_set<scoped_refptr<IndexedDBDatabaseCallbacksWrapper> > | 209 typedef list_set<scoped_refptr<IndexedDBDatabaseCallbacksWrapper> > |
| 208 DatabaseCallbacksSet; | 210 DatabaseCallbacksSet; |
| 209 DatabaseCallbacksSet database_callbacks_set_; | 211 DatabaseCallbacksSet database_callbacks_set_; |
| 210 | 212 |
| 211 bool closing_connection_; | 213 bool closing_connection_; |
| 212 }; | 214 }; |
| 213 | 215 |
| 214 } // namespace content | 216 } // namespace content |
| 215 | 217 |
| 216 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ | 218 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_DATABASE_H_ |
| OLD | NEW |