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