Index: util/win/exception_handler_server.h |
diff --git a/util/win/exception_handler_server.h b/util/win/exception_handler_server.h |
index d1243406228e98b912d6b7699c7f1c2e2e7d2563..d4a81f16caf99796e2eb433c1987ee5524a05090 100644 |
--- a/util/win/exception_handler_server.h |
+++ b/util/win/exception_handler_server.h |
@@ -64,7 +64,10 @@ class ExceptionHandlerServer { |
//! |
//! \param[in] pipe_name The name of the pipe to listen on. Must be of the |
//! form "\\.\pipe\<some_name>". |
- explicit ExceptionHandlerServer(const std::string& pipe_name); |
+ //! \param[in] persistent `true` if Run() should not return until Stop() is |
+ //! called. If `false`, Run() will return when all clients have exited, |
+ //! although Run() will always wait for the first client to connect. |
+ ExceptionHandlerServer(const std::string& pipe_name, bool persistent); |
~ExceptionHandlerServer(); |
@@ -92,6 +95,8 @@ class ExceptionHandlerServer { |
base::Lock clients_lock_; |
std::set<internal::ClientData*> clients_; |
+ bool persistent_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ExceptionHandlerServer); |
}; |