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(); |
}; |