OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/child/indexed_db/proxy_webidbfactory_impl.h" | 5 #include "content/child/indexed_db/proxy_webidbfactory_impl.h" |
6 | 6 |
| 7 #include "content/child/child_thread.h" |
7 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 8 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
8 #include "content/common/child_thread.h" | |
9 #include "third_party/WebKit/public/platform/WebString.h" | 9 #include "third_party/WebKit/public/platform/WebString.h" |
10 | 10 |
11 using WebKit::WebIDBCallbacks; | 11 using WebKit::WebIDBCallbacks; |
12 using WebKit::WebIDBDatabase; | 12 using WebKit::WebIDBDatabase; |
13 using WebKit::WebIDBDatabaseCallbacks; | 13 using WebKit::WebIDBDatabaseCallbacks; |
14 using WebKit::WebString; | 14 using WebKit::WebString; |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl() { | 18 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl() { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 const WebString& data_dir) { | 55 const WebString& data_dir) { |
56 // Don't send the data_dir. We know what we want on the Browser side of | 56 // Don't send the data_dir. We know what we want on the Browser side of |
57 // things. | 57 // things. |
58 IndexedDBDispatcher* dispatcher = | 58 IndexedDBDispatcher* dispatcher = |
59 IndexedDBDispatcher::ThreadSpecificInstance(); | 59 IndexedDBDispatcher::ThreadSpecificInstance(); |
60 dispatcher->RequestIDBFactoryDeleteDatabase( | 60 dispatcher->RequestIDBFactoryDeleteDatabase( |
61 name, callbacks, database_identifier); | 61 name, callbacks, database_identifier); |
62 } | 62 } |
63 | 63 |
64 } // namespace content | 64 } // namespace content |
OLD | NEW |