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

Unified Diff: content/public/test/mock_resource_context.cc

Issue 42773002: Get ClientCertStore through ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update unittest, clang fix Created 7 years, 2 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: content/public/test/mock_resource_context.cc
diff --git a/content/public/test/mock_resource_context.cc b/content/public/test/mock_resource_context.cc
index 342766c5f4faeae1e853d0df780b5e4726a6cac7..819991336545988b238858aa34143acc47bc731c 100644
--- a/content/public/test/mock_resource_context.cc
+++ b/content/public/test/mock_resource_context.cc
@@ -4,6 +4,7 @@
#include "content/public/test/mock_resource_context.h"
+#include "net/ssl/client_cert_store.h"
#include "net/url_request/url_request_context.h"
namespace content {
@@ -38,4 +39,8 @@ bool MockResourceContext::AllowCameraAccess(const GURL& origin) {
return camera_allowed_;
}
+scoped_ptr<net::ClientCertStore> MockResourceContext::GetClientCertStore() {
+ return scoped_ptr<net::ClientCertStore>();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698