| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mojo/edk/test/scoped_ipc_support.h" | 5 #include "mojo/edk/test/scoped_ipc_support.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "mojo/edk/embedder/embedder.h" | 9 #include "mojo/edk/embedder/multiprocess_embedder.h" |
| 10 | 10 |
| 11 using mojo::platform::PlatformHandleWatcher; | 11 using mojo::platform::PlatformHandleWatcher; |
| 12 using mojo::platform::ScopedPlatformHandle; | 12 using mojo::platform::ScopedPlatformHandle; |
| 13 using mojo::platform::TaskRunner; | 13 using mojo::platform::TaskRunner; |
| 14 using mojo::util::RefPtr; | 14 using mojo::util::RefPtr; |
| 15 | 15 |
| 16 namespace mojo { | 16 namespace mojo { |
| 17 namespace test { | 17 namespace test { |
| 18 | 18 |
| 19 namespace internal { | 19 namespace internal { |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 helper_.OnShutdownCompleteImpl(); | 114 helper_.OnShutdownCompleteImpl(); |
| 115 } | 115 } |
| 116 | 116 |
| 117 void ScopedSlaveIPCSupport::OnMasterDisconnect() { | 117 void ScopedSlaveIPCSupport::OnMasterDisconnect() { |
| 118 if (on_master_disconnect_) | 118 if (on_master_disconnect_) |
| 119 on_master_disconnect_(); | 119 on_master_disconnect_(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // namespace test | 122 } // namespace test |
| 123 } // namespace mojo | 123 } // namespace mojo |
| OLD | NEW |