OLD | NEW |
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 #include "content/browser/ssl/ssl_cert_error_handler.h" | 5 #include "content/browser/ssl/ssl_cert_error_handler.h" |
6 | 6 |
7 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | |
8 #include "content/browser/ssl/ssl_manager.h" | 7 #include "content/browser/ssl/ssl_manager.h" |
9 #include "content/browser/ssl/ssl_policy.h" | 8 #include "content/browser/ssl/ssl_policy.h" |
10 #include "net/base/cert_status_flags.h" | 9 #include "net/base/cert_status_flags.h" |
11 #include "net/base/x509_certificate.h" | 10 #include "net/base/x509_certificate.h" |
12 | 11 |
13 namespace content { | 12 namespace content { |
14 | 13 |
15 SSLCertErrorHandler::SSLCertErrorHandler( | 14 SSLCertErrorHandler::SSLCertErrorHandler( |
16 const base::WeakPtr<Delegate>& delegate, | 15 const base::WeakPtr<Delegate>& delegate, |
17 const GlobalRequestID& id, | 16 const GlobalRequestID& id, |
(...skipping 25 matching lines...) Expand all Loading... |
43 } | 42 } |
44 } | 43 } |
45 | 44 |
46 void SSLCertErrorHandler::OnDispatched() { | 45 void SSLCertErrorHandler::OnDispatched() { |
47 manager_->policy()->OnCertError(this); | 46 manager_->policy()->OnCertError(this); |
48 } | 47 } |
49 | 48 |
50 SSLCertErrorHandler::~SSLCertErrorHandler() {} | 49 SSLCertErrorHandler::~SSLCertErrorHandler() {} |
51 | 50 |
52 } // namespace content | 51 } // namespace content |
OLD | NEW |