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

Unified Diff: net/android/network_library.h

Issue 10905207: Implement net::GetNetworkList() for Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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: net/android/network_library.h
diff --git a/net/android/network_library.h b/net/android/network_library.h
index 26b326abe4a838a3167879854a01418e5c51ff36..0a9c455fdf38fd47c59a4738b7ccce8bcd108576 100644
--- a/net/android/network_library.h
+++ b/net/android/network_library.h
@@ -44,6 +44,11 @@ bool StoreKeyPair(const uint8* public_key,
// Also returns false if it cannot determine this.
bool HaveOnlyLoopbackAddresses();
+// Return a string contains network list items, each item is a network name and
bulach 2012/09/11 10:16:36 nit: Returns a string containing
+// address pair. i.e. "eth0,10.0.0.2;eth0,fe80::5054:ff:fe12:3456" is a result
+// string contains two items.
bulach 2012/09/11 10:16:36 nit: containing
+std::string GetNetworkList();
+
// Get the mime type (if any) that is associated with the file extension.
// Returns true if a corresponding mime type exists.
bool GetMimeTypeFromExtension(const std::string& extension,

Powered by Google App Engine
This is Rietveld 408576698