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

Unified Diff: content/public/browser/resource_context.h

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/browser/resource_context.h
diff --git a/content/public/browser/resource_context.h b/content/public/browser/resource_context.h
index 191f30ac13bfe71b1d65053b73199c436b47c808..79a19f79c9a239eee4335a0125a07c604c704d59 100644
--- a/content/public/browser/resource_context.h
+++ b/content/public/browser/resource_context.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "base/supports_user_data.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
@@ -17,6 +18,7 @@ class AppCacheService;
}
namespace net {
+class ClientCertStore;
class HostResolver;
class URLRequestContext;
}
@@ -50,6 +52,9 @@ class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
// determine what level of authorization is given to |origin| to access
// resource metadata.
virtual bool AllowCameraAccess(const GURL& origin) = 0;
+
+ // Get platform ClientCertStore. May return NULL.
+ virtual scoped_ptr<net::ClientCertStore> GetClientCertStore() = 0;
jam 2013/10/25 15:33:58 This isn't your fault, but this interface doesn't
mattm 2013/10/25 19:34:36 Oh yeah, that's much nicer. Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698