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

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.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: components/web_contents_delegate_android/web_contents_delegate_android.cc
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc
index 9ecfc69fee3399c31be9941513d37c9397323d08..1d9ae116f27ef082a6e52af49c0bd0b4ac08a9bd 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc
@@ -121,8 +121,7 @@ WebContents* WebContentsDelegateAndroid::OpenURLFromTab(
// Only allows the browser-initiated navigation to use POST.
if (params.uses_post && !params.is_renderer_initiated) {
- load_params.load_type =
- content::NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST;
+ load_params.method = "POST";
load_params.browser_initiated_post_data =
params.browser_initiated_post_data;
}
« no previous file with comments | « chrome/browser/ui/browser_navigator_params.h ('k') | content/browser/frame_host/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698