Chromium Code Reviews| Index: chrome/browser/ssl/ssl_policy.cc |
| =================================================================== |
| --- chrome/browser/ssl/ssl_policy.cc (revision 25792) |
| +++ chrome/browser/ssl/ssl_policy.cc (working copy) |
| @@ -305,8 +305,12 @@ |
| true, |
| handler->request_url(), |
| security_info); |
| - tab->controller().GetActiveEntry()->set_page_type( |
| - NavigationEntry::ERROR_PAGE); |
| + |
| + // TODO(jcampan): we may want to set the navigation entry type to |
| + // PageType::ERROR_PAGE. The navigation entry is not available at this point, |
| + // it is created when the rendere receives a DidNavigate (triggered by the |
|
willchan no longer on Chromium
2009/09/10 00:19:16
s/rendere/renderer/
|
| + // LoadAlternateHTMLString above). We'd probably need to pass the page type |
| + // along with the security_info. |
| } |
| void SSLPolicy::AddMixedContentWarningToConsole( |