Index: content/browser/ssl/ssl_manager.h |
diff --git a/content/browser/ssl/ssl_manager.h b/content/browser/ssl/ssl_manager.h |
index 70cd067e1214de8aa679f32683eaea78f7b6645e..ad7df7e48bcc59040cdac7fbbde28d7255efaa6d 100644 |
--- a/content/browser/ssl/ssl_manager.h |
+++ b/content/browser/ssl/ssl_manager.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -11,6 +11,7 @@ |
#include "base/basictypes.h" |
#include "base/memory/scoped_ptr.h" |
#include "content/browser/ssl/ssl_policy_backend.h" |
+#include "content/browser/ssl/ssl_error_handler.h" |
#include "content/common/content_export.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
@@ -20,7 +21,6 @@ |
class LoadFromMemoryCacheDetails; |
class NavigationControllerImpl; |
-class ResourceDispatcherHost; |
class ResourceRedirectDetails; |
class ResourceRequestDetails; |
class SSLPolicy; |
@@ -31,7 +31,6 @@ class NavigationEntryImpl; |
namespace net { |
class SSLInfo; |
-class URLRequest; |
} // namespace net |
// The SSLManager SSLManager controls the SSL UI elements in a TabContents. It |
@@ -47,11 +46,11 @@ class SSLManager : public content::NotificationObserver { |
// Entry point for SSLCertificateErrors. This function begins the process |
// of resolving a certificate error during an SSL connection. SSLManager |
// will adjust the security UI and either call |Cancel| or |
- // |ContinueDespiteLastError| on the net::URLRequest. |
+ // |ContinueDespiteLastError| on the request associated with |id|. |
// |
// Called on the IO thread. |
- static void OnSSLCertificateError(ResourceDispatcherHost* resource_dispatcher, |
- net::URLRequest* request, |
+ static void OnSSLCertificateError(SSLErrorHandler::Delegate* delegate, |
+ SSLErrorHandler::instance_id id, |
const net::SSLInfo& ssl_info, |
bool fatal); |