| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HOST_DNS_BLACKHOLE_CHECKER_H_ | 5 #ifndef REMOTING_HOST_DNS_BLACKHOLE_CHECKER_H_ |
| 6 #define REMOTING_HOST_DNS_BLACKHOLE_CHECKER_H_ | 6 #define REMOTING_HOST_DNS_BLACKHOLE_CHECKER_H_ |
| 7 | 7 |
| 8 #include "net/url_request/url_fetcher_delegate.h" | 8 #include "net/url_request/url_fetcher_delegate.h" |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 | 12 |
| 12 namespace net { | 13 namespace net { |
| 13 class URLRequestContextGetter; | 14 class URLRequestContextGetter; |
| 14 } // namespace net | 15 } // namespace net |
| 15 | 16 |
| 16 namespace remoting { | 17 namespace remoting { |
| 17 | 18 |
| 18 // This is the default prefix that is prepended to the kTalkGadgetUrl to form | 19 // This is the default prefix that is prepended to the kTalkGadgetUrl to form |
| 19 // the complete talkgadget URL used by the host. Policy settings allow admins | 20 // the complete talkgadget URL used by the host. Policy settings allow admins |
| 20 // to change the prefix that is used. | 21 // to change the prefix that is used. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 | 49 |
| 49 // Called with the results of the connection check. | 50 // Called with the results of the connection check. |
| 50 base::Callback<void(bool)> callback_; | 51 base::Callback<void(bool)> callback_; |
| 51 | 52 |
| 52 DISALLOW_COPY_AND_ASSIGN(DnsBlackholeChecker); | 53 DISALLOW_COPY_AND_ASSIGN(DnsBlackholeChecker); |
| 53 }; | 54 }; |
| 54 | 55 |
| 55 } // namespace remoting | 56 } // namespace remoting |
| 56 | 57 |
| 57 #endif // REMOTING_HOST_DNS_BLACKHOLE_CHECKER_H_ | 58 #endif // REMOTING_HOST_DNS_BLACKHOLE_CHECKER_H_ |
| OLD | NEW |