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

Unified Diff: content/shell/browser/shell.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
« no previous file with comments | « content/public/browser/page_navigator.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index 12b17d233816b996fa7ad6d6b6fd441af84f378c..2f2c5e6a74b519504261428ce13fb098e1335701 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -326,8 +326,7 @@ WebContents* Shell::OpenURLFromTab(WebContents* source,
// Only allows the browser-initiated navigation to use POST.
if (params.uses_post && !params.is_renderer_initiated) {
- load_url_params.load_type =
- NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST;
+ load_url_params.method = "POST";
load_url_params.browser_initiated_post_data =
params.browser_initiated_post_data;
}
« no previous file with comments | « content/public/browser/page_navigator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698