Roll src/third_party/skia 4cf9e7e:8ee06f2
[chromium-blink-merge.git] / net / base / network_change_notifier_factory.h
blob88cc15ab44d26b7609624ab9f1435d7af51d2d80
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"
10 namespace net {
12 class NetworkChangeNotifier;
13 // NetworkChangeNotifierFactory provides a mechanism for overriding the default
14 // instance creation process of NetworkChangeNotifier.
15 class NET_EXPORT NetworkChangeNotifierFactory {
16 public:
17 NetworkChangeNotifierFactory() {}
18 virtual ~NetworkChangeNotifierFactory() {}
19 virtual NetworkChangeNotifier* CreateInstance() = 0;
22 } // namespace net
24 #endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_FACTORY_H_