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

Unified Diff: chrome/browser/chromeos/certificate_provider/certificate_requests.h

Issue 2937553003: Make CertificateProviderService vend ClientCertIdentities directly. (Closed)
Patch Set: review changes for comments 11 & 12 Created 3 years, 6 months 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: chrome/browser/chromeos/certificate_provider/certificate_requests.h
diff --git a/chrome/browser/chromeos/certificate_provider/certificate_requests.h b/chrome/browser/chromeos/certificate_provider/certificate_requests.h
index 72cf656d47e0209db9fe403df46d7b28add4b6ff..1bf44ed54939fd2add383e31643eb43d87c862c9 100644
--- a/chrome/browser/chromeos/certificate_provider/certificate_requests.h
+++ b/chrome/browser/chromeos/certificate_provider/certificate_requests.h
@@ -13,7 +13,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
#include "chrome/browser/chromeos/certificate_provider/certificate_info.h"
-#include "net/cert/x509_certificate.h"
+#include "net/ssl/client_cert_identity.h"
namespace chromeos {
namespace certificate_provider {
@@ -29,7 +29,7 @@ class CertificateRequests {
// SetCertificates() was called for all extensions in |extension_ids|.
int 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);
// Returns whether this reply was expected, i.e. the request with |request_id|
@@ -47,7 +47,7 @@ class CertificateRequests {
bool RemoveRequest(
int request_id,
std::map<std::string, CertificateInfoList>* certificates,
- base::Callback<void(const net::CertificateList&)>* callback);
+ base::Callback<void(net::ClientCertIdentityList)>* callback);
// Removes this extension from all pending requests and returns the ids of
// all completed requests.

Powered by Google App Engine
This is Rietveld 408576698