From 5edce1ef5502e3dc20f030e108978da0c360fb65 Mon Sep 17 00:00:00 2001 From: "abarth@chromium.org" Date: Thu, 14 May 2009 08:47:30 +0000 Subject: Factor SSLPolicyBackend out of SSLManager. This reduces the complexity of SSLManager. The idea is eventually to be able to test SSLPolicy by substituting a fake SSLPolicyBackend. TBR=jcampan TEST=No behavior changes. Review URL: http://codereview.chromium.org/113395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16048 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/ssl/ssl_error_handler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/ssl/ssl_error_handler.h') diff --git a/chrome/browser/ssl/ssl_error_handler.h b/chrome/browser/ssl/ssl_error_handler.h index 9ef1b04..c891f79 100644 --- a/chrome/browser/ssl/ssl_error_handler.h +++ b/chrome/browser/ssl/ssl_error_handler.h @@ -9,6 +9,7 @@ #include "base/basictypes.h" #include "base/ref_counted.h" +#include "chrome/browser/ssl/ssl_manager.h" #include "chrome/browser/renderer_host/resource_dispatcher_host.h" #include "chrome/common/filter_policy.h" #include "googleurl/src/gurl.h" @@ -16,7 +17,6 @@ class MessageLoop; class SSLCertErrorHandler; -class SSLManager; class TabContents; class URLRequest; @@ -59,7 +59,7 @@ class SSLErrorHandler : public base::RefCountedThreadSafe { const std::string& main_frame_origin() const { return main_frame_origin_; } // Call on the UI thread. - SSLManager* manager() const { return manager_; } + SSLPolicyBackend* backend() const { return manager_->backend(); } // Returns the TabContents this object is associated with. Should be // called from the UI thread. -- cgit v1.1