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

Unified Diff: chrome/browser/ui/views/session_crashed_bubble_view.h

Issue 287653004: Schedule posttask to decide Uma optin option offering (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update comments Created 6 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
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 f6b0247524b82c78618e4d5589889ed26fdfade7..97a72f0594d67dabda159cd8ba41c5eb73beb5c7 100644
--- a/chrome/browser/ui/views/session_crashed_bubble_view.h
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.h
@@ -44,6 +44,9 @@ class SessionCrashedBubbleView
content::WebContents* web_contents);
virtual ~SessionCrashedBubbleView();
+ // Create and show the session crashed bubble.
+ static void ShowForReal(Browser* browser, bool buffer);
Alexei Svitkine (slow) 2014/05/14 14:09:57 Rename |buffer| to a more meaningful name and make
yao 2014/05/14 14:53:28 Done.
+
// WidgetDelegateView methods.
virtual views::View* GetInitiallyFocusedView() OVERRIDE;
@@ -106,6 +109,9 @@ class SessionCrashedBubbleView
// Checkbox for the user to opt-in to UMA reporting.
views::Checkbox* uma_option_;
+ // Whether or not should offer UMA opt-in option.
+ bool offer_uma_optin_;
+
// Whether or not a navigation has started on current tab.
bool started_navigation_;

Powered by Google App Engine
This is Rietveld 408576698