| 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p); | 187 const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p); |
| 188 void OnSuccessCursorContinue( | 188 void OnSuccessCursorContinue( |
| 189 const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p); | 189 const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p); |
| 190 void OnSuccessCursorPrefetch( | 190 void OnSuccessCursorPrefetch( |
| 191 const IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params& p); | 191 const IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params& p); |
| 192 void OnSuccessStringList(int32 ipc_thread_id, | 192 void OnSuccessStringList(int32 ipc_thread_id, |
| 193 int32 ipc_callbacks_id, | 193 int32 ipc_callbacks_id, |
| 194 const std::vector<string16>& value); | 194 const std::vector<string16>& value); |
| 195 void OnSuccessValue(int32 ipc_thread_id, | 195 void OnSuccessValue(int32 ipc_thread_id, |
| 196 int32 ipc_callbacks_id, | 196 int32 ipc_callbacks_id, |
| 197 const std::vector<char>& value); | 197 const std::string& value); |
| 198 void OnSuccessValueWithKey(int32 ipc_thread_id, | 198 void OnSuccessValueWithKey(int32 ipc_thread_id, |
| 199 int32 ipc_callbacks_id, | 199 int32 ipc_callbacks_id, |
| 200 const std::vector<char>& value, | 200 const std::string& value, |
| 201 const IndexedDBKey& primary_key, | 201 const IndexedDBKey& primary_key, |
| 202 const IndexedDBKeyPath& key_path); | 202 const IndexedDBKeyPath& key_path); |
| 203 void OnSuccessInteger(int32 ipc_thread_id, | 203 void OnSuccessInteger(int32 ipc_thread_id, |
| 204 int32 ipc_callbacks_id, | 204 int32 ipc_callbacks_id, |
| 205 int64 value); | 205 int64 value); |
| 206 void OnSuccessUndefined(int32 ipc_thread_id, int32 ipc_callbacks_id); | 206 void OnSuccessUndefined(int32 ipc_thread_id, int32 ipc_callbacks_id); |
| 207 void OnError(int32 ipc_thread_id, | 207 void OnError(int32 ipc_thread_id, |
| 208 int32 ipc_callbacks_id, | 208 int32 ipc_callbacks_id, |
| 209 int code, | 209 int code, |
| 210 const string16& message); | 210 const string16& message); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 241 std::map<int32, RendererWebIDBCursorImpl*> cursors_; | 241 std::map<int32, RendererWebIDBCursorImpl*> cursors_; |
| 242 | 242 |
| 243 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; | 243 std::map<int32, RendererWebIDBDatabaseImpl*> databases_; |
| 244 | 244 |
| 245 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); | 245 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); |
| 246 }; | 246 }; |
| 247 | 247 |
| 248 } // namespace content | 248 } // namespace content |
| 249 | 249 |
| 250 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ | 250 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_DISPATCHER_H_ |
| OLD | NEW |