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/common/indexed_db/proxy_webidbobjectstore_impl.h" | 5 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.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 "content/public/common/serialized_script_value.h" | 10 #include "content/public/common/serialized_script_value.h" |
11 #include "content/common/indexed_db/indexed_db_dispatcher.h" | 11 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
12 #include "content/common/indexed_db/proxy_webidbindex_impl.h" | 12 #include "content/common/indexed_db/proxy_webidbindex_impl.h" |
13 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" | 13 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" |
14 #include "content/common/child_thread.h" | 14 #include "content/common/child_thread.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | |
22 | 22 |
23 using WebKit::WebDOMStringList; | 23 using WebKit::WebDOMStringList; |
24 using WebKit::WebExceptionCode; | 24 using WebKit::WebExceptionCode; |
25 using WebKit::WebFrame; | 25 using WebKit::WebFrame; |
26 using WebKit::WebIDBCallbacks; | 26 using WebKit::WebIDBCallbacks; |
27 using WebKit::WebIDBKeyPath; | 27 using WebKit::WebIDBKeyPath; |
28 using WebKit::WebIDBKeyRange; | 28 using WebKit::WebIDBKeyRange; |
29 using WebKit::WebIDBIndex; | 29 using WebKit::WebIDBIndex; |
30 using WebKit::WebIDBKey; | 30 using WebKit::WebIDBKey; |
31 using WebKit::WebIDBTransaction; | 31 using WebKit::WebIDBTransaction; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 const WebIDBTransaction& transaction, | 204 const WebIDBTransaction& transaction, |
205 WebExceptionCode& ec) { | 205 WebExceptionCode& ec) { |
206 IndexedDBDispatcher* dispatcher = | 206 IndexedDBDispatcher* dispatcher = |
207 IndexedDBDispatcher::ThreadSpecificInstance(); | 207 IndexedDBDispatcher::ThreadSpecificInstance(); |
208 dispatcher->RequestIDBObjectStoreCount( | 208 dispatcher->RequestIDBObjectStoreCount( |
209 idb_key_range, callbacks, ipc_object_store_id_, | 209 idb_key_range, callbacks, ipc_object_store_id_, |
210 transaction, &ec); | 210 transaction, &ec); |
211 } | 211 } |
212 | 212 |
213 } // namespace content | 213 } // namespace content |
OLD | NEW |