Home | History | Annotate | Download | only in http
      1 // Copyright 2014 The Chromium OS Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include <brillo/http/http_transport.h>
      6 
      7 #include <brillo/http/http_transport_curl.h>
      8 
      9 namespace brillo {
     10 namespace http {
     11 
     12 const char kErrorDomain[] = "http_transport";
     13 
     14 std::shared_ptr<Transport> Transport::CreateDefault() {
     15   return std::make_shared<http::curl::Transport>(std::make_shared<CurlApi>());
     16 }
     17 
     18 }  // namespace http
     19 }  // namespace brillo
     20