| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index f191672c9d9c21b3a98b07dc9bbd5e967c8b3dec..628c5ffa62ed0ac499d0569ffd037db166586baa 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -486,9 +486,13 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| // default behavior is suppressed.
|
| virtual bool SaveFrame(const GURL& url, const Referrer& referrer);
|
|
|
| - // Can be overridden by a delegate to return the security style of the given
|
| - // |web_contents|. Returns SECURITY_STYLE_UNKNOWN if not overriden.
|
| - virtual SecurityStyle GetSecurityStyle(WebContents* web_contents);
|
| + // Can be overridden by a delegate to return the security style of the
|
| + // given |web_contents|, populating |security_style_explanation| to
|
| + // explain why the SecurityStyle was downgraded. Returns
|
| + // SECURITY_STYLE_UNKNOWN if not overriden.
|
| + virtual SecurityStyle GetSecurityStyle(
|
| + WebContents* web_contents,
|
| + SecurityStyleExplanation* security_style_explanation);
|
|
|
| protected:
|
| virtual ~WebContentsDelegate();
|
|
|