| Index: net/cert/cert_database.h
|
| diff --git a/net/cert/cert_database.h b/net/cert/cert_database.h
|
| index 865d685097d691e763c156c8cc714b995016f22f..142af02150a5c21e52f43c9022f035465a8ae048 100644
|
| --- a/net/cert/cert_database.h
|
| +++ b/net/cert/cert_database.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "net/base/net_errors.h"
|
| #include "net/base/net_export.h"
|
| #include "net/cert/x509_certificate.h"
|
|
|
| @@ -58,12 +59,12 @@ class NET_EXPORT CertDatabase {
|
|
|
| // Check whether this is a valid user cert that we have the private key for.
|
| // Returns OK or a network error code such as ERR_CERT_CONTAINS_ERRORS.
|
| - int CheckUserCert(X509Certificate* cert);
|
| + Error CheckUserCert(X509Certificate* cert);
|
|
|
| // Store user (client) certificate. Assumes CheckUserCert has already passed.
|
| // Returns OK, or ERR_ADD_USER_CERT_FAILED if there was a problem saving to
|
| // the platform cert database, or possibly other network error codes.
|
| - int AddUserCert(X509Certificate* cert);
|
| + Error AddUserCert(X509Certificate* cert);
|
|
|
| // Registers |observer| to receive notifications of certificate changes. The
|
| // thread on which this is called is the thread on which |observer| will be
|
|
|