OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 10 |
11 URLRequestContext::URLRequestContext() | 11 URLRequestContext::URLRequestContext() |
12 : net_log_(NULL), | 12 : net_log_(NULL), |
13 dnsrr_resolver_(NULL), | 13 dnsrr_resolver_(NULL), |
14 http_transaction_factory_(NULL), | 14 http_transaction_factory_(NULL), |
15 ftp_transaction_factory_(NULL), | 15 ftp_transaction_factory_(NULL), |
16 http_auth_handler_factory_(NULL), | 16 http_auth_handler_factory_(NULL), |
17 network_delegate_(NULL), | 17 network_delegate_(NULL), |
18 cookie_policy_(NULL), | 18 cookie_policy_(NULL), |
19 transport_security_state_(NULL) { | 19 transport_security_state_(NULL), |
| 20 is_main_(false) { |
20 } | 21 } |
21 | 22 |
22 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { | 23 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { |
23 return EmptyString(); | 24 return EmptyString(); |
24 } | 25 } |
25 | 26 |
26 URLRequestContext::~URLRequestContext() { | 27 URLRequestContext::~URLRequestContext() { |
27 } | 28 } |
OLD | NEW |