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

Unified Diff: net/url_request/url_request_context.cc

Issue 83433008: Cleanup: Remove legacy accessors from URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index b5c531342ea37684c4610c15451508bc8f22dd45..6baf69d3e71c24f4a43fde855ec8d713e4515793 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -79,16 +79,6 @@ void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
cookie_store_ = cookie_store;
}
-std::string URLRequestContext::GetAcceptLanguage() const {
- return http_user_agent_settings_ ?
- http_user_agent_settings_->GetAcceptLanguage() : EmptyString();
-}
-
-std::string URLRequestContext::GetUserAgent(const GURL& url) const {
- return http_user_agent_settings_ ?
- http_user_agent_settings_->GetUserAgent(url) : EmptyString();
-}
-
void URLRequestContext::AssertNoURLRequests() const {
int num_requests = url_requests_->size();
if (num_requests != 0) {

Powered by Google App Engine
This is Rietveld 408576698