| 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_FACTORY_ANDROID_H_ | 5 #ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_ |
| 6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_ | 6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_ANDROID_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "net/base/net_export.h" |
| 9 #include "net/base/network_change_notifier_factory.h" | 10 #include "net/base/network_change_notifier_factory.h" |
| 10 | 11 |
| 11 namespace net { | 12 namespace net { |
| 12 | 13 |
| 13 class NetworkChangeNotifier; | 14 class NetworkChangeNotifier; |
| 14 | 15 |
| 15 // NetworkChangeNotifierFactory creates Android-specific specialization of | 16 // NetworkChangeNotifierFactory creates Android-specific specialization of |
| 16 // NetworkChangeNotifier. | 17 // NetworkChangeNotifier. |
| 17 class NetworkChangeNotifierFactoryAndroid : | 18 class NET_EXPORT NetworkChangeNotifierFactoryAndroid : |
| 18 public NetworkChangeNotifierFactory { | 19 public NetworkChangeNotifierFactory { |
| 19 public: | 20 public: |
| 20 NetworkChangeNotifierFactoryAndroid(); | 21 NetworkChangeNotifierFactoryAndroid(); |
| 21 virtual ~NetworkChangeNotifierFactoryAndroid(); | 22 virtual ~NetworkChangeNotifierFactoryAndroid(); |
| 22 | 23 |
| 23 // Overrides of NetworkChangeNotifierFactory. | 24 // Overrides of NetworkChangeNotifierFactory. |
| 24 virtual NetworkChangeNotifier* CreateInstance() OVERRIDE; | 25 virtual NetworkChangeNotifier* CreateInstance() OVERRIDE; |
| 25 }; | 26 }; |
| 26 | 27 |
| 27 } // namespace net | 28 } // namespace net |
| 28 | 29 |
| 29 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ | 30 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| OLD | NEW |