| 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_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ | 5 #ifndef SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ |
| 6 #define SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ | 6 #define SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 |
| 8 namespace service_manager { | 10 namespace service_manager { |
| 9 | 11 |
| 10 class Service; | 12 class Service; |
| 11 | 13 |
| 12 int TestNativeMain(Service* service); | 14 int TestNativeMain(std::unique_ptr<Service> service); |
| 13 | 15 |
| 14 } // namespace service_manager | 16 } // namespace service_manager |
| 15 | 17 |
| 16 #endif // SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ | 18 #endif // SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_ |
| OLD | NEW |