OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IPC_MOJO_SCOPED_IPC_SUPPORT_H_ |
| 6 #define IPC_MOJO_SCOPED_IPC_SUPPORT_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/task_runner.h" |
| 11 #include "ipc/ipc_export.h" |
| 12 |
| 13 namespace IPC { |
| 14 |
| 15 // Perform any necessary Mojo IPC initialization. |
| 16 class IPC_MOJO_EXPORT ScopedIPCSupport { |
| 17 public: |
| 18 ScopedIPCSupport(scoped_refptr<base::TaskRunner> io_thread_task_runner); |
| 19 ~ScopedIPCSupport(); |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(ScopedIPCSupport); |
| 23 }; |
| 24 |
| 25 } // namespace IPC |
| 26 |
| 27 #endif // IPC_MOJO_SCOPED_IPC_SUPPORT_H_ |
OLD | NEW |