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

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

Issue 2817033002: Plumb the net::SSLInfo to the browser process when it's using the network service. (Closed)
Patch Set: add net::SSLInfo test Created 3 years, 8 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 46c4cf05e278d5d7288fccdd2830dcfc85d56581..2f7d5d1685fb42d5182b4312a670d57f77eba367 100644
--- a/content/browser/loader/mojo_async_resource_handler_unittest.cc
+++ b/content/browser/loader/mojo_async_resource_handler_unittest.cc
@@ -26,6 +26,7 @@
#include "content/browser/loader/test_url_loader_client.h"
#include "content/common/resource_request_completion_status.h"
#include "content/common/url_loader.mojom.h"
+#include "content/common/url_loader_factory.mojom.h"
#include "content/public/browser/appcache_service.h"
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/resource_context.h"
@@ -292,6 +293,7 @@ class TestURLLoaderFactory final : public mojom::URLLoaderFactory {
void CreateLoaderAndStart(mojom::URLLoaderAssociatedRequest request,
int32_t routing_id,
int32_t request_id,
+ uint32_t options,
const ResourceRequest& url_request,
mojom::URLLoaderClientPtr client_ptr) override {
loader_request_ = std::move(request);
@@ -354,7 +356,8 @@ class MojoAsyncResourceHandlerTestBase {
mojo::MakeRequest(&url_loader_factory_));
url_loader_factory_->CreateLoaderAndStart(
- mojo::MakeRequest(&url_loader_proxy_), kRouteId, kRequestId, request,
+ mojo::MakeRequest(&url_loader_proxy_), kRouteId, kRequestId,
+ mojom::kURLLoadOptionNone, request,
url_loader_client_.CreateInterfacePtr());
url_loader_factory_.FlushForTesting();
« no previous file with comments | « content/browser/loader/mojo_async_resource_handler.cc ('k') | content/browser/loader/navigation_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698