summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 06:18:20 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 06:18:20 +0000
commit876b0c451041fad7be429632de5066e4e30bf625 (patch)
tree71be1d17d771ce352884a2883cab428106e76925
parentefdb3e59f68fe34ef19dd6e52a5555e19f9b26b4 (diff)
downloadchromium_src-876b0c451041fad7be429632de5066e4e30bf625.zip
chromium_src-876b0c451041fad7be429632de5066e4e30bf625.tar.gz
chromium_src-876b0c451041fad7be429632de5066e4e30bf625.tar.bz2
Clarify the semantics of some SSLHostState data structures.
TBR=wtc TEST=No behavior changes Review URL: http://codereview.chromium.org/115289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15941 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/ssl/ssl_host_state.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/ssl/ssl_host_state.h b/chrome/browser/ssl/ssl_host_state.h
index a5018c7..1744960 100644
--- a/chrome/browser/ssl/ssl_host_state.h
+++ b/chrome/browser/ssl/ssl_host_state.h
@@ -53,8 +53,13 @@ class SSLHostState : public NonThreadSafe {
bool DidAllowMixedContentForHost(const std::string& host);
private:
+ // A BrokenHostEntry is a pair of (host, process_id) that indicates the host
+ // contains non-HTTPS content in that renderer process.
typedef std::pair<std::string, int> BrokenHostEntry;
- // Hosts which have been contaminated with unsafe content.
+
+ // Hosts which have been contaminated with non-HTTPS content in the
+ // specified process. Note that non-HTTPS content can travel between
+ // same-origin frames in one processs but cannot jump between processes.
std::set<BrokenHostEntry> broken_hosts_;
// Certificate policies for each host.