Index: services/shell/runner/host/native_application_support.h |
diff --git a/services/shell/runner/host/native_application_support.h b/services/shell/runner/host/native_application_support.h |
deleted file mode 100644 |
index f1ac8578e1c9316811ff1a0f02598fa3f7ae377f..0000000000000000000000000000000000000000 |
--- a/services/shell/runner/host/native_application_support.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_APPLICATION_SUPPORT_H_ |
-#define SERVICES_SHELL_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_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 Mojo application from the DSO specified by |app_path|. |
-// Returns the |base::NativeLibrary| for the application 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 |LoadNativeApplication()| |
-// and |RunNativeApplication()| were called has terminated, so that any |
-// thread-local destructors have been executed. |
-base::NativeLibrary LoadNativeApplication(const base::FilePath& app_path); |
- |
-// Runs the native Mojo application from the DSO that was loaded using |
-// |LoadNativeApplication()|; this tolerates |app_library| being null. This |
-// should be called on the same thread as |LoadNativeApplication()|. Returns |
-// true if |ServiceMain()| was called (even if it returns an error), and false |
-// otherwise. |
-bool RunNativeApplication(base::NativeLibrary app_library, |
- mojom::ServiceRequest request); |
- |
-} // namespace shell |
- |
-#endif // SERVICES_SHELL_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_ |