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

Unified Diff: net/android/network_change_notifier_android.h

Issue 9147026: API for connection type (Ethernet/WIFI/WWAN ...) in NetworkChangeNotifier. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review comments Created 8 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
Index: net/android/network_change_notifier_android.h
diff --git a/net/android/network_change_notifier_android.h b/net/android/network_change_notifier_android.h
index 5691a00e6c21f8014f45e7440ecfd2c1f0579a9b..948f94dcfe2a8c6c607c72344254af8c6f0fc8cd 100644
--- a/net/android/network_change_notifier_android.h
+++ b/net/android/network_change_notifier_android.h
@@ -28,7 +28,8 @@ class NetworkChangeNotifier : public net::NetworkChangeNotifier {
void CreateJavaObject(JNIEnv* env);
// NetworkChangeNotifier:
- virtual bool IsCurrentlyOffline() const OVERRIDE;
+ virtual net::NetworkChangeNotifier::ConnectionType
+ GetCurrentConnectionType() const OVERRIDE;
base::android::ScopedJavaGlobalRef<jobject> java_network_change_notifier_;

Powered by Google App Engine
This is Rietveld 408576698