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/webidbfactory_impl.h" | 5 #include "content/child/indexed_db/webidbfactory_impl.h" |
6 | 6 |
| 7 #include "base/memory/ptr_util.h" |
7 #include "content/child/indexed_db/indexed_db_callbacks_impl.h" | 8 #include "content/child/indexed_db/indexed_db_callbacks_impl.h" |
8 #include "content/child/indexed_db/indexed_db_database_callbacks_impl.h" | 9 #include "content/child/indexed_db/indexed_db_database_callbacks_impl.h" |
9 #include "content/child/storage_util.h" | 10 #include "content/child/storage_util.h" |
10 #include "ipc/ipc_sync_channel.h" | 11 #include "ipc/ipc_sync_channel.h" |
11 #include "mojo/public/cpp/bindings/strong_associated_binding.h" | 12 #include "mojo/public/cpp/bindings/strong_associated_binding.h" |
12 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" | 13 #include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
13 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
14 | 15 |
15 using blink::WebIDBCallbacks; | 16 using blink::WebIDBCallbacks; |
16 using blink::WebIDBDatabase; | 17 using blink::WebIDBDatabase; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 161 |
161 void WebIDBFactoryImpl::IOThreadHelper::DeleteDatabase( | 162 void WebIDBFactoryImpl::IOThreadHelper::DeleteDatabase( |
162 const base::string16& name, | 163 const base::string16& name, |
163 std::unique_ptr<IndexedDBCallbacksImpl> callbacks, | 164 std::unique_ptr<IndexedDBCallbacksImpl> callbacks, |
164 const url::Origin& origin) { | 165 const url::Origin& origin) { |
165 GetService()->DeleteDatabase(GetCallbacksProxy(std::move(callbacks)), origin, | 166 GetService()->DeleteDatabase(GetCallbacksProxy(std::move(callbacks)), origin, |
166 name); | 167 name); |
167 } | 168 } |
168 | 169 |
169 } // namespace content | 170 } // namespace content |
OLD | NEW |