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

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

Issue 7021004: Add missing initializer for |proxy_service_| in URLRequestContext constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 7 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 | « no previous file | 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/string_util.h" 7 #include "base/string_util.h"
8 #include "net/base/cookie_store.h" 8 #include "net/base/cookie_store.h"
9 #include "net/base/host_resolver.h" 9 #include "net/base/host_resolver.h"
10 #include "net/ftp/ftp_transaction_factory.h" 10 #include "net/ftp/ftp_transaction_factory.h"
11 #include "net/http/http_transaction_factory.h" 11 #include "net/http/http_transaction_factory.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 URLRequestContext::URLRequestContext() 15 URLRequestContext::URLRequestContext()
16 : is_main_(false), 16 : is_main_(false),
17 net_log_(NULL), 17 net_log_(NULL),
18 host_resolver_(NULL), 18 host_resolver_(NULL),
19 cert_verifier_(NULL), 19 cert_verifier_(NULL),
20 dnsrr_resolver_(NULL), 20 dnsrr_resolver_(NULL),
21 dns_cert_checker_(NULL), 21 dns_cert_checker_(NULL),
22 http_auth_handler_factory_(NULL), 22 http_auth_handler_factory_(NULL),
23 proxy_service_(NULL),
23 network_delegate_(NULL), 24 network_delegate_(NULL),
24 transport_security_state_(NULL), 25 transport_security_state_(NULL),
25 http_transaction_factory_(NULL), 26 http_transaction_factory_(NULL),
26 ftp_transaction_factory_(NULL) { 27 ftp_transaction_factory_(NULL) {
27 } 28 }
28 29
29 void URLRequestContext::CopyFrom(URLRequestContext* other) { 30 void URLRequestContext::CopyFrom(URLRequestContext* other) {
30 // Copy URLRequestContext parameters. 31 // Copy URLRequestContext parameters.
31 // Do not copy is_main_. 32 // Do not copy is_main_.
32 set_net_log(other->net_log()); 33 set_net_log(other->net_log());
(...skipping 20 matching lines...) Expand all
53 } 54 }
54 55
55 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { 56 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const {
56 return EmptyString(); 57 return EmptyString();
57 } 58 }
58 59
59 URLRequestContext::~URLRequestContext() { 60 URLRequestContext::~URLRequestContext() {
60 } 61 }
61 62
62 } // namespace net 63 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698