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/thread_safe_sender.h" | 7 #include "content/child/thread_safe_sender.h" |
8 #include "content/child/indexed_db/indexed_db_dispatcher.h" | 8 #include "content/child/indexed_db/indexed_db_dispatcher.h" |
9 #include "third_party/WebKit/public/platform/WebCString.h" | 9 #include "third_party/WebKit/public/platform/WebCString.h" |
10 #include "third_party/WebKit/public/platform/WebString.h" | 10 #include "third_party/WebKit/public/platform/WebString.h" |
11 | 11 |
12 using WebKit::WebIDBCallbacks; | 12 using blink::WebIDBCallbacks; |
13 using WebKit::WebIDBDatabase; | 13 using blink::WebIDBDatabase; |
14 using WebKit::WebIDBDatabaseCallbacks; | 14 using blink::WebIDBDatabaseCallbacks; |
15 using WebKit::WebString; | 15 using blink::WebString; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 | 18 |
19 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl( | 19 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl( |
20 ThreadSafeSender* thread_safe_sender) | 20 ThreadSafeSender* thread_safe_sender) |
21 : thread_safe_sender_(thread_safe_sender) { | 21 : thread_safe_sender_(thread_safe_sender) { |
22 } | 22 } |
23 | 23 |
24 RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() { | 24 RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() { |
25 } | 25 } |
(...skipping 28 matching lines...) Expand all Loading... |
54 const WebString& name, | 54 const WebString& name, |
55 WebIDBCallbacks* callbacks, | 55 WebIDBCallbacks* callbacks, |
56 const WebString& database_identifier) { | 56 const WebString& database_identifier) { |
57 IndexedDBDispatcher* dispatcher = | 57 IndexedDBDispatcher* dispatcher = |
58 IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get()); | 58 IndexedDBDispatcher::ThreadSpecificInstance(thread_safe_sender_.get()); |
59 dispatcher->RequestIDBFactoryDeleteDatabase( | 59 dispatcher->RequestIDBFactoryDeleteDatabase( |
60 name, callbacks, database_identifier.utf8()); | 60 name, callbacks, database_identifier.utf8()); |
61 } | 61 } |
62 | 62 |
63 } // namespace content | 63 } // namespace content |
OLD | NEW |