| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/ssl/ssl_manager.h" | 5 #include "chrome/browser/ssl/ssl_manager.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 #include "chrome/browser/load_from_memory_cache_details.h" | 8 #include "chrome/browser/load_from_memory_cache_details.h" |
| 9 #include "chrome/browser/net/url_request_tracking.h" | |
| 10 #include "chrome/browser/ssl/ssl_cert_error_handler.h" | 9 #include "chrome/browser/ssl/ssl_cert_error_handler.h" |
| 11 #include "chrome/browser/ssl/ssl_policy.h" | 10 #include "chrome/browser/ssl/ssl_policy.h" |
| 12 #include "chrome/browser/ssl/ssl_request_info.h" | 11 #include "chrome/browser/ssl/ssl_request_info.h" |
| 13 #include "content/browser/browser_thread.h" | 12 #include "content/browser/browser_thread.h" |
| 14 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 13 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
| 15 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" | 14 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" |
| 16 #include "content/browser/renderer_host/resource_request_details.h" | 15 #include "content/browser/renderer_host/resource_request_details.h" |
| 17 #include "content/browser/tab_contents/navigation_controller.h" | 16 #include "content/browser/tab_contents/navigation_controller.h" |
| 18 #include "content/browser/tab_contents/navigation_entry.h" | 17 #include "content/browser/tab_contents/navigation_entry.h" |
| 19 #include "content/browser/tab_contents/provisional_load_details.h" | 18 #include "content/browser/tab_contents/provisional_load_details.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 255 |
| 257 policy()->UpdateEntry(entry, controller_->tab_contents()); | 256 policy()->UpdateEntry(entry, controller_->tab_contents()); |
| 258 | 257 |
| 259 if (!entry->ssl().Equals(original_ssl_status)) { | 258 if (!entry->ssl().Equals(original_ssl_status)) { |
| 260 NotificationService::current()->Notify( | 259 NotificationService::current()->Notify( |
| 261 NotificationType::SSL_VISIBLE_STATE_CHANGED, | 260 NotificationType::SSL_VISIBLE_STATE_CHANGED, |
| 262 Source<NavigationController>(controller_), | 261 Source<NavigationController>(controller_), |
| 263 NotificationService::NoDetails()); | 262 NotificationService::NoDetails()); |
| 264 } | 263 } |
| 265 } | 264 } |
| OLD | NEW |