Roll leveldb 3f7758:803d69 (v1.17 -> v1.18)
[chromium-blink-merge.git] / chromecast / net / network_change_notifier_factory_cast.h
blob281a18d060a4201a71d5478c68906425133faa35
1 // Copyright 2014 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 CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_
6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "net/base/network_change_notifier_factory.h"
12 namespace chromecast {
14 class NetworkChangeNotifierCast;
16 class NetworkChangeNotifierFactoryCast
17 : public net::NetworkChangeNotifierFactory {
18 public:
19 NetworkChangeNotifierFactoryCast() {}
20 virtual ~NetworkChangeNotifierFactoryCast();
22 // net::NetworkChangeNotifierFactory implementation:
23 virtual net::NetworkChangeNotifier* CreateInstance() override;
25 static NetworkChangeNotifierCast* GetInstance();
27 private:
28 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast);
31 } // namespace chromecast
33 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_