| 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_REMOTE_HOST_INFO_FETCHER_H_ | 5 #ifndef REMOTING_TEST_REMOTE_HOST_INFO_FETCHER_H_ |
| 6 #define REMOTING_TEST_REMOTE_HOST_INFO_FETCHER_H_ | 6 #define REMOTING_TEST_REMOTE_HOST_INFO_FETCHER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
| 14 #include "remoting/test/app_remoting_service_urls.h" | 15 #include "remoting/test/app_remoting_service_urls.h" |
| 15 #include "remoting/test/remote_host_info.h" | 16 #include "remoting/test/remote_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 { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // Caller-supplied callback used to return remote host info on success. | 60 // Caller-supplied callback used to return remote host info on success. |
| 60 RemoteHostInfoCallback remote_host_info_callback_; | 61 RemoteHostInfoCallback remote_host_info_callback_; |
| 61 | 62 |
| 62 DISALLOW_COPY_AND_ASSIGN(RemoteHostInfoFetcher); | 63 DISALLOW_COPY_AND_ASSIGN(RemoteHostInfoFetcher); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace test | 66 } // namespace test |
| 66 } // namespace remoting | 67 } // namespace remoting |
| 67 | 68 |
| 68 #endif // REMOTING_TEST_REMOTE_HOST_INFO_FETCHER_H_ | 69 #endif // REMOTING_TEST_REMOTE_HOST_INFO_FETCHER_H_ |
| OLD | NEW |