Index: chrome/browser/ui/views/session_crashed_bubble_view.h |
diff --git a/chrome/browser/ui/views/session_crashed_bubble_view.h b/chrome/browser/ui/views/session_crashed_bubble_view.h |
index a2d75bd18911cbf03431718071596d6d2c0a9f47..ea5a904a70778b375d813312f0e5206b4dff828d 100644 |
--- a/chrome/browser/ui/views/session_crashed_bubble_view.h |
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.h |
@@ -62,6 +62,7 @@ class SessionCrashedBubbleView |
virtual base::string16 GetWindowTitle() const OVERRIDE; |
virtual bool ShouldShowWindowTitle() const OVERRIDE; |
virtual bool ShouldShowCloseButton() const OVERRIDE; |
+ virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; |
// views::BubbleDelegateView methods. |
virtual void Init() OVERRIDE; |
@@ -129,6 +130,10 @@ class SessionCrashedBubbleView |
// Whether or not a navigation has started on current tab. |
bool started_navigation_; |
+ // Whether or not the user chose to restore previous session. It is used to |
+ // collect bubble usage stats. |
+ bool restored_; |
+ |
DISALLOW_COPY_AND_ASSIGN(SessionCrashedBubbleView); |
}; |