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

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, 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/first_run/first_run_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 is an existing instance
+ // of Chrome running with this profile. In general, you should not use this
+ // 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.
« no previous file with comments | « 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