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. |