| Index: remoting/test/fake_host_list_fetcher.cc
|
| diff --git a/remoting/test/fake_host_list_fetcher.cc b/remoting/test/fake_host_list_fetcher.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0f7b8d2e999b9ae6adeb981ba250e7c68049039b
|
| --- /dev/null
|
| +++ b/remoting/test/fake_host_list_fetcher.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 The Chromium 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 "remoting/test/fake_host_list_fetcher.h"
|
| +
|
| +namespace remoting {
|
| +namespace test {
|
| +
|
| +FakeHostListFetcher::FakeHostListFetcher() {
|
| +}
|
| +
|
| +FakeHostListFetcher::~FakeHostListFetcher() {
|
| +}
|
| +
|
| +void FakeHostListFetcher::RetrieveHostlist(const std::string& access_token,
|
| + const HostlistCallback& callback) {
|
| + callback.Run(host_list_);
|
| +}
|
| +
|
| +} // namespace test
|
| +} // namespace remoting
|
|
|