DescriptionImplement 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149232
Patch Set 1 #
Total comments: 9
Patch Set 2 : Use vector<char> to store http_body. Comments not addressed yet #Patch Set 3 : Add unit tests #Patch Set 4 : Fixes according to comments. Improve render_view test. #
Total comments: 5
Patch Set 5 : Fix nits. Use RefCountedBytes. #
Total comments: 13
Patch Set 6 : Change RefCountedBytes RefCountedMemory. Fix pointers in method signature. #Patch Set 7 : Update render view browser test. #Patch Set 8 : NavigationEntry: clarify comments, return raw pointer #
Total comments: 1
Messages
Total messages: 20 (0 generated)
|