Implement NavigationControllerWebView.PostURL
Used for android WebView.postUrl HasPostData in NavigationEntry is used to indicate to the renderer that the navigation is a http post request. The usage here is slightly overloaded. HasPostData is set when from the renderer side for a http post request. This change also uses it to indicate a browser initiated http post request from PostURL. is_post is added to ViewMsg_Navigate_Params. A BrowserInitiatedPostData field is added to NavigationEntry in order to pass the post data to the renderer. Similar field added to ViewMsg_Navigate_Params. This field is only used for temporarily storing and passing post data to the renderer. Since the post data is also saved in ContentState after loading the it is cleared when ContentState is set. BUG= TEST=New tests passed Review URL: https://chromiumcodereview.appspot.com/10829044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149232 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment