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 NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ | 5 #ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ |
6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ | 6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ |
7 | 7 |
8 #include "base/android/jni_android.h" | 8 #include "base/android/jni_android.h" |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" |
11 #include "net/android/network_change_notifier_delegate_android.h" | 11 #include "net/android/network_change_notifier_delegate_android.h" |
12 #include "net/base/network_change_notifier.h" | 12 #include "net/base/network_change_notifier.h" |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
16 struct DnsConfig; | 16 struct DnsConfig; |
17 class NetworkChangeNotifierAndroidTest; | 17 class NetworkChangeNotifierAndroidTest; |
18 class NetworkChangeNotifierFactoryAndroid; | 18 class NetworkChangeNotifierFactoryAndroid; |
19 | 19 |
20 // NetworkChangeNotifierAndroid observes network events from the Android | 20 // NetworkChangeNotifierAndroid observes network events from the Android |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 NetworkChangeNotifierDelegateAndroid* const delegate_; | 75 NetworkChangeNotifierDelegateAndroid* const delegate_; |
76 scoped_ptr<DnsConfigServiceThread> dns_config_service_thread_; | 76 scoped_ptr<DnsConfigServiceThread> dns_config_service_thread_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierAndroid); | 78 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierAndroid); |
79 }; | 79 }; |
80 | 80 |
81 } // namespace net | 81 } // namespace net |
82 | 82 |
83 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ | 83 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_ANDROID_H_ |
OLD | NEW |