| 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_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
| 10 #include "content/browser/indexed_db/indexed_db_database.h" | 11 #include "content/browser/indexed_db/indexed_db_database.h" |
| 11 #include "content/browser/indexed_db/indexed_db_database_callbacks.h" | 12 #include "content/browser/indexed_db/indexed_db_database_callbacks.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 class IndexedDBCallbacks; | 15 class IndexedDBCallbacks; |
| 15 class IndexedDBDatabaseError; | 16 class IndexedDBDatabaseError; |
| 16 | 17 |
| 17 class CONTENT_EXPORT IndexedDBConnection { | 18 class CONTENT_EXPORT IndexedDBConnection { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks_; | 40 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks_; |
| 40 | 41 |
| 41 base::WeakPtrFactory<IndexedDBConnection> weak_factory_; | 42 base::WeakPtrFactory<IndexedDBConnection> weak_factory_; |
| 42 | 43 |
| 43 DISALLOW_COPY_AND_ASSIGN(IndexedDBConnection); | 44 DISALLOW_COPY_AND_ASSIGN(IndexedDBConnection); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace content | 47 } // namespace content |
| 47 | 48 |
| 48 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ | 49 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CONNECTION_H_ |
| OLD | NEW |