Small update to WebResourceRequest.isRedirect

Specify that 'isRedirect' is only true for server-side redirects.

Bug: 22346196
Change-Id: I9a8c31476c796265f554327dfff46778c5f84399
This commit is contained in:
Mikhail Naganov
2015-11-02 15:38:29 -08:00
parent 4f16073556
commit 9daceaf609

View File

@@ -40,9 +40,9 @@ public interface WebResourceRequest {
boolean isForMainFrame();
/**
* Gets whether the request was a result of a redirect.
* Gets whether the request was a result of a server-side redirect.
*
* @return whether the request was a result of a redirect.
* @return whether the request was a result of a server-side redirect.
*/
boolean isRedirect();