| 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_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 int64 version, | 75 int64 version, |
| 76 int64 transaction_id, | 76 int64 transaction_id, |
| 77 blink::WebIDBCallbacks* callbacks, | 77 blink::WebIDBCallbacks* callbacks, |
| 78 blink::WebIDBDatabaseCallbacks* database_callbacks, | 78 blink::WebIDBDatabaseCallbacks* database_callbacks, |
| 79 const std::string& database_identifier); | 79 const std::string& database_identifier); |
| 80 | 80 |
| 81 void RequestIDBFactoryDeleteDatabase(const base::string16& name, | 81 void RequestIDBFactoryDeleteDatabase(const base::string16& name, |
| 82 blink::WebIDBCallbacks* callbacks, | 82 blink::WebIDBCallbacks* callbacks, |
| 83 const std::string& database_identifier); | 83 const std::string& database_identifier); |
| 84 | 84 |
| 85 void RequestIDBCursorAdvance(unsigned long count, | 85 virtual void RequestIDBCursorAdvance(unsigned long count, |
| 86 blink::WebIDBCallbacks* callbacks_ptr, | 86 blink::WebIDBCallbacks* callbacks_ptr, |
| 87 int32 ipc_cursor_id); | 87 int32 ipc_cursor_id); |
| 88 | 88 |
| 89 virtual void RequestIDBCursorContinue(const IndexedDBKey& key, | 89 virtual void RequestIDBCursorContinue(const IndexedDBKey& key, |
| 90 const IndexedDBKey& primary_key, | 90 const IndexedDBKey& primary_key, |
| 91 blink::WebIDBCallbacks* callbacks_ptr, | 91 blink::WebIDBCallbacks* callbacks_ptr, |
| 92 int32 ipc_cursor_id); | 92 int32 ipc_cursor_id); |
| 93 | 93 |
| 94 virtual void RequestIDBCursorPrefetch(int n, | 94 virtual void RequestIDBCursorPrefetch(int n, |
| 95 blink::WebIDBCallbacks* callbacks_ptr, | 95 blink::WebIDBCallbacks* callbacks_ptr, |
| 96 int32 ipc_cursor_id); | 96 int32 ipc_cursor_id); |
| 97 | 97 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 std::map<int32, RendererWebIDBCursorImpl*> cursors_; | 242 std::map<int32, RendererWebIDBCursorImpl*> cursors_; |
| 243 | 243 |
| 244 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; | 244 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; |
| 245 | 245 |
| 246 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 246 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 } // namespace content | 249 } // namespace content |
| 250 | 250 |
| 251 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 251 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| OLD | NEW |