blob: 2f558ccdbd86c214e68499f243bb56623dd5bbca [file] [log] [blame]
[email protected]27a112c2011-01-06 04:19:301// Copyright (c) 2011 The Chromium Authors. All rights reserved.
[email protected]f1d81922010-07-31 17:47:092// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "net/url_request/url_request_context.h"
6
7#include "base/string_util.h"
[email protected]9349cfb2010-08-31 18:00:538#include "net/base/cookie_store.h"
9#include "net/base/host_resolver.h"
[email protected]f6c21cb2011-02-16 19:45:4110#include "net/ftp/ftp_transaction_factory.h"
11#include "net/http/http_transaction_factory.h"
[email protected]9349cfb2010-08-31 18:00:5312
[email protected]27a112c2011-01-06 04:19:3013namespace net {
14
[email protected]9349cfb2010-08-31 18:00:5315URLRequestContext::URLRequestContext()
[email protected]f6c21cb2011-02-16 19:45:4116 : is_main_(false),
17 net_log_(NULL),
[email protected]c3a7bce2010-10-18 17:36:5418 host_resolver_(NULL),
[email protected]822581d2010-12-16 17:27:1519 cert_verifier_(NULL),
[email protected]2db580532010-10-08 14:32:3720 dnsrr_resolver_(NULL),
[email protected]345c613b2010-11-22 19:33:1821 dns_cert_checker_(NULL),
[email protected]9349cfb2010-08-31 18:00:5322 http_auth_handler_factory_(NULL),
23 network_delegate_(NULL),
24 cookie_policy_(NULL),
[email protected]70b92342010-10-12 05:54:0625 transport_security_state_(NULL),
[email protected]f6c21cb2011-02-16 19:45:4126 http_transaction_factory_(NULL),
27 ftp_transaction_factory_(NULL) {
[email protected]9349cfb2010-08-31 18:00:5328}
[email protected]f1d81922010-07-31 17:47:0929
[email protected]d100e44f2011-01-26 22:47:1130void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
31 cookie_store_ = cookie_store;
32}
33
[email protected]f1d81922010-07-31 17:47:0934const std::string& URLRequestContext::GetUserAgent(const GURL& url) const {
35 return EmptyString();
36}
[email protected]9349cfb2010-08-31 18:00:5337
38URLRequestContext::~URLRequestContext() {
39}
[email protected]2fb629202010-12-23 23:52:5740
[email protected]27a112c2011-01-06 04:19:3041} // namespace net