|
Add native-side unit test for Android NetworkChangeNotifier
* Renames some classes to move them out of the android namespace.
* Changes singleton handling in the Java NetworkChangeNotifier. The singleton
is unfortunately still required for Android to turn the AutoDetector on.
* Adds a native-side unit test to track that the JNI calls are correctly plumbed
to alert native-side observers of connection changes.
BUG= 136984
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157687
Total comments: 24
Total comments: 4
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+211 lines, -113 lines) |
Patch |
 |
M |
chrome/browser/chrome_browser_main_android.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/shell/shell_browser_main_parts.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/android/java/src/org/chromium/net/NetworkChangeNotifier.java
|
View
|
1
2
|
4 chunks |
+42 lines, -20 lines |
0 comments
|
Download
|
 |
M |
net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/android/net_jni_registrar.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/android/network_change_notifier_android.h
|
View
|
1
2
|
1 chunk |
+11 lines, -9 lines |
0 comments
|
Download
|
 |
M |
net/android/network_change_notifier_android.cc
|
View
|
1
2
|
2 chunks |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
A |
net/android/network_change_notifier_android_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
D |
net/android/network_change_notifier_factory.h
|
View
|
1
2
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
D |
net/android/network_change_notifier_factory.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
A + |
net/android/network_change_notifier_factory_android.h
|
View
|
1
2
|
2 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
A |
net/android/network_change_notifier_factory_android.cc
|
View
|
1
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/base/network_change_notifier.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|