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

Unified Diff: content/public/browser/page_navigator.h

Issue 21378002: Support POST in browser navaigation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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/public/browser/page_navigator.h
===================================================================
--- content/public/browser/page_navigator.h (revision 214769)
+++ content/public/browser/page_navigator.h (working copy)
@@ -72,6 +72,14 @@
// gesture if the navigation was initiated by the renderer.
bool user_gesture;
+ // Indicates whether this navigation will be sent using POST.
Charlie Reis 2013/08/02 16:36:41 Again, please make it clear that this only support
Johnny(Jianning) Ding 2013/08/02 23:22:55 Done.
+ bool uses_post;
+
+ // The post data when the navigation uses POST.
+ // Checking empty status of |post_data| should be enough to indicates whether
+ // opening a URL uses POST if sending POST without data is disallowed.
+ std::string post_data;
joth 2013/08/01 21:16:50 take a look at LoadURLParams in content/public/bro
Charlie Reis 2013/08/02 16:36:41 I agree, this seems like it would be better.
Johnny(Jianning) Ding 2013/08/02 23:22:55 Done.
+
private:
OpenURLParams();
};

Powered by Google App Engine
This is Rietveld 408576698