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

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

Issue 369933002: Use the correct thread to access g_browser_process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped_ptr should be passed. Created 6 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9ad31ba93ef2e5686e5c1c56fa6c0800831129e9..a2d75bd18911cbf03431718071596d6d2c0a9f47 100644
--- a/chrome/browser/ui/views/session_crashed_bubble_view.h
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.h
@@ -51,12 +51,11 @@ class SessionCrashedBubbleView
bool offer_uma_optin);
virtual ~SessionCrashedBubbleView();
- // Creates and shows the session crashed bubble, with |offer_uma_optin|
- // indicating whether the UMA opt-in checkbox should be shown. Called
- // by Show after checking whether the UMA option should be presented and it
- // takes ownership of |browser_observer|.
+ // Creates and shows the session crashed bubble, with |uma_opted_in_already|
+ // indicating whether the user has already opted-in to UMA. It will be called
+ // by Show. It takes ownership of |browser_observer|.
static void ShowForReal(scoped_ptr<BrowserRemovalObserver> browser_observer,
- bool offer_uma_optin);
+ bool uma_opted_in_already);
// WidgetDelegateView methods.
virtual views::View* GetInitiallyFocusedView() OVERRIDE;
« no previous file with comments | « no previous file | chrome/browser/ui/views/session_crashed_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698