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 SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ | 5 #ifndef SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ |
6 #define SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ | 6 #define SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/application/application_test_base.h" | 9 #include "mojo/public/cpp/application/application_test_base.h" |
10 #include "mojo/services/native_support/public/interfaces/process.mojom.h" | 10 #include "mojo/services/native_support/interfaces/process.mojom.h" |
11 | 11 |
12 namespace native_support { | 12 namespace native_support { |
13 | 13 |
14 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h. | 14 // TODO(vtl): Stuff copied from mojo/public/cpp/bindings/lib/template_util.h. |
15 template <class T, T v> | 15 template <class T, T v> |
16 struct IntegralConstant { | 16 struct IntegralConstant { |
17 static const T value = v; | 17 static const T value = v; |
18 }; | 18 }; |
19 | 19 |
20 template <class T, T v> | 20 template <class T, T v> |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 private: | 91 private: |
92 ProcessPtr process_; | 92 ProcessPtr process_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(ProcessTestBase); | 94 DISALLOW_COPY_AND_ASSIGN(ProcessTestBase); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace native_support | 97 } // namespace native_support |
98 | 98 |
99 #endif // SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ | 99 #endif // SERVICES_NATIVE_SUPPORT_PROCESS_TEST_BASE_H_ |
OLD | NEW |