| 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_manager.h" | 5 #include "content/browser/ssl/ssl_manager.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 9 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
| 10 #include "content/browser/renderer_host/resource_request_info_impl.h" | 10 #include "content/browser/loader/resource_request_info_impl.h" |
| 11 #include "content/browser/ssl/ssl_cert_error_handler.h" | 11 #include "content/browser/ssl/ssl_cert_error_handler.h" |
| 12 #include "content/browser/ssl/ssl_policy.h" | 12 #include "content/browser/ssl/ssl_policy.h" |
| 13 #include "content/browser/ssl/ssl_request_info.h" | 13 #include "content/browser/ssl/ssl_request_info.h" |
| 14 #include "content/browser/web_contents/navigation_entry_impl.h" | 14 #include "content/browser/web_contents/navigation_entry_impl.h" |
| 15 #include "content/browser/web_contents/web_contents_impl.h" | 15 #include "content/browser/web_contents/web_contents_impl.h" |
| 16 #include "content/common/ssl_status_serialization.h" | 16 #include "content/common/ssl_status_serialization.h" |
| 17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 18 #include "content/public/browser/load_from_memory_cache_details.h" | 18 #include "content/public/browser/load_from_memory_cache_details.h" |
| 19 #include "content/public/browser/navigation_details.h" | 19 #include "content/public/browser/navigation_details.h" |
| 20 #include "content/public/browser/notification_service.h" | 20 #include "content/public/browser/notification_service.h" |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 if (!entry->GetSSL().Equals(original_ssl_status)) { | 216 if (!entry->GetSSL().Equals(original_ssl_status)) { |
| 217 NotificationService::current()->Notify( | 217 NotificationService::current()->Notify( |
| 218 NOTIFICATION_SSL_VISIBLE_STATE_CHANGED, | 218 NOTIFICATION_SSL_VISIBLE_STATE_CHANGED, |
| 219 Source<NavigationController>(controller_), | 219 Source<NavigationController>(controller_), |
| 220 NotificationService::NoDetails()); | 220 NotificationService::NoDetails()); |
| 221 } | 221 } |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace content | 224 } // namespace content |
| OLD | NEW |