OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SIMPLE_PLATFORM_SUPPORT_H_ | 5 #ifndef MOJO_EDK_EMBEDDER_SIMPLE_PLATFORM_SUPPORT_H_ |
6 #define MOJO_EDK_EMBEDDER_SIMPLE_PLATFORM_SUPPORT_H_ | 6 #define MOJO_EDK_EMBEDDER_SIMPLE_PLATFORM_SUPPORT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "mojo/edk/embedder/platform_support.h" | 10 #include "mojo/edk/embedder/platform_support.h" |
9 #include "mojo/edk/system/system_impl_export.h" | 11 #include "mojo/edk/system/system_impl_export.h" |
10 #include "mojo/public/cpp/system/macros.h" | 12 #include "mojo/public/cpp/system/macros.h" |
11 | 13 |
12 namespace mojo { | 14 namespace mojo { |
13 namespace edk { | 15 namespace edk { |
14 | 16 |
15 // A simple implementation of |PlatformSupport|, when sandboxing and | 17 // A simple implementation of |PlatformSupport|, when sandboxing and |
16 // multiprocess support are not issues (e.g., in most tests). Note: This class | 18 // multiprocess support are not issues (e.g., in most tests). Note: This class |
17 // has no state, and different instances of |SimplePlatformSupport| are mutually | 19 // has no state, and different instances of |SimplePlatformSupport| are mutually |
(...skipping 12 matching lines...) Expand all Loading... |
30 ScopedPlatformHandle platform_handle) override; | 32 ScopedPlatformHandle platform_handle) override; |
31 | 33 |
32 private: | 34 private: |
33 MOJO_DISALLOW_COPY_AND_ASSIGN(SimplePlatformSupport); | 35 MOJO_DISALLOW_COPY_AND_ASSIGN(SimplePlatformSupport); |
34 }; | 36 }; |
35 | 37 |
36 } // namespace edk | 38 } // namespace edk |
37 } // namespace mojo | 39 } // namespace mojo |
38 | 40 |
39 #endif // MOJO_EDK_EMBEDDER_SIMPLE_PLATFORM_SUPPORT_H_ | 41 #endif // MOJO_EDK_EMBEDDER_SIMPLE_PLATFORM_SUPPORT_H_ |
OLD | NEW |