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_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ | 5 #ifndef THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ |
6 #define MOJO_EDK_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ | 6 #define THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ |
7 | 7 |
8 #include "mojo/edk/embedder/process_delegate.h" | |
9 #include "mojo/edk/system/system_impl_export.h" | |
10 #include "mojo/public/cpp/system/macros.h" | 8 #include "mojo/public/cpp/system/macros.h" |
| 9 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h" |
| 10 #include "third_party/mojo/src/mojo/edk/system/system_impl_export.h" |
11 | 11 |
12 namespace mojo { | 12 namespace mojo { |
13 namespace embedder { | 13 namespace embedder { |
14 | 14 |
15 // An interface for the slave process delegate (which lives in each slave | 15 // An interface for the slave process delegate (which lives in each slave |
16 // process). | 16 // process). |
17 class MOJO_SYSTEM_IMPL_EXPORT SlaveProcessDelegate : public ProcessDelegate { | 17 class MOJO_SYSTEM_IMPL_EXPORT SlaveProcessDelegate : public ProcessDelegate { |
18 public: | 18 public: |
19 ProcessType GetType() const override; | 19 ProcessType GetType() const override; |
20 | 20 |
(...skipping 11 matching lines...) Expand all Loading... |
32 MOJO_DISALLOW_COPY_AND_ASSIGN(SlaveProcessDelegate); | 32 MOJO_DISALLOW_COPY_AND_ASSIGN(SlaveProcessDelegate); |
33 }; | 33 }; |
34 | 34 |
35 inline ProcessType SlaveProcessDelegate::GetType() const { | 35 inline ProcessType SlaveProcessDelegate::GetType() const { |
36 return ProcessType::SLAVE; | 36 return ProcessType::SLAVE; |
37 } | 37 } |
38 | 38 |
39 } // namespace embedder | 39 } // namespace embedder |
40 } // namespace mojo | 40 } // namespace mojo |
41 | 41 |
42 #endif // MOJO_EDK_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ | 42 #endif // THIRD_PARTY_MOJO_SRC_MOJO_EDK_EMBEDDER_SLAVE_PROCESS_DELEGATE_H_ |
OLD | NEW |