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

Unified Diff: content/browser/loader/mojo_async_resource_handler_unittest.cc

Issue 2954853002: Use Independent URLLoader
Patch Set: . Created 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/mojo_async_resource_handler_unittest.cc
diff --git a/content/browser/loader/mojo_async_resource_handler_unittest.cc b/content/browser/loader/mojo_async_resource_handler_unittest.cc
index 92fdb4905f60f2edb65330198da213229a71f915..92b8988a7f9ec9bb759e1485b0e5615195d8d963 100644
--- a/content/browser/loader/mojo_async_resource_handler_unittest.cc
+++ b/content/browser/loader/mojo_async_resource_handler_unittest.cc
@@ -208,7 +208,7 @@ class MojoAsyncResourceHandlerWithStubOperations
MojoAsyncResourceHandlerWithStubOperations(
net::URLRequest* request,
ResourceDispatcherHostImpl* rdh,
- mojom::URLLoaderAssociatedRequest mojo_request,
+ mojom::URLLoaderRequest mojo_request,
mojom::URLLoaderClientPtr url_loader_client)
: MojoAsyncResourceHandler(request,
rdh,
@@ -291,7 +291,7 @@ class TestURLLoaderFactory final : public mojom::URLLoaderFactory {
TestURLLoaderFactory() {}
~TestURLLoaderFactory() override {}
- void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request,
+ void CreateLoaderAndStart(mojom::URLLoaderRequest request,
int32_t routing_id,
int32_t request_id,
uint32_t options,
@@ -303,7 +303,7 @@ class TestURLLoaderFactory final : public mojom::URLLoaderFactory {
client_ptr_ = std::move(client_ptr);
}
- mojom::URLLoaderAssociatedRequest PassLoaderRequest() {
+ mojom::URLLoaderRequest PassLoaderRequest() {
return std::move(loader_request_);
}
@@ -317,7 +317,7 @@ class TestURLLoaderFactory final : public mojom::URLLoaderFactory {
}
private:
- mojom::URLLoaderAssociatedRequest loader_request_;
+ mojom::URLLoaderRequest loader_request_;
mojom::URLLoaderClientPtr client_ptr_;
DISALLOW_COPY_AND_ASSIGN(TestURLLoaderFactory);
@@ -422,7 +422,7 @@ class MojoAsyncResourceHandlerTestBase {
TestResourceDispatcherHostDelegate rdh_delegate_;
ResourceDispatcherHostImpl rdh_;
mojom::URLLoaderFactoryPtr url_loader_factory_;
- mojom::URLLoaderAssociatedPtr url_loader_proxy_;
+ mojom::URLLoaderPtr url_loader_proxy_;
TestURLLoaderClient url_loader_client_;
std::unique_ptr<TestBrowserContext> browser_context_;
net::TestDelegate url_request_delegate_;
« no previous file with comments | « content/browser/loader/mojo_async_resource_handler.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698