Chromium Code Reviews| 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..770be42bd682712108f239832ad5c1920679fdd1 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; |
| } |
| @@ -41,6 +43,9 @@ class CONTENT_EXPORT ResourceContext : public base::SupportsUserData { |
| // with a BrowsingContext. |
| virtual net::URLRequestContext* GetRequestContext() = 0; |
| + // Get platform ClientCertStore. May return NULL. |
| + virtual scoped_ptr<net::ClientCertStore> GetClientCertStore(); |
|
wtc
2013/10/28 19:41:12
It is strange to see this method returns a scoped_
mattm
2013/10/28 23:56:16
Should be addressed by the name change.
|
| + |
| // Returns true if microphone access is allowed for |origin|. Used to |
| // determine what level of authorization is given to |origin| to access |
| // resource metadata. |