Chromium Code Reviews| Index: net/android/network_library.h |
| diff --git a/net/android/network_library.h b/net/android/network_library.h |
| index 548d43a1f2524457cbd3600639e52a5a4225cc72..e1040a3c7617fffc753debf71c933fc501bf3815 100644 |
| --- a/net/android/network_library.h |
| +++ b/net/android/network_library.h |
| @@ -45,6 +45,8 @@ bool StoreKeyPair(const uint8_t* public_key, |
| const uint8_t* private_key, |
| size_t private_len); |
| +bool IsCleartextPermitted(const std::string& host); |
|
pauljensen
2016/12/07 13:20:28
add comment
mgersh
2016/12/13 17:02:58
Done.
|
| + |
| // Returns true if it can determine that only loopback addresses are configured. |
| // i.e. if only 127.0.0.1 and ::1 are routable. |
| // Also returns false if it cannot determine this. |