| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_SYNC_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ | 5 #ifndef CHROME_COMMON_NET_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ |
| 6 #define CHROME_BROWSER_SYNC_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ | 6 #define CHROME_COMMON_NET_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ |
| 7 | 7 |
| 8 #include "talk/base/signalthread.h" | 8 #include "talk/base/signalthread.h" |
| 9 | 9 |
| 10 namespace notifier { | 10 namespace notifier { |
| 11 | 11 |
| 12 // System specific info needed for changes. | 12 // System specific info needed for changes. |
| 13 class PlatformNetworkInfo; | 13 class PlatformNetworkInfo; |
| 14 | 14 |
| 15 class AsyncNetworkAlive : public talk_base::SignalThread { | 15 class AsyncNetworkAlive : public talk_base::SignalThread { |
| 16 public: | 16 public: |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 PlatformNetworkInfo* network_info_; | 43 PlatformNetworkInfo* network_info_; |
| 44 bool alive_; | 44 bool alive_; |
| 45 bool error_; | 45 bool error_; |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 DISALLOW_COPY_AND_ASSIGN(AsyncNetworkAlive); | 48 DISALLOW_COPY_AND_ASSIGN(AsyncNetworkAlive); |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace notifier | 51 } // namespace notifier |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_SYNC_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ | 53 #endif // CHROME_COMMON_NET_NOTIFIER_BASE_ASYNC_NETWORK_ALIVE_H_ |
| OLD | NEW |