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

Side by Side Diff: net/url_request/url_request_context.cc

Issue 9317018: referrer_charset is a lie. It's really the user's default_charset. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/url_request/url_request_context.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_request_context.h" 5 #include "net/url_request/url_request_context.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "net/base/cookie_store.h" 9 #include "net/base/cookie_store.h"
10 #include "net/base/host_resolver.h" 10 #include "net/base/host_resolver.h"
(...skipping 30 matching lines...) Expand all
41 set_http_auth_handler_factory(other->http_auth_handler_factory()); 41 set_http_auth_handler_factory(other->http_auth_handler_factory());
42 set_proxy_service(other->proxy_service()); 42 set_proxy_service(other->proxy_service());
43 set_ssl_config_service(other->ssl_config_service()); 43 set_ssl_config_service(other->ssl_config_service());
44 set_network_delegate(other->network_delegate()); 44 set_network_delegate(other->network_delegate());
45 set_http_server_properties(other->http_server_properties()); 45 set_http_server_properties(other->http_server_properties());
46 set_cookie_store(other->cookie_store()); 46 set_cookie_store(other->cookie_store());
47 set_transport_security_state(other->transport_security_state()); 47 set_transport_security_state(other->transport_security_state());
48 // FTPAuthCache is unique per context. 48 // FTPAuthCache is unique per context.
49 set_accept_language(other->accept_language()); 49 set_accept_language(other->accept_language());
50 set_accept_charset(other->accept_charset()); 50 set_accept_charset(other->accept_charset());
51 set_referrer_charset(other->referrer_charset()); 51 set_default_charset(other->default_charset());
52 set_http_transaction_factory(other->http_transaction_factory()); 52 set_http_transaction_factory(other->http_transaction_factory());
53 set_ftp_transaction_factory(other->ftp_transaction_factory()); 53 set_ftp_transaction_factory(other->ftp_transaction_factory());
54 set_job_factory(other->job_factory()); 54 set_job_factory(other->job_factory());
55 } 55 }
56 56
57 void URLRequestContext::set_cookie_store(CookieStore* cookie_store) { 57 void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
58 cookie_store_ = cookie_store; 58 cookie_store_ = cookie_store;
59 } 59 }
60 60
61 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { 61 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const {
62 return EmptyString(); 62 return EmptyString();
63 } 63 }
64 64
65 URLRequestContext::~URLRequestContext() { 65 URLRequestContext::~URLRequestContext() {
66 } 66 }
67 67
68 } // namespace net 68 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698