Index: chrome/service/net/service_url_request_context.h |
diff --git a/chrome/service/net/service_url_request_context.h b/chrome/service/net/service_url_request_context.h |
index a19e9f2ded5225eb30238131cae1312e40d5718a..d1bb2bf1e46c793e5e3361b330603a0858fe3c1a 100644 |
--- a/chrome/service/net/service_url_request_context.h |
+++ b/chrome/service/net/service_url_request_context.h |
@@ -37,12 +37,7 @@ class ServiceURLRequestContext : public URLRequestContext { |
} |
// URLRequestContext overrides |
- virtual const std::string& GetUserAgent(const GURL& url) const { |
- // If the user agent is set explicitly return that, otherwise call the |
- // base class method to return default value. |
- return user_agent_.empty() ? |
- URLRequestContext::GetUserAgent(url) : user_agent_; |
- } |
+ virtual const std::string& GetUserAgent(const GURL& url) const; |
protected: |
virtual ~ServiceURLRequestContext(); |