Changes for start_with_ext Telemetry test to work on Windows.
[chromium-blink-merge.git] / chrome / browser / local_discovery / privet_http.cc
blobe3ff4685c9eb64fcd911a3cc438593657f6306a6
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.
5 #include "chrome/browser/local_discovery/privet_http.h"
7 #include "chrome/browser/local_discovery/privet_http_impl.h"
9 namespace local_discovery {
11 // static
12 scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault(
13 scoped_ptr<PrivetHTTPClient> info_client) {
14 if (!info_client)
15 return scoped_ptr<PrivetV1HTTPClient>();
16 return make_scoped_ptr<PrivetV1HTTPClient>(
17 new PrivetV1HTTPClientImpl(info_client.Pass())).Pass();
20 } // namespace local_discovery