Index: net/base/x509_certificate.h |
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h |
index 0a603b1ad9219d8adcb7cf7b10ae3f6ebdcab7f0..9e00e71b2c3a150dee425604daa998c366790aec 100644 |
--- a/net/base/x509_certificate.h |
+++ b/net/base/x509_certificate.h |
@@ -37,6 +37,7 @@ struct CERTCertificateStr; |
#endif |
class Pickle; |
+class PickleIterator; |
namespace crypto { |
class RSAPrivateKey; |
@@ -181,7 +182,7 @@ class NET_EXPORT X509Certificate |
// |
// The returned pointer must be stored in a scoped_refptr<X509Certificate>. |
static X509Certificate* CreateFromPickle(const Pickle& pickle, |
- void** pickle_iter, |
+ PickleIterator* pickle_iter, |
PickleType type); |
// Parses all of the certificates possible from |data|. |format| is a |
@@ -554,7 +555,7 @@ class NET_EXPORT X509Certificate |
// libraries, nor acceptable to CreateFromBytes(). Returns an invalid |
// handle, NULL, on failure. |
static OSCertHandle ReadOSCertHandleFromPickle(const Pickle& pickle, |
- void** pickle_iter); |
+ PickleIterator* pickle_iter); |
// Writes a single certificate to |pickle|. Returns false on failure. |
static bool WriteOSCertHandleToPickle(OSCertHandle handle, Pickle* pickle); |