service_process_launcher_factory.h 726 B

12345678910111213141516171819202122232425
  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
  3. // found in the LICENSE file.
  4. #ifndef SERVICES_SERVICE_MANAGER_SERVICE_PROCESS_LAUNCHER_FACTORY_H_
  5. #define SERVICES_SERVICE_MANAGER_SERVICE_PROCESS_LAUNCHER_FACTORY_H_
  6. #include <memory>
  7. #include "base/files/file_path.h"
  8. namespace service_manager {
  9. class ServiceProcessLauncher;
  10. class ServiceProcessLauncherFactory {
  11. public:
  12. virtual ~ServiceProcessLauncherFactory() {}
  13. virtual std::unique_ptr<ServiceProcessLauncher> Create(
  14. const base::FilePath& service_path) = 0;
  15. };
  16. } // namespace service_manager
  17. #endif // SERVICES_SERVICE_MANAGER_SERVICE_PROCESS_LAUNCHER_FACTORY_H_