| Index: chrome/browser/ssl/security_state_tab_helper.h
|
| diff --git a/chrome/browser/ssl/security_state_tab_helper.h b/chrome/browser/ssl/security_state_tab_helper.h
|
| index d91dca4f6042408c8ec47056c4a4de1270b130de..04d0f18824f6b44e793df0927ae26133ce4a53e1 100644
|
| --- a/chrome/browser/ssl/security_state_tab_helper.h
|
| +++ b/chrome/browser/ssl/security_state_tab_helper.h
|
| @@ -36,8 +36,11 @@ class SecurityStateTabHelper
|
| void VisibleSecurityStateChanged();
|
|
|
| // content::WebContentsObserver:
|
| + void DidStartNavigation(
|
| + content::NavigationHandle* navigation_handle) override;
|
| void DidFinishNavigation(
|
| content::NavigationHandle* navigation_handle) override;
|
| + void WebContentsDestroyed() override;
|
|
|
| private:
|
| explicit SecurityStateTabHelper(content::WebContents* web_contents);
|
| @@ -53,6 +56,13 @@ class SecurityStateTabHelper
|
| // message should only be logged once per main-frame navigation.
|
| bool logged_http_warning_on_current_navigation_;
|
|
|
| + // The time that a console or omnibox warning was shown for insecure
|
| + // HTTP pages that contain password or credit card fields. This is set
|
| + // at most once per main-frame navigation (the first time that an HTTP
|
| + // warning triggers on that navigation) and is used for UMA
|
| + // histogramming.
|
| + base::Time time_of_http_warning_on_current_navigation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SecurityStateTabHelper);
|
| };
|
|
|
|
|