Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1748)

Unified Diff: services/service_manager/runner/child/test_native_main.h

Issue 2476063002: Service Manager: Rework Service and ServiceContext lifetime (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/service_manager/runner/child/test_native_main.h
diff --git a/services/service_manager/runner/child/test_native_main.h b/services/service_manager/runner/child/test_native_main.h
index d9ff71ce47d8536f2deff3b35de5a00f36e3a11b..7148a960d5bf18e518b9d133e3902f07b548a2e8 100644
--- a/services/service_manager/runner/child/test_native_main.h
+++ b/services/service_manager/runner/child/test_native_main.h
@@ -5,11 +5,13 @@
#ifndef SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_
#define SERVICES_SERVICE_MANAGER_RUNNER_CHILD_TEST_NATIVE_MAIN_H_
+#include <memory>
+
namespace service_manager {
class Service;
-int TestNativeMain(Service* service);
+int TestNativeMain(std::unique_ptr<Service> service);
} // namespace service_manager
« no previous file with comments | « services/service_manager/public/cpp/service_test.h ('k') | services/service_manager/runner/child/test_native_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698