Index: trunk/src/net/url_request/http_user_agent_settings.h |
=================================================================== |
--- trunk/src/net/url_request/http_user_agent_settings.h (revision 255866) |
+++ trunk/src/net/url_request/http_user_agent_settings.h (working copy) |
@@ -24,8 +24,9 @@ |
// Gets the value of 'Accept-Language' header field. |
virtual std::string GetAcceptLanguage() const = 0; |
- // Gets the UA string. |
- virtual std::string GetUserAgent() const = 0; |
+ // Gets the UA string to use for the given URL. Pass an empty URL to get |
+ // the default UA string. |
+ virtual std::string GetUserAgent(const GURL& url) const = 0; |
private: |
DISALLOW_COPY_AND_ASSIGN(HttpUserAgentSettings); |