Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: content/child/webblobregistry_impl.cc

Issue 16189015: [OBSOLETE] Slogging webkit_base out of existence. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/child/fileapi/webfilesystem_callback_adapters.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/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/child/child_thread.h" 10 #include "content/child/child_thread.h"
11 #include "content/child/thread_safe_sender.h" 11 #include "content/child/thread_safe_sender.h"
12 #include "content/common/fileapi/webblob_messages.h" 12 #include "content/common/fileapi/webblob_messages.h"
13 #include "third_party/WebKit/public/platform/WebBlobData.h" 13 #include "third_party/WebKit/public/platform/WebBlobData.h"
14 #include "third_party/WebKit/public/platform/WebString.h" 14 #include "third_party/WebKit/public/platform/WebString.h"
15 #include "third_party/WebKit/public/platform/WebURL.h" 15 #include "third_party/WebKit/public/platform/WebURL.h"
16 #include "webkit/base/file_path_string_conversions.h" 16 #include "webkit/common/base/file_path_string_conversions.h"
17 #include "webkit/common/blob/blob_data.h" 17 #include "webkit/common/blob/blob_data.h"
18 18
19 using WebKit::WebBlobData; 19 using WebKit::WebBlobData;
20 using WebKit::WebString; 20 using WebKit::WebString;
21 using WebKit::WebURL; 21 using WebKit::WebURL;
22 22
23 namespace content { 23 namespace content {
24 24
25 WebBlobRegistryImpl::WebBlobRegistryImpl(ThreadSafeSender* sender) 25 WebBlobRegistryImpl::WebBlobRegistryImpl(ThreadSafeSender* sender)
26 : sender_(sender) { 26 : sender_(sender) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 sender_->Send(new BlobHostMsg_CloneBlob(url, src_url)); 118 sender_->Send(new BlobHostMsg_CloneBlob(url, src_url));
119 } 119 }
120 120
121 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) { 121 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) {
122 DCHECK(ChildThread::current()->message_loop() == 122 DCHECK(ChildThread::current()->message_loop() ==
123 base::MessageLoop::current()); 123 base::MessageLoop::current());
124 sender_->Send(new BlobHostMsg_RemoveBlob(url)); 124 sender_->Send(new BlobHostMsg_RemoveBlob(url));
125 } 125 }
126 126
127 } // namespace content 127 } // namespace content
OLDNEW
« no previous file with comments | « content/child/fileapi/webfilesystem_callback_adapters.cc ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698