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 <set> | 7 #include <set> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
11 #include "base/supports_user_data.h" | 11 #include "base/supports_user_data.h" |
| 12 #include "content/browser/frame_host/navigation_entry_impl.h" |
12 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 13 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
13 #include "content/browser/loader/resource_request_info_impl.h" | 14 #include "content/browser/loader/resource_request_info_impl.h" |
14 #include "content/browser/ssl/ssl_cert_error_handler.h" | 15 #include "content/browser/ssl/ssl_cert_error_handler.h" |
15 #include "content/browser/ssl/ssl_policy.h" | 16 #include "content/browser/ssl/ssl_policy.h" |
16 #include "content/browser/ssl/ssl_request_info.h" | 17 #include "content/browser/ssl/ssl_request_info.h" |
17 #include "content/browser/web_contents/navigation_entry_impl.h" | |
18 #include "content/browser/web_contents/web_contents_impl.h" | 18 #include "content/browser/web_contents/web_contents_impl.h" |
19 #include "content/common/ssl_status_serialization.h" | 19 #include "content/common/ssl_status_serialization.h" |
20 #include "content/public/browser/browser_context.h" | 20 #include "content/public/browser/browser_context.h" |
21 #include "content/public/browser/browser_thread.h" | 21 #include "content/public/browser/browser_thread.h" |
22 #include "content/public/browser/load_from_memory_cache_details.h" | 22 #include "content/public/browser/load_from_memory_cache_details.h" |
23 #include "content/public/browser/navigation_details.h" | 23 #include "content/public/browser/navigation_details.h" |
24 #include "content/public/browser/resource_request_details.h" | 24 #include "content/public/browser/resource_request_details.h" |
25 #include "content/public/common/ssl_status.h" | 25 #include "content/public/common/ssl_status.h" |
26 #include "net/url_request/url_request.h" | 26 #include "net/url_request/url_request.h" |
27 | 27 |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 209 |
210 WebContentsImpl* contents = | 210 WebContentsImpl* contents = |
211 static_cast<WebContentsImpl*>(controller_->delegate()->GetWebContents()); | 211 static_cast<WebContentsImpl*>(controller_->delegate()->GetWebContents()); |
212 policy()->UpdateEntry(entry, contents); | 212 policy()->UpdateEntry(entry, contents); |
213 | 213 |
214 if (!entry->GetSSL().Equals(original_ssl_status)) | 214 if (!entry->GetSSL().Equals(original_ssl_status)) |
215 contents->DidChangeVisibleSSLState(); | 215 contents->DidChangeVisibleSSLState(); |
216 } | 216 } |
217 | 217 |
218 } // namespace content | 218 } // namespace content |
OLD | NEW |