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/browser/quota/quota_manager.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 namespace { | 14 namespace { |
15 const int32 kDatabaseNotAdded = -1; | 15 const int32 kDatabaseNotAdded = -1; |
16 } | 16 } |
17 | 17 |
18 IndexedDBCallbacksBase::IndexedDBCallbacksBase( | 18 IndexedDBCallbacksBase::IndexedDBCallbacksBase( |
19 IndexedDBDispatcherHost* dispatcher_host, | 19 IndexedDBDispatcherHost* dispatcher_host, |
20 int32 ipc_thread_id, | 20 int32 ipc_thread_id, |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 } | 218 } |
219 | 219 |
220 void IndexedDBCallbacks<WebKit::WebData>::onSuccess( | 220 void IndexedDBCallbacks<WebKit::WebData>::onSuccess( |
221 const WebKit::WebIDBKey& value) { | 221 const WebKit::WebIDBKey& value) { |
222 dispatcher_host()->Send( | 222 dispatcher_host()->Send( |
223 new IndexedDBMsg_CallbacksSuccessIndexedDBKey( | 223 new IndexedDBMsg_CallbacksSuccessIndexedDBKey( |
224 ipc_thread_id(), ipc_callbacks_id(), IndexedDBKey(value))); | 224 ipc_thread_id(), ipc_callbacks_id(), IndexedDBKey(value))); |
225 } | 225 } |
226 | 226 |
227 } // namespace content | 227 } // namespace content |
OLD | NEW |