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

Unified Diff: chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc

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_unittest.cc
diff --git a/chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc b/chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc
index 857a41a8847ea4733a7fc7c69f53c4087c5675e9..a15061dd03d31afac0985a4107321891318d9496 100644
--- a/chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc
+++ b/chrome/browser/chromeos/certificate_provider/certificate_provider_service_unittest.cc
@@ -93,10 +93,12 @@ class TestDelegate : public CertificateProviderService::Delegate {
expected_request_type_ = RequestType::NONE;
}
- bool DispatchSignRequestToExtension(const std::string& extension_id,
- int sign_request_id,
- net::SSLPrivateKey::Hash hash,
- const std::string& input) override {
+ bool DispatchSignRequestToExtension(
+ const std::string& extension_id,
+ int sign_request_id,
+ net::SSLPrivateKey::Hash hash,
+ const scoped_refptr<net::X509Certificate>& certificate,
+ const std::string& input) override {
EXPECT_EQ(expected_request_type_, RequestType::SIGN);
last_sign_request_id_ = sign_request_id;
last_extension_id_ = extension_id;

Powered by Google App Engine
This is Rietveld 408576698