[Android] Improve NetworkChangeNotifier granularity

Original review: https://chromiumcodereview.appspot.com/10915043/

The NetworkChangeNotifier for Android currently cannot identify what type
of connection exists; all it can do is determine whether it's currently got
one. This CL patches it so that we pass this information back from the Java
side, allowing us to properly use NetworkChangeNotifier::ConnectionType.

The connection types (2G, 3G, etc.) are differentiated between using
classifications from Android's TelephonyManager.

BUG=136984


Review URL: https://chromiumcodereview.appspot.com/10913175

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155881 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed