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
3 // found in the LICENSE file.
5 #ifndef NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
6 #define NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_
8 #include "net/base/net_export.h"
12 class NetworkChangeNotifier
;
13 // NetworkChangeNotifierFactory provides a mechanism for overriding the default
14 // instance creation process of NetworkChangeNotifier.
15 class NET_EXPORT NetworkChangeNotifierFactory
{
17 NetworkChangeNotifierFactory() {}
18 virtual ~NetworkChangeNotifierFactory() {}
19 virtual NetworkChangeNotifier
* CreateInstance() = 0;
24 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_