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

Unified Diff: mojo/shell/runner/host/native_application_support.h

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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 | « mojo/shell/runner/host/mach_broker.cc ('k') | mojo/shell/runner/host/native_application_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/runner/host/native_application_support.h
diff --git a/mojo/shell/runner/host/native_application_support.h b/mojo/shell/runner/host/native_application_support.h
deleted file mode 100644
index d7ce8a28e06b0319cc24b38944b70e74d6fe77c5..0000000000000000000000000000000000000000
--- a/mojo/shell/runner/host/native_application_support.h
+++ /dev/null
@@ -1,41 +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 MOJO_SHELL_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_
-#define MOJO_SHELL_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_
-
-#include "base/native_library.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
-#include "mojo/shell/public/interfaces/shell_client.mojom.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace mojo {
-class Application;
-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 |MojoMain()| was called (even if it returns an error), and false
-// otherwise.
-bool RunNativeApplication(base::NativeLibrary app_library,
- InterfaceRequest<mojom::ShellClient> request);
-
-} // namespace shell
-} // namespace mojo
-
-#endif // MOJO_SHELL_RUNNER_HOST_NATIVE_APPLICATION_SUPPORT_H_
« no previous file with comments | « mojo/shell/runner/host/mach_broker.cc ('k') | mojo/shell/runner/host/native_application_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698