OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| 6 #define NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/compiler_specific.h" |
| 10 #include "net/base/network_change_notifier_factory.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 class NetworkChangeNotifier; |
| 15 |
| 16 namespace android { |
| 17 |
| 18 // NetworkChangeNotifierFactory creates Android-specific specialization of |
| 19 // NetworkChangeNotifier. |
| 20 class NetworkChangeNotifierFactory : public net::NetworkChangeNotifierFactory { |
| 21 public: |
| 22 NetworkChangeNotifierFactory(); |
| 23 |
| 24 // Overrides of net::NetworkChangeNotifierFactory. |
| 25 virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE; |
| 26 }; |
| 27 |
| 28 } // namespace android |
| 29 } // namespace net |
| 30 |
| 31 #endif // NET_ANDROID_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
OLD | NEW |