Index: chromecast/net/network_change_notifier_factory_cast.cc |
diff --git a/chromecast/net/network_change_notifier_factory_cast.cc b/chromecast/net/network_change_notifier_factory_cast.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4c1cd604d10152a5ce3ddc7e8ab6c98d6dae6480 |
--- /dev/null |
+++ b/chromecast/net/network_change_notifier_factory_cast.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2015 The 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. |
+ |
+#include "chromecast/net/network_change_notifier_factory_cast.h" |
+ |
+#include "chromecast/net/net_util_cast.h" |
+#include "net/base/network_change_notifier_linux.h" |
+ |
+namespace chromecast { |
+ |
+net::NetworkChangeNotifier* NetworkChangeNotifierFactoryCast::CreateInstance() { |
+ // Caller assumes ownership. |
+ return new net::NetworkChangeNotifierLinux(GetIgnoredInterfaces()); |
+} |
+ |
+NetworkChangeNotifierFactoryCast::~NetworkChangeNotifierFactoryCast() { |
+} |
+ |
+} // namespace chromecast |