Index: net/base/x509_certificate.h |
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h |
index ca2abecdbf671a46264bb762d250ada5a7348b95..4ef80033a6c3990214cbd900d3c78a5dd4da8db1 100644 |
--- a/net/base/x509_certificate.h |
+++ b/net/base/x509_certificate.h |
@@ -295,6 +295,12 @@ class NET_API X509Certificate |
static HCERTSTORE cert_store(); |
#endif |
+#if defined(OS_ANDROID) |
+ // |chain_bytes| will contain the chain (including this certificate) encoded |
+ // using GetChainDEREncodedBytes below. |
+ void GetChainDEREncodedBytes(std::vector<std::string>* chain_bytes) const; |
+#endif |
+ |
#if defined(USE_OPENSSL) |
// Returns a handle to a global, in-memory certificate store. We |
// use it for test code, e.g. importing the test server's certificate. |