summaryrefslogtreecommitdiffstats
path: root/remoting/test/fake_host_list_fetcher.cc
blob: 0f7b8d2e999b9ae6adeb981ba250e7c68049039b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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