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_webidbfactory_impl.h" | 5 #include "content/common/indexed_db/proxy_webidbfactory_impl.h" |
6 | 6 |
7 #include "content/common/indexed_db/indexed_db_dispatcher.h" | 7 #include "content/common/indexed_db/indexed_db_dispatcher.h" |
8 #include "content/common/child_thread.h" | 8 #include "content/common/child_thread.h" |
| 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | |
11 | 11 |
12 using WebKit::WebDOMStringList; | 12 using WebKit::WebDOMStringList; |
13 using WebKit::WebFrame; | 13 using WebKit::WebFrame; |
14 using WebKit::WebIDBCallbacks; | 14 using WebKit::WebIDBCallbacks; |
15 using WebKit::WebIDBDatabase; | 15 using WebKit::WebIDBDatabase; |
16 using WebKit::WebIDBDatabaseCallbacks; | 16 using WebKit::WebIDBDatabaseCallbacks; |
17 using WebKit::WebSecurityOrigin; | 17 using WebKit::WebSecurityOrigin; |
18 using WebKit::WebString; | 18 using WebKit::WebString; |
19 | 19 |
20 namespace content { | 20 namespace content { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const WebString& data_dir) { | 80 const WebString& data_dir) { |
81 // Don't send the data_dir. We know what we want on the Browser side of | 81 // Don't send the data_dir. We know what we want on the Browser side of |
82 // things. | 82 // things. |
83 IndexedDBDispatcher* dispatcher = | 83 IndexedDBDispatcher* dispatcher = |
84 IndexedDBDispatcher::ThreadSpecificInstance(); | 84 IndexedDBDispatcher::ThreadSpecificInstance(); |
85 dispatcher->RequestIDBFactoryDeleteDatabase( | 85 dispatcher->RequestIDBFactoryDeleteDatabase( |
86 name, callbacks, origin.databaseIdentifier(), web_frame); | 86 name, callbacks, origin.databaseIdentifier(), web_frame); |
87 } | 87 } |
88 | 88 |
89 } // namespace content | 89 } // namespace content |
OLD | NEW |