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_CAST_H_
6 #define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "net/base/network_change_notifier.h"
12 namespace chromecast
{
14 // TODO(lcwu): http://crbug.com/391064. This is a place holder for
15 // cast-specific NetworkChangeNotifier implementation. The actual
16 // implementation of this class will come in later CLs.
17 class NetworkChangeNotifierCast
: public net::NetworkChangeNotifier
{
19 NetworkChangeNotifierCast();
20 ~NetworkChangeNotifierCast() override
;
22 // net::NetworkChangeNotifier implementation:
23 net::NetworkChangeNotifier::ConnectionType
24 GetCurrentConnectionType() const override
;
27 friend class NetworkChangeNotifierCastTest
;
29 DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierCast
);
32 } // namespace chromecast
34 #endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_CAST_H_