Chromium Code Reviews| Index: chromecast/net/network_change_notifier_factory_cast.h |
| diff --git a/chromecast/net/network_change_notifier_factory_cast.h b/chromecast/net/network_change_notifier_factory_cast.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..23dba01cfb61899206094c58da1a2359cd49c47c |
| --- /dev/null |
| +++ b/chromecast/net/network_change_notifier_factory_cast.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2014 Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |
| +#define CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |
| + |
| +#include "base/basictypes.h" |
|
Ryan Sleevi
2014/07/01 21:13:55
use "base/macros.h" instead for DISALLOW
lcwu1
2014/07/02 23:30:33
Done.
|
| +#include "base/compiler_specific.h" |
| +#include "net/base/network_change_notifier_factory.h" |
| + |
| +namespace net { |
| + |
| +class NetworkChangeNotifierCast; |
| + |
| +class NetworkChangeNotifierFactoryCast |
| + : public NetworkChangeNotifierFactory { |
| + public: |
| + NetworkChangeNotifierFactoryCast() {} |
| + virtual ~NetworkChangeNotifierFactoryCast(); |
| + |
| + // net::NetworkChangeNotifierFactory overrides. |
| + virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE; |
| + |
| + static NetworkChangeNotifierCast* GetInstance(); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierFactoryCast); |
| +}; |
| + |
| +} // namespace net |
| + |
| +#endif // CHROMECAST_NET_NETWORK_CHANGE_NOTIFIER_FACTORY_CAST_H_ |