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_HOST_LIST_FETCHER_H_ | 5 #ifndef REMOTING_TEST_HOST_LIST_FETCHER_H_ |
6 #define REMOTING_TEST_HOST_LIST_FETCHER_H_ | 6 #define REMOTING_TEST_HOST_LIST_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
15 #include "remoting/test/host_info.h" | 16 #include "remoting/test/host_info.h" |
16 | 17 |
17 namespace net { | 18 namespace net { |
18 class UrlFetcher; | 19 class UrlFetcher; |
19 } | 20 } |
20 namespace remoting { | 21 namespace remoting { |
21 class URLRequestContextGetter; | 22 class URLRequestContextGetter; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 // Caller-supplied callback used to return hostlist on success. | 66 // Caller-supplied callback used to return hostlist on success. |
66 HostlistCallback hostlist_callback_; | 67 HostlistCallback hostlist_callback_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(HostListFetcher); | 69 DISALLOW_COPY_AND_ASSIGN(HostListFetcher); |
69 }; | 70 }; |
70 | 71 |
71 } // namespace test | 72 } // namespace test |
72 } // namespace remoting | 73 } // namespace remoting |
73 | 74 |
74 #endif // REMOTING_TEST_HOST_LIST_FETCHER_H_ | 75 #endif // REMOTING_TEST_HOST_LIST_FETCHER_H_ |
OLD | NEW |