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 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" | 5 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "content/common/indexed_db/indexed_db_messages.h" | 9 #include "content/common/indexed_db/indexed_db_messages.h" |
10 #include "webkit/quota/quota_manager.h" | 10 #include "webkit/quota/quota_manager.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 ipc_response_id(), | 199 ipc_response_id(), |
200 value)); | 200 value)); |
201 } | 201 } |
202 | 202 |
203 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess() { | 203 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess() { |
204 dispatcher_host()->Send( | 204 dispatcher_host()->Send( |
205 new IndexedDBMsg_CallbacksSuccessUndefined(ipc_thread_id(), | 205 new IndexedDBMsg_CallbacksSuccessUndefined(ipc_thread_id(), |
206 ipc_response_id())); | 206 ipc_response_id())); |
207 } | 207 } |
208 | 208 |
| 209 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess( |
| 210 const WebKit::WebIDBKey& value) { |
| 211 dispatcher_host()->Send( |
| 212 new IndexedDBMsg_CallbacksSuccessIndexedDBKey( |
| 213 ipc_thread_id(), ipc_response_id(), IndexedDBKey(value))); |
| 214 } |
| 215 |
209 } // namespace content | 216 } // namespace content |
OLD | NEW |