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

Unified Diff: net/base/x509_certificate.h

Issue 8429034: Upstream: Build net_unittests for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: address comments Created 9 years, 1 month 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/base/x509_certificate.h
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index 6d344379a701a549ec96b1dca8bf3e5eb9af27ff..529cc0823e65df1845a3042fd0714ddbe391d635 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -556,6 +556,14 @@ class NET_EXPORT X509Certificate
DISALLOW_COPY_AND_ASSIGN(X509Certificate);
};
+struct DERCache {
+ unsigned char* data;
+ int data_length;
+};
+
+bool GetDERAndCacheIfNeeded(X509Certificate::OSCertHandle cert,
+ DERCache* der_cache);
joth 2011/11/02 18:57:05 this doesn't belong here, as it's only needed on t
Jing Zhao 2011/11/03 17:49:08 Thanks. Merged as you suggested.
+
} // namespace net
#endif // NET_BASE_X509_CERTIFICATE_H_

Powered by Google App Engine
This is Rietveld 408576698