| 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/webblobregistry_impl.h" | 5 #include "content/child/webblobregistry_impl.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "content/child/child_thread.h" | 12 #include "content/child/child_thread.h" |
| 13 #include "content/child/thread_safe_sender.h" | 13 #include "content/child/thread_safe_sender.h" |
| 14 #include "content/common/fileapi/webblob_messages.h" | 14 #include "content/common/fileapi/webblob_messages.h" |
| 15 #include "storage/common/blob/blob_data.h" |
| 15 #include "third_party/WebKit/public/platform/WebBlobData.h" | 16 #include "third_party/WebKit/public/platform/WebBlobData.h" |
| 16 #include "third_party/WebKit/public/platform/WebString.h" | 17 #include "third_party/WebKit/public/platform/WebString.h" |
| 17 #include "third_party/WebKit/public/platform/WebThreadSafeData.h" | 18 #include "third_party/WebKit/public/platform/WebThreadSafeData.h" |
| 18 #include "third_party/WebKit/public/platform/WebURL.h" | 19 #include "third_party/WebKit/public/platform/WebURL.h" |
| 19 #include "webkit/common/blob/blob_data.h" | |
| 20 | 20 |
| 21 using blink::WebBlobData; | 21 using blink::WebBlobData; |
| 22 using blink::WebString; | 22 using blink::WebString; |
| 23 using blink::WebThreadSafeData; | 23 using blink::WebThreadSafeData; |
| 24 using blink::WebURL; | 24 using blink::WebURL; |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| 29 | 29 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 DCHECK(ChildThread::current()); | 203 DCHECK(ChildThread::current()); |
| 204 sender_->Send(new StreamHostMsg_AbortBuilding(url)); | 204 sender_->Send(new StreamHostMsg_AbortBuilding(url)); |
| 205 } | 205 } |
| 206 | 206 |
| 207 void WebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { | 207 void WebBlobRegistryImpl::unregisterStreamURL(const WebURL& url) { |
| 208 DCHECK(ChildThread::current()); | 208 DCHECK(ChildThread::current()); |
| 209 sender_->Send(new StreamHostMsg_Remove(url)); | 209 sender_->Send(new StreamHostMsg_Remove(url)); |
| 210 } | 210 } |
| 211 | 211 |
| 212 } // namespace content | 212 } // namespace content |
| OLD | NEW |