Index: mojo/edk/test/scoped_ipc_support.h |
diff --git a/mojo/edk/test/scoped_ipc_support.h b/mojo/edk/test/scoped_ipc_support.h |
index 04173d34528189bc62e570654ddaf43de514621e..331747b530b1857629b8d2be93cc3d843fa5c1be 100644 |
--- a/mojo/edk/test/scoped_ipc_support.h |
+++ b/mojo/edk/test/scoped_ipc_support.h |
@@ -18,28 +18,6 @@ namespace test { |
base::TaskRunner* GetIoTaskRunner(); |
-namespace internal { |
- |
-class ScopedIPCSupportHelper { |
- public: |
- ScopedIPCSupportHelper(); |
- ~ScopedIPCSupportHelper(); |
- |
- void Init(ProcessDelegate* process_delegate, |
- scoped_refptr<base::TaskRunner> io_thread_task_runner); |
- |
- void OnShutdownCompleteImpl(); |
- |
- private: |
- scoped_refptr<base::TaskRunner> io_thread_task_runner_; |
- |
- base::RunLoop run_loop_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupportHelper); |
-}; |
- |
-} // namespace internal |
- |
// A simple class that calls |InitIPCSupport()| on construction and |
// |ShutdownIPCSupport()| on destruction. |
class ScopedIPCSupport : public ProcessDelegate { |
@@ -53,7 +31,7 @@ class ScopedIPCSupport : public ProcessDelegate { |
// Note: Executed on the I/O thread. |
void OnShutdownComplete() override; |
- internal::ScopedIPCSupportHelper helper_; |
+ base::Closure quit_closure; |
DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport); |
}; |