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/renderer/indexed_db/renderer_webidbdatabase_impl.h" | 5 #include "content/common/indexed_db/proxy_webidbdatabase_impl.h" |
6 | 6 |
7 #include "content/common/indexed_db/indexed_db_messages.h" | 7 #include "content/common/indexed_db/indexed_db_messages.h" |
8 #include "content/renderer/indexed_db/indexed_db_dispatcher.h" | 8 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
9 #include "content/renderer/indexed_db/renderer_webidbobjectstore_impl.h" | 9 #include "content/common/indexed_db/proxy_webidbobjectstore_impl.h" |
10 #include "content/renderer/indexed_db/renderer_webidbtransaction_impl.h" | 10 #include "content/common/indexed_db/proxy_webidbtransaction_impl.h" |
11 #include "content/renderer/render_thread_impl.h" | 11 #include "content/common/child_thread.h" |
jsbell
2012/02/10 18:57:29
Nit: Include ordering
dgrogan
2012/02/10 19:57:20
Done.
| |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
14 #include "webkit/glue/worker_task_runner.h" | 14 #include "webkit/glue/worker_task_runner.h" |
15 | 15 |
16 using WebKit::WebDOMStringList; | 16 using WebKit::WebDOMStringList; |
17 using WebKit::WebExceptionCode; | 17 using WebKit::WebExceptionCode; |
18 using WebKit::WebFrame; | 18 using WebKit::WebFrame; |
19 using WebKit::WebIDBCallbacks; | 19 using WebKit::WebIDBCallbacks; |
20 using WebKit::WebIDBDatabaseCallbacks; | 20 using WebKit::WebIDBDatabaseCallbacks; |
21 using WebKit::WebIDBTransaction; | 21 using WebKit::WebIDBTransaction; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 IndexedDBDispatcher::ThreadSpecificInstance(); | 127 IndexedDBDispatcher::ThreadSpecificInstance(); |
128 dispatcher->RequestIDBDatabaseClose(idb_database_id_); | 128 dispatcher->RequestIDBDatabaseClose(idb_database_id_); |
129 } | 129 } |
130 | 130 |
131 void RendererWebIDBDatabaseImpl::open(WebIDBDatabaseCallbacks* callbacks) { | 131 void RendererWebIDBDatabaseImpl::open(WebIDBDatabaseCallbacks* callbacks) { |
132 IndexedDBDispatcher* dispatcher = | 132 IndexedDBDispatcher* dispatcher = |
133 IndexedDBDispatcher::ThreadSpecificInstance(); | 133 IndexedDBDispatcher::ThreadSpecificInstance(); |
134 DCHECK(dispatcher); | 134 DCHECK(dispatcher); |
135 dispatcher->RequestIDBDatabaseOpen(callbacks, idb_database_id_); | 135 dispatcher->RequestIDBDatabaseOpen(callbacks, idb_database_id_); |
136 } | 136 } |
OLD | NEW |