| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ | 5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ | 6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "net/base/net_api.h" | 9 #include "net/base/net_export.h" |
| 10 | 10 |
| 11 namespace net { | 11 namespace net { |
| 12 | 12 |
| 13 class NetworkChangeNotifier; | 13 class NetworkChangeNotifier; |
| 14 // NetworkChangeNotifierFactory provides a mechanism for overriding the default | 14 // NetworkChangeNotifierFactory provides a mechanism for overriding the default |
| 15 // instance creation process of NetworkChangeNotifier. | 15 // instance creation process of NetworkChangeNotifier. |
| 16 class NET_API NetworkChangeNotifierFactory { | 16 class NET_EXPORT NetworkChangeNotifierFactory { |
| 17 public: | 17 public: |
| 18 NetworkChangeNotifierFactory() {} | 18 NetworkChangeNotifierFactory() {} |
| 19 virtual ~NetworkChangeNotifierFactory() {} | 19 virtual ~NetworkChangeNotifierFactory() {} |
| 20 virtual NetworkChangeNotifier* CreateInstance() = 0; | 20 virtual NetworkChangeNotifier* CreateInstance() = 0; |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace net | 23 } // namespace net |
| 24 | 24 |
| 25 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ | 25 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_ |
| OLD | NEW |