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

Unified Diff: content/test/test_navigation_url_loader.cc

Issue 2239273002: Don't use SSLStatus from FrameHostMsg_DidCommitProvisionalLoad and instead cache it on the browser … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 4 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/test/test_navigation_url_loader.cc
diff --git a/content/test/test_navigation_url_loader.cc b/content/test/test_navigation_url_loader.cc
index 8dafc5e6a712252132262bd346ee13216ed70176..2a4e4f02f4e1714f38af33d366dbc765020a99a1 100644
--- a/content/test/test_navigation_url_loader.cc
+++ b/content/test/test_navigation_url_loader.cc
@@ -10,6 +10,7 @@
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/stream_handle.h"
#include "content/public/common/resource_response.h"
+#include "content/public/common/ssl_status.h"
#include "net/url_request/redirect_info.h"
namespace content {
@@ -54,7 +55,7 @@ void TestNavigationURLLoader::CallOnResponseStarted(
const scoped_refptr<ResourceResponse>& response,
std::unique_ptr<StreamHandle> body,
std::unique_ptr<NavigationData> navigation_data) {
- delegate_->OnResponseStarted(response, std::move(body),
+ delegate_->OnResponseStarted(response, std::move(body), SSLStatus(),
std::move(navigation_data));
}

Powered by Google App Engine
This is Rietveld 408576698