| Index: chrome/browser/ssl/ssl_policy_backend.h
|
| ===================================================================
|
| --- chrome/browser/ssl/ssl_policy_backend.h (revision 47356)
|
| +++ chrome/browser/ssl/ssl_policy_backend.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2009 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.
|
|
|
| @@ -31,11 +31,13 @@
|
| const std::wstring& link_text,
|
| Task* task);
|
|
|
| - // Records that a host has run insecure content.
|
| - void HostRanInsecureContent(const std::string& host, int pid);
|
| + // Records that a host is "broken," that is, the origin for that host has been
|
| + // contaminated with insecure content, either via HTTP or via HTTPS with a
|
| + // bad certificate.
|
| + void MarkHostAsBroken(const std::string& host, int pid);
|
|
|
| - // Returns whether the specified host ran insecure content.
|
| - bool DidHostRunInsecureContent(const std::string& host, int pid) const;
|
| + // Returns whether the specified host was marked as broken.
|
| + bool DidMarkHostAsBroken(const std::string& host, int pid) const;
|
|
|
| // Records that |cert| is permitted to be used for |host| in the future.
|
| void DenyCertForHost(net::X509Certificate* cert, const std::string& host);
|
| @@ -78,6 +80,9 @@
|
| Task* action;
|
| };
|
|
|
| + // Dispatch NotificationType::SSL_INTERNAL_STATE_CHANGED notification.
|
| + void DispatchSSLInternalStateChanged();
|
| +
|
| // The NavigationController that owns this SSLManager. We are responsible
|
| // for the security UI of this tab.
|
| NavigationController* controller_;
|
|
|