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

Unified Diff: content/shell/browser/shell_browser_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/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index c6dbb9940cb85584b8362f39e294e19edbc65a1a..d4c49007f063f2a139e3ac26d3876373250bc687 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -18,6 +18,7 @@
#include "content/shell/browser/shell_download_manager_delegate.h"
#include "content/shell/browser/shell_url_request_context_getter.h"
#include "content/shell/common/shell_switches.h"
+#include "net/ssl/client_cert_store.h"
#if defined(OS_WIN)
#include "base/base_paths_win.h"
@@ -49,6 +50,9 @@ class ShellBrowserContext::ShellResourceContext : public ResourceContext {
virtual bool AllowCameraAccess(const GURL& origin) OVERRIDE {
return false;
}
+ virtual scoped_ptr<net::ClientCertStore> GetClientCertStore() OVERRIDE {
+ return scoped_ptr<net::ClientCertStore>();
+ }
void set_url_request_context_getter(ShellURLRequestContextGetter* getter) {
getter_ = getter;

Powered by Google App Engine
This is Rietveld 408576698