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/renderer_webidbdatabase_impl.h" | 5 #include "content/renderer/renderer_webidbdatabase_impl.h" |
6 | 6 |
7 #include "content/common/indexed_db_messages.h" | 7 #include "content/common/indexed_db_messages.h" |
8 #include "content/renderer/indexed_db_dispatcher.h" | 8 #include "content/renderer/indexed_db_dispatcher.h" |
9 #include "content/renderer/render_thread_impl.h" | 9 #include "content/renderer/render_thread_impl.h" |
10 #include "content/renderer/renderer_webidbobjectstore_impl.h" | 10 #include "content/renderer/renderer_webidbobjectstore_impl.h" |
11 #include "content/renderer/renderer_webidbtransaction_impl.h" | 11 #include "content/renderer/renderer_webidbtransaction_impl.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
14 | 14 |
15 using WebKit::WebDOMStringList; | 15 using WebKit::WebDOMStringList; |
16 using WebKit::WebExceptionCode; | 16 using WebKit::WebExceptionCode; |
17 using WebKit::WebFrame; | 17 using WebKit::WebFrame; |
18 using WebKit::WebIDBCallbacks; | 18 using WebKit::WebIDBCallbacks; |
19 using WebKit::WebIDBDatabaseCallbacks; | 19 using WebKit::WebIDBDatabaseCallbacks; |
20 using WebKit::WebIDBTransaction; | 20 using WebKit::WebIDBTransaction; |
21 using WebKit::WebString; | 21 using WebKit::WebString; |
22 using WebKit::WebVector; | 22 using WebKit::WebVector; |
23 | 23 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 IndexedDBDispatcher* dispatcher = | 125 IndexedDBDispatcher* dispatcher = |
126 RenderThreadImpl::current()->indexed_db_dispatcher(); | 126 RenderThreadImpl::current()->indexed_db_dispatcher(); |
127 dispatcher->RequestIDBDatabaseClose(idb_database_id_); | 127 dispatcher->RequestIDBDatabaseClose(idb_database_id_); |
128 } | 128 } |
129 | 129 |
130 void RendererWebIDBDatabaseImpl::open(WebIDBDatabaseCallbacks* callbacks) { | 130 void RendererWebIDBDatabaseImpl::open(WebIDBDatabaseCallbacks* callbacks) { |
131 IndexedDBDispatcher* dispatcher = | 131 IndexedDBDispatcher* dispatcher = |
132 RenderThreadImpl::current()->indexed_db_dispatcher(); | 132 RenderThreadImpl::current()->indexed_db_dispatcher(); |
133 dispatcher->RequestIDBDatabaseOpen(callbacks, idb_database_id_); | 133 dispatcher->RequestIDBDatabaseOpen(callbacks, idb_database_id_); |
134 } | 134 } |
OLD | NEW |