| 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_error_handler.h" | 5 #include "content/browser/ssl/ssl_error_handler.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "content/browser/frame_host/navigation_controller_impl.h" |
| 8 #include "content/browser/renderer_host/render_view_host_impl.h" | 9 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 9 #include "content/browser/ssl/ssl_cert_error_handler.h" | 10 #include "content/browser/ssl/ssl_cert_error_handler.h" |
| 10 #include "content/browser/web_contents/navigation_controller_impl.h" | |
| 11 #include "content/browser/web_contents/web_contents_impl.h" | 11 #include "content/browser/web_contents/web_contents_impl.h" |
| 12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
| 13 #include "content/public/browser/resource_request_info.h" | 13 #include "content/public/browser/resource_request_info.h" |
| 14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
| 15 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
| 16 | 16 |
| 17 using net::SSLInfo; | 17 using net::SSLInfo; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 if (request_has_been_notified_) | 169 if (request_has_been_notified_) |
| 170 return; | 170 return; |
| 171 | 171 |
| 172 request_has_been_notified_ = true; | 172 request_has_been_notified_ = true; |
| 173 | 173 |
| 174 // We're done with this object on the IO thread. | 174 // We're done with this object on the IO thread. |
| 175 Release(); | 175 Release(); |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace content | 178 } // namespace content |
| OLD | NEW |