OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ | 5 #ifndef REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ |
6 #define REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ | 6 #define REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "remoting/test/host_list_fetcher.h" | 9 #include "remoting/test/host_list_fetcher.h" |
9 | 10 |
10 namespace remoting { | 11 namespace remoting { |
11 namespace test { | 12 namespace test { |
12 | 13 |
13 // Used to fake retrieving the host list without making any actual calls to the | 14 // Used to fake retrieving the host list without making any actual calls to the |
14 // directory service for information. | 15 // directory service for information. |
15 class FakeHostListFetcher : public HostListFetcher { | 16 class FakeHostListFetcher : public HostListFetcher { |
16 public: | 17 public: |
17 FakeHostListFetcher(); | 18 FakeHostListFetcher(); |
(...skipping 10 matching lines...) Expand all Loading... |
28 private: | 29 private: |
29 std::vector<HostInfo> host_list_; | 30 std::vector<HostInfo> host_list_; |
30 | 31 |
31 DISALLOW_COPY_AND_ASSIGN(FakeHostListFetcher); | 32 DISALLOW_COPY_AND_ASSIGN(FakeHostListFetcher); |
32 }; | 33 }; |
33 | 34 |
34 } // namespace test | 35 } // namespace test |
35 } // namespace remoting | 36 } // namespace remoting |
36 | 37 |
37 #endif // REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ | 38 #endif // REMOTING_TEST_FAKE_HOST_LIST_FETCHER_H_ |
OLD | NEW |