| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium 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 "chrome/browser/local_discovery/privet_http.h" | |
| 6 | |
| 7 #include <utility> | |
| 8 | |
| 9 #include "chrome/browser/local_discovery/privet_http_impl.h" | |
| 10 | |
| 11 namespace local_discovery { | |
| 12 | |
| 13 // static | |
| 14 scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault( | |
| 15 scoped_ptr<PrivetHTTPClient> info_client) { | |
| 16 if (!info_client) | |
| 17 return scoped_ptr<PrivetV1HTTPClient>(); | |
| 18 return make_scoped_ptr<PrivetV1HTTPClient>( | |
| 19 new PrivetV1HTTPClientImpl(std::move(info_client))); | |
| 20 } | |
| 21 | |
| 22 } // namespace local_discovery | |
| OLD | NEW |