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

Unified Diff: chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc

Issue 927293002: platformKeys: Hook up the certificate selection dialog to selectClientCertificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_perms
Patch Set: Rebased. Created 5 years, 10 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/extensions/api/platform_keys/platform_keys_apitest_nss.cc
diff --git a/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc b/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
index 2788cd9ca1c749746db12ca5a6c186c0f3f66217..2c51e27bdbd792b48ea074f6009ad5cfc3842fbe 100644
--- a/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
+++ b/chrome/browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc
@@ -192,7 +192,11 @@ class TestSelectDelegate
void Select(const std::string& extension_id,
const net::CertificateList& certs,
- const CertificateSelectedCallback& callback) override {
+ const CertificateSelectedCallback& callback,
+ content::WebContents* web_contents,
+ content::BrowserContext* context) override {
+ ASSERT_TRUE(web_contents);
+ ASSERT_TRUE(context);
if (!cert_to_select_) {
callback.Run(nullptr /* no cert */);
return;

Powered by Google App Engine
This is Rietveld 408576698