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/macros.h" |
10 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
11 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
12 #include "content/browser/frame_host/navigation_entry_impl.h" | 13 #include "content/browser/frame_host/navigation_entry_impl.h" |
13 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 14 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
14 #include "content/browser/loader/resource_request_info_impl.h" | 15 #include "content/browser/loader/resource_request_info_impl.h" |
15 #include "content/browser/ssl/ssl_cert_error_handler.h" | 16 #include "content/browser/ssl/ssl_cert_error_handler.h" |
16 #include "content/browser/ssl/ssl_policy.h" | 17 #include "content/browser/ssl/ssl_policy.h" |
17 #include "content/browser/ssl/ssl_request_info.h" | 18 #include "content/browser/ssl/ssl_request_info.h" |
18 #include "content/browser/web_contents/web_contents_impl.h" | 19 #include "content/browser/web_contents/web_contents_impl.h" |
19 #include "content/common/ssl_status_serialization.h" | 20 #include "content/common/ssl_status_serialization.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 NotifyDidChangeVisibleSSLState(); | 197 NotifyDidChangeVisibleSSLState(); |
197 } | 198 } |
198 | 199 |
199 void SSLManager::NotifyDidChangeVisibleSSLState() { | 200 void SSLManager::NotifyDidChangeVisibleSSLState() { |
200 WebContentsImpl* contents = | 201 WebContentsImpl* contents = |
201 static_cast<WebContentsImpl*>(controller_->delegate()->GetWebContents()); | 202 static_cast<WebContentsImpl*>(controller_->delegate()->GetWebContents()); |
202 contents->DidChangeVisibleSSLState(); | 203 contents->DidChangeVisibleSSLState(); |
203 } | 204 } |
204 | 205 |
205 } // namespace content | 206 } // namespace content |
OLD | NEW |