summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_context.cc
blob: 281aa7e277570afedcec383730597a1fd8463ace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/url_request/url_request_context.h"

#include "base/string_util.h"
#include "net/base/cookie_store.h"
#include "net/base/host_resolver.h"

URLRequestContext::URLRequestContext()
    : net_log_(NULL),
      host_resolver_(NULL),
      dnsrr_resolver_(NULL),
      dns_cert_checker_(NULL),
      http_transaction_factory_(NULL),
      ftp_transaction_factory_(NULL),
      http_auth_handler_factory_(NULL),
      network_delegate_(NULL),
      cookie_policy_(NULL),
      transport_security_state_(NULL),
      is_main_(false) {
}

const std::string& URLRequestContext::GetUserAgent(const GURL& url) const {
  return EmptyString();
}

URLRequestContext::~URLRequestContext() {
}