| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/browser_thread.h" | 9 #include "chrome/browser/browser_thread.h" |
| 10 #include "chrome/browser/load_from_memory_cache_details.h" | 10 #include "chrome/browser/load_from_memory_cache_details.h" |
| 11 #include "chrome/browser/net/url_request_tracking.h" | 11 #include "chrome/browser/net/url_request_tracking.h" |
| 12 #include "chrome/browser/prefs/pref_service.h" | |
| 13 #include "chrome/browser/renderer_host/resource_request_details.h" | 12 #include "chrome/browser/renderer_host/resource_request_details.h" |
| 14 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 13 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 15 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" | 14 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h" |
| 16 #include "chrome/browser/ssl/ssl_cert_error_handler.h" | 15 #include "chrome/browser/ssl/ssl_cert_error_handler.h" |
| 17 #include "chrome/browser/ssl/ssl_policy.h" | 16 #include "chrome/browser/ssl/ssl_policy.h" |
| 18 #include "chrome/browser/ssl/ssl_request_info.h" | 17 #include "chrome/browser/ssl/ssl_request_info.h" |
| 19 #include "chrome/browser/tab_contents/navigation_controller.h" | 18 #include "chrome/browser/tab_contents/navigation_controller.h" |
| 20 #include "chrome/browser/tab_contents/navigation_entry.h" | 19 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 21 #include "chrome/browser/tab_contents/provisional_load_details.h" | 20 #include "chrome/browser/tab_contents/provisional_load_details.h" |
| 22 #include "chrome/browser/tab_contents/tab_contents.h" | 21 #include "chrome/browser/tab_contents/tab_contents.h" |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 262 |
| 264 policy()->UpdateEntry(entry, controller_->tab_contents()); | 263 policy()->UpdateEntry(entry, controller_->tab_contents()); |
| 265 | 264 |
| 266 if (!entry->ssl().Equals(original_ssl_status)) { | 265 if (!entry->ssl().Equals(original_ssl_status)) { |
| 267 NotificationService::current()->Notify( | 266 NotificationService::current()->Notify( |
| 268 NotificationType::SSL_VISIBLE_STATE_CHANGED, | 267 NotificationType::SSL_VISIBLE_STATE_CHANGED, |
| 269 Source<NavigationController>(controller_), | 268 Source<NavigationController>(controller_), |
| 270 NotificationService::NoDetails()); | 269 NotificationService::NoDetails()); |
| 271 } | 270 } |
| 272 } | 271 } |
| OLD | NEW |