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

Side by Side Diff: content/public/browser/resource_context.h

Issue 83793006: NSS: Handle unfriendly tokens in client auth. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | net/ssl/client_cert_store_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/supports_user_data.h" 10 #include "base/supports_user_data.h"
(...skipping 26 matching lines...) Expand all
37 virtual ~ResourceContext(); 37 virtual ~ResourceContext();
38 #endif 38 #endif
39 virtual net::HostResolver* GetHostResolver() = 0; 39 virtual net::HostResolver* GetHostResolver() = 0;
40 40
41 // DEPRECATED: This is no longer a valid given isolated apps/sites and 41 // DEPRECATED: This is no longer a valid given isolated apps/sites and
42 // storage partitioning. This getter returns the default context associated 42 // storage partitioning. This getter returns the default context associated
43 // with a BrowsingContext. 43 // with a BrowsingContext.
44 virtual net::URLRequestContext* GetRequestContext() = 0; 44 virtual net::URLRequestContext* GetRequestContext() = 0;
45 45
46 // Get platform ClientCertStore. May return NULL. 46 // Get platform ClientCertStore. May return NULL.
47 virtual scoped_ptr<net::ClientCertStore> CreateClientCertStore(); 47 virtual scoped_ptr<net::ClientCertStore> CreateClientCertStore(
48 const std::string& host_and_port);
Ryan Sleevi 2013/11/25 06:24:34 I'm really not a fan of threading the host name up
mattm 2013/11/26 01:15:21 Yeah, I agree that it wasn't the cleanest approach
48 49
49 // Returns true if microphone access is allowed for |origin|. Used to 50 // Returns true if microphone access is allowed for |origin|. Used to
50 // determine what level of authorization is given to |origin| to access 51 // determine what level of authorization is given to |origin| to access
51 // resource metadata. 52 // resource metadata.
52 virtual bool AllowMicAccess(const GURL& origin) = 0; 53 virtual bool AllowMicAccess(const GURL& origin) = 0;
53 54
54 // Returns true if web camera access is allowed for |origin|. Used to 55 // Returns true if web camera access is allowed for |origin|. Used to
55 // determine what level of authorization is given to |origin| to access 56 // determine what level of authorization is given to |origin| to access
56 // resource metadata. 57 // resource metadata.
57 virtual bool AllowCameraAccess(const GURL& origin) = 0; 58 virtual bool AllowCameraAccess(const GURL& origin) = 0;
58 }; 59 };
59 60
60 } // namespace content 61 } // namespace content
61 62
62 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_ 63 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | net/ssl/client_cert_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698