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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "content/browser/indexed_db/indexed_db_database_error.h" | 16 #include "content/browser/indexed_db/indexed_db_database_error.h" |
17 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" | 17 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
18 #include "content/common/indexed_db/indexed_db_key.h" | 18 #include "content/common/indexed_db/indexed_db_key.h" |
19 #include "content/common/indexed_db/indexed_db_key_path.h" | 19 #include "content/common/indexed_db/indexed_db_key_path.h" |
20 #include "googleurl/src/gurl.h" | |
21 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" | 20 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h" |
| 21 #include "url/gurl.h" |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class IndexedDBConnection; | 24 class IndexedDBConnection; |
25 class IndexedDBCursor; | 25 class IndexedDBCursor; |
26 class IndexedDBDatabase; | 26 class IndexedDBDatabase; |
27 class IndexedDBDatabaseCallbacks; | 27 class IndexedDBDatabaseCallbacks; |
28 struct IndexedDBDatabaseMetadata; | 28 struct IndexedDBDatabaseMetadata; |
29 | 29 |
30 class CONTENT_EXPORT IndexedDBCallbacks | 30 class CONTENT_EXPORT IndexedDBCallbacks |
31 : public base::RefCounted<IndexedDBCallbacks> { | 31 : public base::RefCounted<IndexedDBCallbacks> { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // IndexedDBDatabase callbacks ------------------------ | 152 // IndexedDBDatabase callbacks ------------------------ |
153 int64 host_transaction_id_; | 153 int64 host_transaction_id_; |
154 GURL origin_url_; | 154 GURL origin_url_; |
155 int32 ipc_database_id_; | 155 int32 ipc_database_id_; |
156 int32 ipc_database_callbacks_id_; | 156 int32 ipc_database_callbacks_id_; |
157 }; | 157 }; |
158 | 158 |
159 } // namespace content | 159 } // namespace content |
160 | 160 |
161 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 161 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
OLD | NEW |