summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl/ssl_policy_backend.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 18:47:06 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-15 18:47:06 +0000
commit8ca2f4aa621c51c7abdbb2af97acfd5133d8b79d (patch)
treecc299fe8093ba222d76cc05c30b5f62edf9545df /chrome/browser/ssl/ssl_policy_backend.cc
parent9c8e85f1909ecfed0ac6f4e44c820659990f19c8 (diff)
downloadchromium_src-8ca2f4aa621c51c7abdbb2af97acfd5133d8b79d.zip
chromium_src-8ca2f4aa621c51c7abdbb2af97acfd5133d8b79d.tar.gz
chromium_src-8ca2f4aa621c51c7abdbb2af97acfd5133d8b79d.tar.bz2
Try 16162 again. Hopefully should build with gcc.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl/ssl_policy_backend.cc')
-rw-r--r--chrome/browser/ssl/ssl_policy_backend.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/browser/ssl/ssl_policy_backend.cc b/chrome/browser/ssl/ssl_policy_backend.cc
index 9b1eed8..49f98ea 100644
--- a/chrome/browser/ssl/ssl_policy_backend.cc
+++ b/chrome/browser/ssl/ssl_policy_backend.cc
@@ -104,20 +104,6 @@ void SSLPolicyBackend::ShowMessageWithLink(const std::wstring& msg,
}
}
-bool SSLPolicyBackend::SetMaxSecurityStyle(SecurityStyle style) {
- NavigationEntry* entry = controller_->GetActiveEntry();
- if (!entry) {
- NOTREACHED();
- return false;
- }
-
- if (entry->ssl().security_style() > style) {
- entry->ssl().set_security_style(style);
- return true;
- }
- return false;
-}
-
void SSLPolicyBackend::AddMessageToConsole(
const string16& message, const WebConsoleMessage::Level& level) {
controller_->tab_contents()->render_view_host()->AddMessageToConsole(