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

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

Issue 1483823004: EDK: Move {platform_handle,scoped_platform_handle}.* to //mojo/edk/platform. (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/test/scoped_ipc_support.h ('k') | mojo/edk/test/test_utils.h » ('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 "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "mojo/edk/embedder/embedder.h" 8 #include "mojo/edk/embedder/embedder.h"
9 9
10 using mojo::embedder::ScopedPlatformHandle; 10 using mojo::platform::ScopedPlatformHandle;
11 using mojo::platform::TaskRunner; 11 using mojo::platform::TaskRunner;
12 using mojo::util::RefPtr; 12 using mojo::util::RefPtr;
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace test { 15 namespace test {
16 16
17 namespace internal { 17 namespace internal {
18 18
19 ScopedIPCSupportHelper::ScopedIPCSupportHelper() {} 19 ScopedIPCSupportHelper::ScopedIPCSupportHelper() {}
20 20
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 helper_.OnShutdownCompleteImpl(); 105 helper_.OnShutdownCompleteImpl();
106 } 106 }
107 107
108 void ScopedSlaveIPCSupport::OnMasterDisconnect() { 108 void ScopedSlaveIPCSupport::OnMasterDisconnect() {
109 if (!on_master_disconnect_.is_null()) 109 if (!on_master_disconnect_.is_null())
110 on_master_disconnect_.Run(); 110 on_master_disconnect_.Run();
111 } 111 }
112 112
113 } // namespace test 113 } // namespace test
114 } // namespace mojo 114 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/test/scoped_ipc_support.h ('k') | mojo/edk/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698