Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: chrome/browser/ssl/ssl_policy.h

Issue 2063008: (Original patch reviewed at http://codereview.chromium.org/2067003 )... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ssl/ssl_manager.cc ('k') | chrome/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ssl/ssl_policy.h
===================================================================
--- chrome/browser/ssl/ssl_policy.h (revision 47323)
+++ chrome/browser/ssl/ssl_policy.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -29,7 +29,6 @@
// An error occurred with the certificate in an SSL connection.
void OnCertError(SSLCertErrorHandler* handler);
- void DidDisplayInsecureContent(NavigationEntry* entry);
void DidRunInsecureContent(NavigationEntry* entry,
const std::string& security_origin);
@@ -37,7 +36,8 @@
void OnRequestStarted(SSLRequestInfo* info);
// Update the SSL information in |entry| to match the current state.
- void UpdateEntry(NavigationEntry* entry);
+ // |tab_contents| is the TabContents associated with this entry.
+ void UpdateEntry(NavigationEntry* entry, TabContents* tab_contents);
SSLPolicyBackend* backend() const { return backend_; }
@@ -59,17 +59,9 @@
// it with the default style for its URL.
void InitializeEntryIfNeeded(NavigationEntry* entry);
- // Mark |origin| as containing insecure content in the process with ID |pid|.
- void MarkOriginAsBroken(const std::string& origin, int pid);
+ // Mark |origin| as having run insecure content in the process with ID |pid|.
+ void OriginRanInsecureContent(const std::string& origin, int pid);
- // Called after we've decided that |info| represents a request for mixed
- // content. Updates our internal state to reflect that we've loaded |info|.
- void UpdateStateForMixedContent(SSLRequestInfo* info);
-
- // Called after we've decided that |info| represents a request for unsafe
- // content. Updates our internal state to reflect that we've loaded |info|.
- void UpdateStateForUnsafeContent(SSLRequestInfo* info);
-
// The backend we use to enact our decisions.
SSLPolicyBackend* backend_;
« no previous file with comments | « chrome/browser/ssl/ssl_manager.cc ('k') | chrome/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698