| 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/fileapi/webblobregistry_impl.h" | 5 #include "content/common_child/fileapi/webblobregistry_impl.h" |
| 6 | 6 |
| 7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/child_thread.h" | 10 #include "content/common/child_thread.h" |
| 11 #include "content/common/fileapi/webblob_messages.h" | 11 #include "content/common/fileapi/webblob_messages.h" |
| 12 #include "content/common/thread_safe_sender.h" | 12 #include "content/common/thread_safe_sender.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebBlobData.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebBlobData.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 sender_->Send(new BlobHostMsg_CloneBlob(url, src_url)); | 117 sender_->Send(new BlobHostMsg_CloneBlob(url, src_url)); |
| 118 } | 118 } |
| 119 | 119 |
| 120 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) { | 120 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) { |
| 121 DCHECK(ChildThread::current()->message_loop() == | 121 DCHECK(ChildThread::current()->message_loop() == |
| 122 base::MessageLoop::current()); | 122 base::MessageLoop::current()); |
| 123 sender_->Send(new BlobHostMsg_RemoveBlob(url)); | 123 sender_->Send(new BlobHostMsg_RemoveBlob(url)); |
| 124 } | 124 } |
| 125 | 125 |
| 126 } // namespace content | 126 } // namespace content |
| OLD | NEW |