Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3096)

Unified Diff: chrome/service/net/service_url_request_context.h

Issue 5574006: Start deinlining non-empty virtual methods. (This will be automatically checked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698