Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3836)

Unified Diff: chromecast/browser/cast_browser_main_parts.cc

Issue 1137483004: [Chromecast] Ignore interfaces not used to connect to internet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromecast/chromecast.gyp » ('j') | chromecast/net/net_util_cast.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_browser_main_parts.cc
diff --git a/chromecast/browser/cast_browser_main_parts.cc b/chromecast/browser/cast_browser_main_parts.cc
index 010cc58a288c1e8b0c6f3f3f02fc842c24e7b011..4678b552d9d111d0d922239b54b7e6e212614158 100644
--- a/chromecast/browser/cast_browser_main_parts.cc
+++ b/chromecast/browser/cast_browser_main_parts.cc
@@ -50,6 +50,7 @@
#include "net/android/network_change_notifier_factory_android.h"
#else
#include "chromecast/browser/media/cast_browser_cdm_factory.h"
+#include "chromecast/net/network_change_notifier_factory_cast.h"
#endif
#if defined(USE_AURA)
@@ -227,6 +228,9 @@ void CastBrowserMainParts::PreMainMessageLoopStart() {
#if defined(OS_ANDROID)
net::NetworkChangeNotifier::SetFactory(
new net::NetworkChangeNotifierFactoryAndroid());
+#else
+ net::NetworkChangeNotifier::SetFactory(
+ new NetworkChangeNotifierFactoryCast());
#endif // defined(OS_ANDROID)
}
« no previous file with comments | « no previous file | chromecast/chromecast.gyp » ('j') | chromecast/net/net_util_cast.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698