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

Unified Diff: chrome/chrome_watcher/chrome_watcher_main_api.h

Issue 886613002: Introduce the ability to wait for the watcher process to initialize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback. Created 5 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
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | components/browser_watcher/watcher_client_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_watcher/chrome_watcher_main_api.h
diff --git a/chrome/chrome_watcher/chrome_watcher_main_api.h b/chrome/chrome_watcher/chrome_watcher_main_api.h
index 491b550f3004cc4d8b56ac072706c84d377627b5..22dbf9b18ce21a825607d4118d94c1e28d9fe3fd 100644
--- a/chrome/chrome_watcher/chrome_watcher_main_api.h
+++ b/chrome/chrome_watcher/chrome_watcher_main_api.h
@@ -16,8 +16,11 @@ extern const char kChromeWatcherDLLEntrypoint[];
// The type of the watcher DLL's main entry point.
// Watches |parent_process| and records its exit code under |registry_path| in
-// HKCU. Takes ownership of |parent_process|.
-typedef int (*ChromeWatcherMainFunction)(const base::char16* registry_path,
- HANDLE parent_process);
+// HKCU. |on_initialized_event| will be signaled once the process is fully
+// initialized. Takes ownership of |parent_process| and |on_initialized_event|.
+typedef int (*ChromeWatcherMainFunction)(
+ const base::char16* registry_path,
+ HANDLE parent_process,
+ HANDLE on_initialized_event);
#endif // CHROME_CHROME_WATCHER_CHROME_WATCHER_MAIN_API_H_
« no previous file with comments | « chrome/chrome_watcher/chrome_watcher_main.cc ('k') | components/browser_watcher/watcher_client_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698