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

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

Issue 1232553003: Add new certificateProvider extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 5 years, 3 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_provider_service.h
diff --git a/chrome/browser/chromeos/certificate_provider/certificate_provider_service.h b/chrome/browser/chromeos/certificate_provider/certificate_provider_service.h
index 1b9808219afe760a268e23653c59ca054becc900..5fc84ea0f77cb7606bdd0d96b19c7873f99e6911 100644
--- a/chrome/browser/chromeos/certificate_provider/certificate_provider_service.h
+++ b/chrome/browser/chromeos/certificate_provider/certificate_provider_service.h
@@ -80,10 +80,12 @@ class CertificateProviderService : public KeyedService {
// Dispatches a sign request with the given arguments to the extension with
// id |extension_id|. Returns whether that extension is actually a listener
// for that event.
- virtual bool DispatchSignRequestToExtension(const std::string& extension_id,
- int sign_request_id,
- net::SSLPrivateKey::Hash hash,
- const std::string& digest) = 0;
+ virtual bool DispatchSignRequestToExtension(
+ const std::string& extension_id,
+ int sign_request_id,
+ net::SSLPrivateKey::Hash hash,
+ const scoped_refptr<net::X509Certificate>& certificate,
+ const std::string& digest) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(Delegate);
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/certificate_provider/certificate_provider_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698