summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_view_host_delegate.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 18:38:35 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-18 18:38:35 +0000
commitc6176905c027930965e93127a707410e5f7c6869 (patch)
tree871a04b10b5b27ff94c417a1a4f07a912fe5e363 /content/browser/renderer_host/render_view_host_delegate.h
parent13677b86fc97aeab327e476c7de42bc777a54ee4 (diff)
downloadchromium_src-c6176905c027930965e93127a707410e5f7c6869.zip
chromium_src-c6176905c027930965e93127a707410e5f7c6869.tar.gz
chromium_src-c6176905c027930965e93127a707410e5f7c6869.tar.bz2
Get rid of TabContentsSSLHelper dependency from content.
Review URL: http://codereview.chromium.org/7037020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_view_host_delegate.h')
-rw-r--r--content/browser/renderer_host/render_view_host_delegate.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index 365c679..7a62fbc 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -37,8 +37,6 @@ class RenderViewHost;
class ResourceRedirectDetails;
class ResourceRequestDetails;
class SkBitmap;
-class SSLClientAuthHandler;
-class SSLAddCertHandler;
class TabContents;
struct ViewHostMsg_CreateWindow_Params;
struct ViewHostMsg_FrameNavigate_Params;
@@ -251,47 +249,6 @@ class RenderViewHostDelegate : public IPC::Channel::Listener {
virtual ~BookmarkDrag() {}
};
- // SSL -----------------------------------------------------------------------
- // Interface for UI and other RenderViewHost-specific interactions with SSL.
-
- class SSL {
- public:
- // Displays a dialog to select client certificates from |request_info|,
- // returning them to |handler|.
- virtual void ShowClientCertificateRequestDialog(
- scoped_refptr<SSLClientAuthHandler> handler) = 0;
-
- // Called when |handler| encounters an error in verifying a
- // received client certificate. Note that, because CAs often will
- // not send us intermediate certificates, the verification we can
- // do is minimal: we verify the certificate is parseable, that we
- // have the corresponding private key, and that the certificate
- // has not expired.
- virtual void OnVerifyClientCertificateError(
- scoped_refptr<SSLAddCertHandler> handler, int error_code) = 0;
-
- // Called when |handler| requests the user's confirmation in adding a
- // client certificate.
- virtual void AskToAddClientCertificate(
- scoped_refptr<SSLAddCertHandler> handler) = 0;
-
- // Called when |handler| successfully adds a client certificate.
- virtual void OnAddClientCertificateSuccess(
- scoped_refptr<SSLAddCertHandler> handler) = 0;
-
- // Called when |handler| encounters an error adding a client certificate.
- virtual void OnAddClientCertificateError(
- scoped_refptr<SSLAddCertHandler> handler, int error_code) = 0;
-
- // Called when |handler| has completed, so the delegate may release any
- // state accumulated.
- virtual void OnAddClientCertificateFinished(
- scoped_refptr<SSLAddCertHandler> handler) = 0;
-
- protected:
- virtual ~SSL() {}
- };
-
// ---------------------------------------------------------------------------
// Returns the current delegate associated with a feature. May return NULL if
@@ -300,7 +257,6 @@ class RenderViewHostDelegate : public IPC::Channel::Listener {
virtual RendererManagement* GetRendererManagementDelegate();
virtual BookmarkDrag* GetBookmarkDragDelegate();
- virtual SSL* GetSSLDelegate();
// IPC::Channel::Listener implementation.
// This is used to give the delegate a chance to filter IPC messages.