Revert of Use |IsOriginSecure| for mark-HTTP-nonsecure field trial (patchset #1 id...
commit236d015aa9bf3f61ece3e32c8af40fc1b9153727
authorsergeyv <sergeyv@chromium.org>
Thu, 14 May 2015 10:53:00 +0000 (14 03:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 May 2015 10:53:03 +0000 (14 10:53 +0000)
tree89aaf323a29d5129a19e0fcb6df4b6e2c27085fa
parent14c65a439e0c66b793a5cbea1273b30895d4e09f
Revert of Use |IsOriginSecure| for mark-HTTP-nonsecure field trial (patchset #1 id:1 of https://codereview.chromium.org/1143503003/)

Reason for revert:
Android Tests dbg bot is failing:
http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20(dbg)

The reason of this failure is following patch: https://codereview.chromium.org/1123943002/

I had to revert this patch because it is a follow up.

Original issue's description:
> Use |IsOriginSecure| for mark-HTTP-nonsecure field trial
>
> When the flag or field trial is set such that non-secure origins will be
> marked as dubious/non-secure, use |IsOriginSecure| to determine whether
> an origin is non-secure, instead of simply treating http:// and ftp://
> as non-secure. This means that http://nytimes.com will be marked as
> dubious/non-secure, but not http://localhost (for example).
>
> BUG=487499
> TEST=Enable the "Mark non-secure as non-secure" flag in
> chrome://flags. Visit http://nytimes.com and observe that the lock icon
> is red and crossed out. Visit an http:// URL on localhost and observe
> that the lock icon is neutral.
>
> Committed: https://crrev.com/5f99677ac4f9b8180ee7fd2f0d5c85e91828a951
> Cr-Commit-Position: refs/heads/master@{#329774}

TBR=meacer@chromium.org,estark@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=487499

Review URL: https://codereview.chromium.org/1130843005

Cr-Commit-Position: refs/heads/master@{#329826}
chrome/browser/ssl/connection_security_helper.cc