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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 2449933003: Use Associated interfaces for mojo-loading (Closed)
Patch Set: fix Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/url_loader_factory.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl_unittest.cc
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc
index 2f377caf9a31ef03c6007f9fc6e6dfbb2f53793c..c0f51c4a2fed32aa3320b7ccac1038f695f08d19 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -81,7 +81,8 @@ class TestResourceDispatcher : public ResourceDispatcher {
const GURL& frame_origin,
std::unique_ptr<RequestPeer> peer,
blink::WebURLRequest::LoadingIPCType ipc_type,
- mojom::URLLoaderFactory* url_loader_factory) override {
+ mojom::URLLoaderFactory* url_loader_factory,
+ mojo::AssociatedGroup* associated_group) override {
EXPECT_FALSE(peer_);
EXPECT_EQ(blink::WebURLRequest::LoadingIPCType::ChromeIPC, ipc_type);
peer_ = std::move(peer);
@@ -125,7 +126,7 @@ class TestResourceDispatcher : public ResourceDispatcher {
class TestWebURLLoaderClient : public blink::WebURLLoaderClient {
public:
TestWebURLLoaderClient(ResourceDispatcher* dispatcher)
- : loader_(new WebURLLoaderImpl(dispatcher, nullptr)),
+ : loader_(new WebURLLoaderImpl(dispatcher, nullptr, nullptr)),
delete_on_receive_redirect_(false),
delete_on_receive_response_(false),
delete_on_receive_data_(false),
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/url_loader_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698