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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 2900563002: Network service: Safe browsing check for sub-resources from renderer. (Closed)
Patch Set: . Created 3 years, 7 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/public/child/BUILD.gn » ('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 f0ff7471cf8d2eb2a6713611e876d055158ef7f1..1c4c9cb778d623118e40b115e708bfc132612b99 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -67,11 +67,13 @@ class TestResourceDispatcher : public ResourceDispatcher {
// TestDispatcher implementation:
- void StartSync(std::unique_ptr<ResourceRequest> request,
- int routing_id,
- SyncLoadResponse* response,
- blink::WebURLRequest::LoadingIPCType ipc_type,
- mojom::URLLoaderFactory* url_loader_factory) override {
+ void StartSync(
+ std::unique_ptr<ResourceRequest> request,
+ int routing_id,
+ SyncLoadResponse* response,
+ blink::WebURLRequest::LoadingIPCType ipc_type,
+ mojom::URLLoaderFactory* url_loader_factory,
+ std::vector<std::unique_ptr<URLLoaderThrottle>> throttles) override {
*response = sync_load_response_;
}
@@ -83,6 +85,7 @@ class TestResourceDispatcher : public ResourceDispatcher {
std::unique_ptr<RequestPeer> peer,
blink::WebURLRequest::LoadingIPCType ipc_type,
mojom::URLLoaderFactory* url_loader_factory,
+ std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
mojo::ScopedDataPipeConsumerHandle consumer_handle) override {
EXPECT_FALSE(peer_);
peer_ = std::move(peer);
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/public/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698