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

Unified Diff: services/shell/runner/host/native_library_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/runner/host/mach_broker.cc ('k') | services/shell/runner/host/native_library_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/host/native_library_runner.h
diff --git a/services/shell/runner/host/native_library_runner.h b/services/shell/runner/host/native_library_runner.h
deleted file mode 100644
index 07ca2ac283a6f87de794975e5ba193165ee8067d..0000000000000000000000000000000000000000
--- a/services/shell/runner/host/native_library_runner.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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_RUNNER_HOST_NATIVE_LIBRARY_RUNNER_H_
-#define SERVICES_SHELL_RUNNER_HOST_NATIVE_LIBRARY_RUNNER_H_
-
-#include "base/native_library.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
-#include "services/shell/public/interfaces/service.mojom.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace shell {
-
-// Loads the native Service from the DSO specified by |app_path|.
-// Returns the |base::NativeLibrary| for the service on success (or null on
-// failure).
-//
-// Note: The caller may choose to eventually unload the returned DSO. If so,
-// this should be done only after the thread on which |LoadNativeLibrary()|
-// and |RunServiceInNativeLibrary()| were called has terminated, so that any
-// thread-local destructors have been executed.
-base::NativeLibrary LoadNativeLibrary(const base::FilePath& app_path);
-
-// Runs the native Service from the DSO that was loaded using
-// |LoadNativeLibrary()|; this tolerates |library| being null. This should be
-// called on the same thread as |LoadNativeLibrary()|. Returns true if
-// |ServiceMain()| was called (even if it returns an error), and false
-// otherwise.
-bool RunServiceInNativeLibrary(base::NativeLibrary library,
- mojom::ServiceRequest request);
-
-} // namespace shell
-
-#endif // SERVICES_SHELL_RUNNER_HOST_NATIVE_LIBRARY_RUNNER_H_
« no previous file with comments | « services/shell/runner/host/mach_broker.cc ('k') | services/shell/runner/host/native_library_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698