| Index: util/win/exception_handler_server_test.cc
|
| diff --git a/util/win/exception_handler_server_test.cc b/util/win/exception_handler_server_test.cc
|
| index 9fe593b5b155c68f72f047eb2dd6a930e031c4d7..0d87086b8d7ac0f94f9cc626dcb39c8a117c7550 100644
|
| --- a/util/win/exception_handler_server_test.cc
|
| +++ b/util/win/exception_handler_server_test.cc
|
| @@ -36,18 +36,20 @@ namespace {
|
| // Runs the ExceptionHandlerServer on a background thread.
|
| class RunServerThread : public Thread {
|
| public:
|
| - // Instantiates a thread which will invoke server->Run(delegate).
|
| + // Instantiates a thread which will invoke server->Run(delegate, pipe_name).
|
| RunServerThread(ExceptionHandlerServer* server,
|
| - ExceptionHandlerServer::Delegate* delegate)
|
| - : server_(server), delegate_(delegate) {}
|
| + ExceptionHandlerServer::Delegate* delegate,
|
| + const std::string& pipe_name)
|
| + : server_(server), delegate_(delegate), pipe_name_(pipe_name) {}
|
| ~RunServerThread() override {}
|
|
|
| private:
|
| // Thread:
|
| - void ThreadMain() override { server_->Run(delegate_); }
|
| + void ThreadMain() override { server_->Run(delegate_, pipe_name_); }
|
|
|
| ExceptionHandlerServer* server_;
|
| ExceptionHandlerServer::Delegate* delegate_;
|
| + std::string pipe_name_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RunServerThread);
|
| };
|
| @@ -83,8 +85,8 @@ class ExceptionHandlerServerTest : public testing::Test {
|
| base::StringPrintf("%08x", GetCurrentProcessId())),
|
| server_ready_(CreateEvent(nullptr, false, false, nullptr)),
|
| delegate_(server_ready_.get()),
|
| - server_(pipe_name_),
|
| - server_thread_(&server_, &delegate_) {}
|
| + server_(),
|
| + server_thread_(&server_, &delegate_, pipe_name_) {}
|
|
|
| TestDelegate& delegate() { return delegate_; }
|
| ExceptionHandlerServer& server() { return server_; }
|
|
|