Index: chrome/browser/chromeos/certificate_provider/certificate_requests.cc |
diff --git a/chrome/browser/chromeos/certificate_provider/certificate_requests.cc b/chrome/browser/chromeos/certificate_provider/certificate_requests.cc |
index ecd2f4633babb105f76b73119f612c484d8c9014..3dc48f0bbbfa12608bf23c2a1a73cc844c9b0379 100644 |
--- a/chrome/browser/chromeos/certificate_provider/certificate_requests.cc |
+++ b/chrome/browser/chromeos/certificate_provider/certificate_requests.cc |
@@ -39,7 +39,7 @@ struct CertificateRequests::CertificateRequestState { |
std::map<std::string, CertificateInfoList> extension_to_certificates; |
// The callback that must be run with the final list of certificates. |
- base::Callback<void(const net::CertificateList&)> callback; |
+ base::Callback<void(net::ClientCertIdentityList)> callback; |
}; |
CertificateRequests::CertificateRequests() {} |
@@ -48,7 +48,7 @@ CertificateRequests::~CertificateRequests() {} |
int CertificateRequests::AddRequest( |
const std::vector<std::string>& extension_ids, |
- const base::Callback<void(const net::CertificateList&)>& callback, |
+ const base::Callback<void(net::ClientCertIdentityList)>& callback, |
const base::Callback<void(int)>& timeout_callback) { |
std::unique_ptr<CertificateRequestState> state(new CertificateRequestState); |
state->callback = callback; |
@@ -87,7 +87,7 @@ bool CertificateRequests::SetCertificates( |
bool CertificateRequests::RemoveRequest( |
int request_id, |
std::map<std::string, CertificateInfoList>* certificates, |
- base::Callback<void(const net::CertificateList&)>* callback) { |
+ base::Callback<void(net::ClientCertIdentityList)>* callback) { |
const auto it = requests_.find(request_id); |
if (it == requests_.end()) |
return false; |