diff options
Diffstat (limited to 'net/url_request/url_request.h')
-rw-r--r-- | net/url_request/url_request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h index bdd76e7..c395125 100644 --- a/net/url_request/url_request.h +++ b/net/url_request/url_request.h @@ -270,6 +270,8 @@ class URLRequest { // may only be changed before Start() is called. const std::string& referrer() const { return referrer_; } void set_referrer(const std::string& referrer); + // Returns the referrer header with potential username and password removed. + GURL GetSanitizedReferrer() const; // The delegate of the request. This value may be changed at any time, // and it is permissible for it to be null. |