| 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 CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ | 5 #ifndef CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ |
| 6 #define CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ | 6 #define CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 |
| 8 #include "base/macros.h" | 10 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | |
| 11 #include "base/observer_list_threadsafe.h" | 12 #include "base/observer_list_threadsafe.h" |
| 12 | 13 |
| 13 class GURL; | 14 class GURL; |
| 14 | 15 |
| 15 namespace base { | 16 namespace base { |
| 16 class SingleThreadTaskRunner; | 17 class SingleThreadTaskRunner; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace chromecast { | 20 namespace chromecast { |
| 20 | 21 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 61 |
| 61 const scoped_refptr<base::ObserverListThreadSafe<ConnectivityObserver>> | 62 const scoped_refptr<base::ObserverListThreadSafe<ConnectivityObserver>> |
| 62 connectivity_observer_list_; | 63 connectivity_observer_list_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(ConnectivityChecker); | 65 DISALLOW_COPY_AND_ASSIGN(ConnectivityChecker); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace chromecast | 68 } // namespace chromecast |
| 68 | 69 |
| 69 #endif // CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ | 70 #endif // CHROMECAST_NET_CONNECTIVITY_CHECKER_H_ |
| OLD | NEW |