summaryrefslogtreecommitdiff
path: root/chromeos/http/http_transport.cc
blob: 785e5fd4410d21587cb614c8201e66fee5118ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2014 The Chromium OS 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 <chromeos/http/http_transport.h>

#include <chromeos/http/http_transport_curl.h>

namespace chromeos {
namespace http {

const char kErrorDomain[] = "http_transport";

std::shared_ptr<Transport> Transport::CreateDefault() {
  return std::make_shared<http::curl::Transport>(std::make_shared<CurlApi>());
}

}  // namespace http
}  // namespace chromeos