| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/indexed_db_messages.h" | 7 #include "content/common/indexed_db/indexed_db_messages.h" |
| 8 #include "webkit/quota/quota_manager.h" | 8 #include "webkit/quota/quota_manager.h" |
| 9 | 9 |
| 10 IndexedDBCallbacksBase::IndexedDBCallbacksBase( | 10 IndexedDBCallbacksBase::IndexedDBCallbacksBase( |
| 11 IndexedDBDispatcherHost* dispatcher_host, | 11 IndexedDBDispatcherHost* dispatcher_host, |
| 12 int32 thread_id, | 12 int32 thread_id, |
| 13 int32 response_id) | 13 int32 response_id) |
| 14 : dispatcher_host_(dispatcher_host), | 14 : dispatcher_host_(dispatcher_host), |
| 15 response_id_(response_id), | 15 response_id_(response_id), |
| 16 thread_id_(thread_id) { | 16 thread_id_(thread_id) { |
| 17 } | 17 } |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 new IndexedDBMsg_CallbacksSuccessStringList( | 113 new IndexedDBMsg_CallbacksSuccessStringList( |
| 114 thread_id(), response_id(), list)); | 114 thread_id(), response_id(), list)); |
| 115 } | 115 } |
| 116 | 116 |
| 117 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess( | 117 void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess( |
| 118 const WebKit::WebSerializedScriptValue& value) { | 118 const WebKit::WebSerializedScriptValue& value) { |
| 119 dispatcher_host()->Send( | 119 dispatcher_host()->Send( |
| 120 new IndexedDBMsg_CallbacksSuccessSerializedScriptValue( | 120 new IndexedDBMsg_CallbacksSuccessSerializedScriptValue( |
| 121 thread_id(), response_id(), content::SerializedScriptValue(value))); | 121 thread_id(), response_id(), content::SerializedScriptValue(value))); |
| 122 } | 122 } |
| OLD | NEW |