| Index: content/public/browser/navigation_handle.h
|
| diff --git a/content/public/browser/navigation_handle.h b/content/public/browser/navigation_handle.h
|
| index 7f1e8ab7111b27370271d709a85602ea5242a041..a91f0018ad2770018828cc633c254d6525e7f6fa 100644
|
| --- a/content/public/browser/navigation_handle.h
|
| +++ b/content/public/browser/navigation_handle.h
|
| @@ -89,9 +89,9 @@ class CONTENT_EXPORT NavigationHandle {
|
| // This corresponds to NavigationThrottle::WillSendRequest. They should not
|
| // be queried before that.
|
|
|
| - // Whether the navigation is a POST or a GET. This may change during the
|
| - // navigation when encountering a server redirect.
|
| - virtual bool IsPost() = 0;
|
| + // HTTP method of the navigation (i.e. a POST or a GET). This may change
|
| + // during the navigation when encountering a server redirect.
|
| + virtual const std::string& GetMethod() = 0;
|
|
|
| // Returns a sanitized version of the referrer for this request.
|
| virtual const Referrer& GetReferrer() = 0;
|
|
|