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

Side by Side Diff: chrome/common/webblobregistry_impl.cc

Issue 3472010: Fix the problem that BlobDispatcherHost is not hooked up in WorkerProcessHost... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/common/webblobregistry_impl.h" 5 #include "chrome/common/webblobregistry_impl.h"
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
9 #include "third_party/WebKit/WebKit/chromium/public/WebBlobData.h" 9 #include "third_party/WebKit/WebKit/chromium/public/WebBlobData.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebBlobStorageData.h"
11 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebString.h"
12 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
13 #include "webkit/blob/blob_data.h" 12 #include "webkit/blob/blob_data.h"
14 13
15 using WebKit::WebBlobData; 14 using WebKit::WebBlobData;
16 using WebKit::WebBlobStorageData; 15 using WebKit::WebBlobStorageData;
17 using WebKit::WebString; 16 using WebKit::WebString;
18 using WebKit::WebURL; 17 using WebKit::WebURL;
19 18
20 WebBlobRegistryImpl::WebBlobRegistryImpl(IPC::Message::Sender* sender) 19 WebBlobRegistryImpl::WebBlobRegistryImpl(IPC::Message::Sender* sender)
(...skipping 11 matching lines...) Expand all
32 } 31 }
33 32
34 void WebBlobRegistryImpl::registerBlobURL( 33 void WebBlobRegistryImpl::registerBlobURL(
35 const WebURL& url, const WebURL& src_url) { 34 const WebURL& url, const WebURL& src_url) {
36 sender_->Send(new ViewHostMsg_RegisterBlobUrlFrom(url, src_url)); 35 sender_->Send(new ViewHostMsg_RegisterBlobUrlFrom(url, src_url));
37 } 36 }
38 37
39 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) { 38 void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) {
40 sender_->Send(new ViewHostMsg_UnregisterBlobUrl(url)); 39 sender_->Send(new ViewHostMsg_UnregisterBlobUrl(url));
41 } 40 }
OLDNEW
« no previous file with comments | « chrome/browser/worker_host/worker_process_host.cc ('k') | webkit/tools/test_shell/test_shell_webblobregistry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698