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 #ifndef MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ | 5 #ifndef MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ |
6 #define MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ | 6 #define MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/synchronization/waitable_event.h" | 10 #include "base/synchronization/waitable_event.h" |
11 #include "base/task_runner.h" | 11 #include "base/task_runner.h" |
12 #include "mojo/edk/embedder/process_delegate.h" | 12 #include "mojo/edk/embedder/process_delegate.h" |
13 #include "mojo/edk/embedder/scoped_platform_handle.h" | 13 #include "mojo/edk/embedder/scoped_platform_handle.h" |
14 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | 14 #include "mojo/public/cpp/system/macros.h" |
15 | 15 |
16 namespace mojo { | 16 namespace mojo { |
17 namespace edk { | 17 namespace edk { |
18 namespace test { | 18 namespace test { |
19 | 19 |
20 namespace internal { | 20 namespace internal { |
21 | 21 |
22 class ScopedIPCSupportHelper { | 22 class ScopedIPCSupportHelper { |
23 public: | 23 public: |
24 ScopedIPCSupportHelper(); | 24 ScopedIPCSupportHelper(); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 internal::ScopedIPCSupportHelper helper_; | 57 internal::ScopedIPCSupportHelper helper_; |
58 | 58 |
59 MOJO_DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport); | 59 MOJO_DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace test | 62 } // namespace test |
63 } // namespace edk | 63 } // namespace edk |
64 } // namespace mojo | 64 } // namespace mojo |
65 | 65 |
66 #endif // MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ | 66 #endif // MOJO_EDK_TEST_SCOPED_IPC_SUPPORT_H_ |
OLD | NEW |