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

Unified Diff: content/browser/ssl/ssl_cert_error_handler.h

Issue 9406001: Factor out ResourceDispatcherHost dependent code around SSLManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reflects wtc's review Created 8 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/ssl/ssl_cert_error_handler.h
diff --git a/content/browser/ssl/ssl_cert_error_handler.h b/content/browser/ssl/ssl_cert_error_handler.h
index e2ce1f071daf1926fca3ff6fd2625213b5887baf..91a469df442c7e005054c10d35feb50e6b2c4ec7 100644
--- a/content/browser/ssl/ssl_cert_error_handler.h
+++ b/content/browser/ssl/ssl_cert_error_handler.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.
@@ -9,6 +9,7 @@
#include <string>
#include "content/browser/ssl/ssl_error_handler.h"
+#include "content/public/browser/global_request_id.h"
wtc 2012/02/24 00:44:38 This is already included by ssl_error_handler.h.
Takashi Toyoshima 2012/02/28 20:55:43 Done.
#include "net/base/ssl_info.h"
// A CertError represents an error that occurred with the certificate in an
@@ -17,9 +18,8 @@
class SSLCertErrorHandler : public SSLErrorHandler {
public:
// Construct on the IO thread.
- SSLCertErrorHandler(ResourceDispatcherHost* rdh,
- net::URLRequest* request,
- ResourceType::Type resource_type,
+ SSLCertErrorHandler(Delegate* delegate,
+ const content::GlobalRequestID& id,
const net::SSLInfo& ssl_info,
bool fatal);

Powered by Google App Engine
This is Rietveld 408576698