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

Unified Diff: chrome/browser/process_singleton.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, 10 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/process_singleton.h
===================================================================
--- chrome/browser/process_singleton.h (revision 76859)
+++ chrome/browser/process_singleton.h (working copy)
@@ -78,6 +78,16 @@
int timeout_seconds);
#endif // defined(OS_LINUX)
+#if defined(OS_WIN)
+ // Used in specific cases to let us know that there an existing instance
Finnur 2011/03/07 22:35:10 nit: s/an/is an/
+ // of chrome running with this profile. In general, you should not use this
Finnur 2011/03/07 22:35:10 nit: s/chrome/Chrome/
+ // function. Instead consider using NotifyOtherProcessOrCreate().
+ // For non profile-specific method, use Upgrade::IsBrowserAlreadyRunning().
+ bool FoundOtherProcessWindow() const {
+ return (NULL != remote_window_);
+ }
+#endif // defined(OS_WIN)
+
// Sets ourself up as the singleton instance. Returns true on success. If
// false is returned, we are not the singleton instance and the caller must
// exit.
« chrome/browser/first_run/first_run_win.cc ('K') | « chrome/browser/first_run/first_run_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698