You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
522 B
19 lines
522 B
// 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 <brillo/http/http_transport.h> |
|
|
|
#include <brillo/http/http_transport_curl.h> |
|
|
|
namespace brillo { |
|
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 brillo
|
|
|