From eb34392be36ea2948f39bd22a6beae19e0b0bd24 Mon Sep 17 00:00:00 2001 From: "brettw@google.com" Date: Tue, 19 Aug 2008 15:42:20 +0000 Subject: Factor the SSL state out of the main NavigationEntry into a helper class. This makes it easier to find stuff and also copy ssl state (just assign). I made one "real" change in web_contents where I copy the entire SSL state now to the new entry rather than just a few fields like the old one. I couldn't figure out why this was necessary: running it shows that this leaves the other two fields in the uninitialized state which seems wrong. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1032 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/automation/automation_provider.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/automation') diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 1bae14d..db3f630 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -2002,8 +2002,8 @@ void AutomationProvider::GetSecurityState(const IPC::Message& message, NavigationController* tab = tab_tracker_->GetResource(handle); NavigationEntry* entry = tab->GetActiveEntry(); Send(new AutomationMsg_GetSecurityStateResponse(message.routing_id(), true, - entry->GetSecurityStyle(), entry->GetSSLCertStatus(), - entry->GetContentStatus())); + entry->ssl().security_style(), entry->ssl().cert_status(), + entry->ssl().content_status())); } else { Send(new AutomationMsg_GetSecurityStateResponse(message.routing_id(), false, SECURITY_STYLE_UNKNOWN, -- cgit v1.1