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

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: Rebasing 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 8f4dda2e194d4e752806967b581c7d7e8863f6d8..7d76221ddc176e27621dba4d063679a75745e019 100644
--- a/content/shell/shell_browser_main_parts.cc
+++ b/content/shell/shell_browser_main_parts.cc
@@ -26,7 +26,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 {
@@ -91,7 +91,7 @@ void ShellBrowserMainParts::PostMainMessageLoopStart() {
void ShellBrowserMainParts::PreEarlyInitialization() {
#if defined(OS_ANDROID)
net::NetworkChangeNotifier::SetFactory(
- new net::android::NetworkChangeNotifierFactory());
+ new net::NetworkChangeNotifierFactoryAndroid());
#endif
}
« no previous file with comments | « chrome/browser/chrome_browser_main_android.cc ('k') | net/android/java/src/org/chromium/net/NetworkChangeNotifier.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698