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

Unified Diff: content/browser/frame_host/navigation_handle_impl_unittest.cc

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Fixed external handling order change for request start and redirects. Created 4 years, 5 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/frame_host/navigation_handle_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_unittest.cc b/content/browser/frame_host/navigation_handle_impl_unittest.cc
index f77bbdf01231f5eb8670ab5feaa8082e13b736d9..d6f256b6312302613ac4eb646cfd608c154b63ca 100644
--- a/content/browser/frame_host/navigation_handle_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_unittest.cc
@@ -5,6 +5,7 @@
#include "base/macros.h"
#include "content/browser/frame_host/navigation_handle_impl.h"
#include "content/public/browser/navigation_throttle.h"
+#include "content/public/common/request_context_type.h"
#include "content/test/test_render_frame_host.h"
namespace content {
@@ -103,6 +104,7 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
// the NavigationHandleImplTest.
test_handle_->WillStartRequest(
"GET", nullptr, Referrer(), false, ui::PAGE_TRANSITION_LINK, false,
+ REQUEST_CONTEXT_TYPE_LOCATION,
base::Bind(&NavigationHandleImplTest::UpdateThrottleCheckResult,
base::Unretained(this)));
}

Powered by Google App Engine
This is Rietveld 408576698