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

Unified Diff: net/test/url_request/url_request_mock_data_job.h

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: removed no longer needed forward declaration 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
« no previous file with comments | « net/ssl/test_ssl_private_key.cc ('k') | net/test/url_request/url_request_mock_data_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/url_request/url_request_mock_data_job.h
diff --git a/net/test/url_request/url_request_mock_data_job.h b/net/test/url_request/url_request_mock_data_job.h
index e0102b536bfff247d72dce02406267046c9b6957..9799389ee9a1335f2ac789d52ba7d2d88cc16a27 100644
--- a/net/test/url_request/url_request_mock_data_job.h
+++ b/net/test/url_request/url_request_mock_data_job.h
@@ -30,8 +30,9 @@ class URLRequestMockDataJob : public URLRequestJob {
void Start() override;
int ReadRawData(IOBuffer* buf, int buf_size) override;
void GetResponseInfo(HttpResponseInfo* info) override;
- void ContinueWithCertificate(X509Certificate* client_cert,
- SSLPrivateKey* client_private_key) override;
+ void ContinueWithCertificate(
+ scoped_refptr<X509Certificate> client_cert,
+ scoped_refptr<SSLPrivateKey> client_private_key) override;
// Adds the testing URLs to the URLRequestFilter.
static void AddUrlHandler();
« no previous file with comments | « net/ssl/test_ssl_private_key.cc ('k') | net/test/url_request/url_request_mock_data_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698