Index: components/crash/content/app/crashpad.h |
diff --git a/components/crash/content/app/crashpad.h b/components/crash/content/app/crashpad.h |
index eeb65ac69b71f96e4fdcc891650e34773f0b2a37..7af47f79cf583708a02606d2512cd90f19721216 100644 |
--- a/components/crash/content/app/crashpad.h |
+++ b/components/crash/content/app/crashpad.h |
@@ -53,6 +53,10 @@ void InitializeCrashpad(bool initial_client, const std::string& process_type); |
// line argument of --type=crashpad-handler. |
void InitializeCrashpadWithEmbeddedHandler(bool initial_client, |
const std::string& process_type); |
+ |
+// Waits until the handler has successfully completed startup or failed, and |
+// logs an error in that case. |
+void BlockUntilHandlerStarted(); |
#endif // OS_WIN |
// Enables or disables crash report upload, taking the given consent to upload |