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

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

Issue 2022483003: ABANDONED CL: LoadURLParams: Add |method| + removing LOAD_TYPE_BROWSER_INITIATED_HTTP_POST. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@post-data-my-stuff
Patch Set: Rebasing... Created 4 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
Index: content/browser/frame_host/navigation_controller_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_controller_impl_unittest.cc b/content/browser/frame_host/navigation_controller_impl_unittest.cc
index f67f7e6f9a2118486c0d69a4519367424cdfb6a1..b723862e518f094d5ae3695ab643b2c6f933d305 100644
--- a/content/browser/frame_host/navigation_controller_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_controller_impl_unittest.cc
@@ -755,11 +755,9 @@ TEST_F(NavigationControllerTest, LoadURLWithExtraParams_HttpPost) {
NavigationController::LoadURLParams load_params(GURL("https://posturl"));
load_params.transition_type = ui::PAGE_TRANSITION_TYPED;
- load_params.load_type =
- NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST;
+ load_params.method = "POST";
load_params.override_user_agent = NavigationController::UA_OVERRIDE_TRUE;
-
const unsigned char* raw_data =
reinterpret_cast<const unsigned char*>("d\n\0a2");
const int length = 5;

Powered by Google App Engine
This is Rietveld 408576698