summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-15 02:59:07 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-15 02:59:07 +0000
commit132048857e69b3f07e7d50bda996d1923c9c8e7b (patch)
treed98c67ef93da6b9cd31acf1532e6f2dbba18a97c /chrome/browser/external_tab_container.cc
parentf3b6d491f7f4233b4862f7352f6ed477f3f1e95a (diff)
downloadchromium_src-132048857e69b3f07e7d50bda996d1923c9c8e7b.zip
chromium_src-132048857e69b3f07e7d50bda996d1923c9c8e7b.tar.gz
chromium_src-132048857e69b3f07e7d50bda996d1923c9c8e7b.tar.bz2
Revert 47347 - (Original patch reviewed at http://codereview.chromium.org/2067003 )
Track "display" and "run" separately for mixed content, and make the latter downgrade the SSL state to "authentication broken". Make the "display" state only affect the current tab (not the entire host). Fix an SSL browser test by supplying the appropriate SiteInstance*. Move a test from "disabled" to "flaky" since it at least passes for me. Make the SSLManager header and .cc files put functions in the same order, and make that order somewhat saner. Falied TestGoodFrameNavigation on Mac 10.5 browser tests among other things: /b/slave/chromium-rel-mac-builder/build/src/chrome/browser/ssl/ssl_browser_tests.cc:43: Failure Value of: entry->ssl().displayed_mixed_content() Actual: false Expected: displayed_mixed_content Which is: true BUG=15072, 18626, 40932, 42758 TEST=Covered by browser tests Review URL: http://codereview.chromium.org/2063008 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/2095006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47357 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index c651892..0833a6c 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -750,8 +750,7 @@ bool ExternalTabContainer::InitNavigationInfo(IPC::NavigationInfo* nav_info,
nav_info->title = UTF8ToWide(nav_info->url.spec());
nav_info->security_style = entry->ssl().security_style();
- nav_info->displayed_mixed_content = entry->ssl().displayed_mixed_content();
- nav_info->ran_mixed_content = entry->ssl().ran_mixed_content();
+ nav_info->has_mixed_content = entry->ssl().has_mixed_content();
return true;
}