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

Unified Diff: services/shell/native_runner.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months 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
« no previous file with comments | « services/shell/manifest.json ('k') | services/shell/native_runner_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/native_runner.h
diff --git a/services/shell/native_runner.h b/services/shell/native_runner.h
deleted file mode 100644
index 20d0a841e85798d43b2648c20b6cf0c5b34dfcee..0000000000000000000000000000000000000000
--- a/services/shell/native_runner.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SERVICES_SHELL_NATIVE_RUNNER_H_
-#define SERVICES_SHELL_NATIVE_RUNNER_H_
-
-#include <memory>
-
-#include "base/callback_forward.h"
-#include "base/process/process_handle.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
-#include "services/shell/public/interfaces/service.mojom.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace shell {
-class Identity;
-
-// Shell requires implementations of NativeRunner and NativeRunnerFactory to run
-// native applications.
-class NativeRunner {
- public:
- virtual ~NativeRunner() {}
-
- // Loads the app in the file at |app_path| and runs it on some other
- // thread/process. Returns a Service handle the shell can use to connect
- // to the the app.
- virtual mojom::ServicePtr Start(
- const base::FilePath& app_path,
- const Identity& target,
- bool start_sandboxed,
- const base::Callback<void(base::ProcessId)>& pid_available_callback,
- const base::Closure& app_completed_callback) = 0;
-};
-
-class NativeRunnerFactory {
- public:
- virtual ~NativeRunnerFactory() {}
- virtual std::unique_ptr<NativeRunner> Create(
- const base::FilePath& app_path) = 0;
-};
-
-} // namespace shell
-
-#endif // SERVICES_SHELL_NATIVE_RUNNER_H_
« no previous file with comments | « services/shell/manifest.json ('k') | services/shell/native_runner_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698