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 http_transaction_factory_(NULL), | 13 http_transaction_factory_(NULL), |
14 ftp_transaction_factory_(NULL), | 14 ftp_transaction_factory_(NULL), |
15 http_auth_handler_factory_(NULL), | 15 http_auth_handler_factory_(NULL), |
16 network_delegate_(NULL), | 16 network_delegate_(NULL), |
17 cookie_policy_(NULL), | 17 cookie_policy_(NULL), |
18 transport_security_state_(NULL) { | 18 transport_security_state_(NULL), |
| 19 is_main_(false) { |
19 } | 20 } |
20 | 21 |
21 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { | 22 const std::string& URLRequestContext::GetUserAgent(const GURL& url) const { |
22 return EmptyString(); | 23 return EmptyString(); |
23 } | 24 } |
24 | 25 |
25 URLRequestContext::~URLRequestContext() { | 26 URLRequestContext::~URLRequestContext() { |
26 } | 27 } |
OLD | NEW |