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

Side by Side Diff: webkit/tools/test_shell/test_shell_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
« no previous file with comments | « chrome/common/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" 5 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.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 #include "webkit/blob/blob_storage_controller.h" 13 #include "webkit/blob/blob_storage_controller.h"
15 14
16 using WebKit::WebBlobData; 15 using WebKit::WebBlobData;
17 using WebKit::WebBlobStorageData; 16 using WebKit::WebBlobStorageData;
18 using WebKit::WebString; 17 using WebKit::WebString;
19 using WebKit::WebURL; 18 using WebKit::WebURL;
20 19
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void TestShellWebBlobRegistryImpl::DoRegisterBlobUrlFrom( 80 void TestShellWebBlobRegistryImpl::DoRegisterBlobUrlFrom(
82 const GURL& url, const GURL& src_url) { 81 const GURL& url, const GURL& src_url) {
83 DCHECK(g_blob_storage_controller); 82 DCHECK(g_blob_storage_controller);
84 g_blob_storage_controller->RegisterBlobUrlFrom(url, src_url); 83 g_blob_storage_controller->RegisterBlobUrlFrom(url, src_url);
85 } 84 }
86 85
87 void TestShellWebBlobRegistryImpl::DoUnregisterBlobUrl(const GURL& url) { 86 void TestShellWebBlobRegistryImpl::DoUnregisterBlobUrl(const GURL& url) {
88 DCHECK(g_blob_storage_controller); 87 DCHECK(g_blob_storage_controller);
89 g_blob_storage_controller->UnregisterBlobUrl(url); 88 g_blob_storage_controller->UnregisterBlobUrl(url);
90 } 89 }
OLDNEW
« no previous file with comments | « chrome/common/webblobregistry_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698