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

Unified Diff: content/shell/shell_browser_main_parts.cc

Issue 10928193: Add native-side unit test for Android NetworkChangeNotifier (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing benm's comments Created 8 years, 3 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
Index: content/shell/shell_browser_main_parts.cc
diff --git a/content/shell/shell_browser_main_parts.cc b/content/shell/shell_browser_main_parts.cc
index 31f79a064bc81feb7568c2754089a45b59ff8c62..d33390a2fddb10bd449066ed774414769590cb62 100644
--- a/content/shell/shell_browser_main_parts.cc
+++ b/content/shell/shell_browser_main_parts.cc
@@ -24,7 +24,7 @@
#if defined(OS_ANDROID)
#include "net/base/network_change_notifier.h"
-#include "net/android/network_change_notifier_factory.h"
+#include "net/android/network_change_notifier_factory_android.h"
#endif
namespace content {
@@ -85,7 +85,7 @@ void ShellBrowserMainParts::PostMainMessageLoopStart() {
void ShellBrowserMainParts::PreEarlyInitialization() {
#if defined(OS_ANDROID)
net::NetworkChangeNotifier::SetFactory(
- new net::android::NetworkChangeNotifierFactory());
+ new net::NetworkChangeNotifierFactoryAndroid());
jochen (gone - plz use gerrit) 2012/09/18 13:25:43 why is this needed? ShellBrowserMainPartsAndroid
gone 2012/09/18 17:05:46 AFAICT, there is no ShellBrowserMainPartsAndroid i
jochen (gone - plz use gerrit) 2012/09/18 19:21:05 Argh, I misread ChromeBrowserMainPartsAndroid as S
#endif
}

Powered by Google App Engine
This is Rietveld 408576698