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

Unified Diff: chrome/browser/first_run/first_run.h

Issue 6625037: Make the toast more reliable and less dangerous... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « chrome/browser/browser_main.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/first_run.h
===================================================================
--- chrome/browser/first_run/first_run.h (revision 76859)
+++ chrome/browser/first_run/first_run.h (working copy)
@@ -245,7 +245,10 @@
// above for the possible outcomes of the function. This is an experimental,
// non-localized dialog.
// |version| can be 0, 1 or 2 and selects what strings to present.
- static TryResult ShowTryChromeDialog(size_t version);
+ // |process_singleton| needs to be valid and it will be locked while
+ // the dialog is shown.
+ static TryResult ShowTryChromeDialog(size_t version,
+ ProcessSingleton* process_singleton);
#endif // OS_WIN
// Launches chrome again simulating a 'user' launch. If chrome could not
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/first_run/first_run_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698