| Index: net/android/network_library.h
|
| diff --git a/net/android/network_library.h b/net/android/network_library.h
|
| index a0cf7d338391f2e4811f96aa6acba14d7f0bde33..7ce0de28ee0134f12bd7df67c03f6b73d456b2f9 100644
|
| --- a/net/android/network_library.h
|
| +++ b/net/android/network_library.h
|
| @@ -11,6 +11,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "net/base/mime_util.h"
|
|
|
| namespace net {
|
| namespace android {
|
| @@ -39,6 +40,12 @@ bool StoreKeyPair(const uint8* public_key,
|
| const uint8* private_key,
|
| size_t private_len);
|
|
|
| +// Helper used to pass the DER-encoded bytes of an X.509 certificate or
|
| +// a PKCS#12 keychain to the CertInstaller activity.
|
| +void StoreCryptoFile(net::CryptoFileType file_type,
|
| + const void* data,
|
| + size_t data_len);
|
| +
|
| // 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.
|
|
|