Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: mojo/edk/test/scoped_ipc_support.cc

Issue 1532183002: EDK: Split embedder.* into embedder.* and multiprocess_embedder.*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/edk/embedder/multiprocess_embedder_unittest.cc ('k') | shell/child_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « mojo/edk/embedder/multiprocess_embedder_unittest.cc ('k') | shell/child_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698