| 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_SYSTEM_MASTER_IMPL_H_ | 5 #ifndef MOJO_EDK_SYSTEM_MASTER_IMPL_H_ |
| 6 #define MOJO_EDK_SYSTEM_MASTER_IMPL_H_ | 6 #define MOJO_EDK_SYSTEM_MASTER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/process/process.h" | 8 #include "base/process/process.h" |
| 9 #include "mojo/edk/system/master.mojom.h" | 9 #include "mojo/edk/system/master.mojom.h" |
| 10 #include "mojo/edk/system/system_impl_export.h" | 10 #include "mojo/edk/system/system_impl_export.h" |
| 11 #include "third_party/mojo/src/mojo/public/cpp/system/macros.h" | 11 #include "mojo/public/cpp/system/macros.h" |
| 12 | 12 |
| 13 #if defined(OS_WIN) | 13 #if defined(OS_WIN) |
| 14 #include <windows.h> | 14 #include <windows.h> |
| 15 #endif | 15 #endif |
| 16 | 16 |
| 17 namespace mojo { | 17 namespace mojo { |
| 18 namespace edk { | 18 namespace edk { |
| 19 | 19 |
| 20 // An instance of this class exists in the maste process for each slave process. | 20 // An instance of this class exists in the maste process for each slave process. |
| 21 class MasterImpl : public Master { | 21 class MasterImpl : public Master { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 base::Process slave_process_; | 34 base::Process slave_process_; |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 MOJO_DISALLOW_COPY_AND_ASSIGN(MasterImpl); | 37 MOJO_DISALLOW_COPY_AND_ASSIGN(MasterImpl); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace edk | 40 } // namespace edk |
| 41 } // namespace mojo | 41 } // namespace mojo |
| 42 | 42 |
| 43 #endif // MOJO_EDK_SYSTEM_MASTER_IMPL_H_ | 43 #endif // MOJO_EDK_SYSTEM_MASTER_IMPL_H_ |
| OLD | NEW |