| 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/renderer_host/render_view_host_impl.h" | 8 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 9 #include "content/browser/ssl/ssl_cert_error_handler.h" | 9 #include "content/browser/ssl/ssl_cert_error_handler.h" |
| 10 #include "content/browser/tab_contents/navigation_controller_impl.h" | |
| 11 #include "content/browser/tab_contents/tab_contents.h" | 10 #include "content/browser/tab_contents/tab_contents.h" |
| 11 #include "content/browser/web_contents/navigation_controller_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 content::BrowserThread; | 17 using content::BrowserThread; |
| 18 using content::RenderViewHostImpl; | 18 using content::RenderViewHostImpl; |
| 19 using content::WebContents; | 19 using content::WebContents; |
| 20 using net::SSLInfo; | 20 using net::SSLInfo; |
| 21 | 21 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // already have been deleted. | 166 // already have been deleted. |
| 167 DCHECK(!request_has_been_notified_); | 167 DCHECK(!request_has_been_notified_); |
| 168 if (request_has_been_notified_) | 168 if (request_has_been_notified_) |
| 169 return; | 169 return; |
| 170 | 170 |
| 171 request_has_been_notified_ = true; | 171 request_has_been_notified_ = true; |
| 172 | 172 |
| 173 // We're done with this object on the IO thread. | 173 // We're done with this object on the IO thread. |
| 174 Release(); | 174 Release(); |
| 175 } | 175 } |
| OLD | NEW |