| Index: net/android/network_library.h
|
| diff --git a/net/android/network_library.h b/net/android/network_library.h
|
| index 548d43a1f2524457cbd3600639e52a5a4225cc72..60d9abda2f1cc717c30886e9125f16a72e198e7c 100644
|
| --- a/net/android/network_library.h
|
| +++ b/net/android/network_library.h
|
| @@ -45,6 +45,10 @@ bool StoreKeyPair(const uint8_t* public_key,
|
| const uint8_t* private_key,
|
| size_t private_len);
|
|
|
| +// Returns true if cleartext traffic to |host| is allowed by the app. Always
|
| +// true on L and older.
|
| +bool IsCleartextPermitted(const std::string& host);
|
| +
|
| // 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.
|
|
|