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

Unified Diff: net/url_request/url_request_context.cc

Issue 89243003: Move EmptyString, kWhitespace and the BOM to base. (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
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..391842f0e8abfad685d11a2263190d47a9618871 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -81,12 +81,12 @@ void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
std::string URLRequestContext::GetAcceptLanguage() const {
return http_user_agent_settings_ ?
- http_user_agent_settings_->GetAcceptLanguage() : EmptyString();
+ http_user_agent_settings_->GetAcceptLanguage() : std::string();
}
std::string URLRequestContext::GetUserAgent(const GURL& url) const {
return http_user_agent_settings_ ?
- http_user_agent_settings_->GetUserAgent(url) : EmptyString();
+ http_user_agent_settings_->GetUserAgent(url) : std::string();
}
void URLRequestContext::AssertNoURLRequests() const {
« no previous file with comments | « net/ftp/ftp_network_transaction.cc ('k') | net/url_request/url_request_http_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698