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

Unified Diff: shell/dynamic_service_runner.h

Issue 1046013002: Split LoadAndRunNativeApplication() ... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh Created 5 years, 9 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 | « shell/application_manager/native_runner.h ('k') | shell/dynamic_service_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/dynamic_service_runner.h
diff --git a/shell/dynamic_service_runner.h b/shell/dynamic_service_runner.h
deleted file mode 100644
index 941152b919b43b182943418914972703fc84ca53..0000000000000000000000000000000000000000
--- a/shell/dynamic_service_runner.h
+++ /dev/null
@@ -1,34 +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 SHELL_DYNAMIC_SERVICE_RUNNER_H_
-#define SHELL_DYNAMIC_SERVICE_RUNNER_H_
-
-#include "base/native_library.h"
-#include "mojo/public/cpp/bindings/interface_request.h"
-#include "shell/application_manager/application_manager.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace mojo {
-class Application;
-
-namespace shell {
-
-// Loads the service in the DSO specificed by |app_path| and prepares it for
-// execution. Runs the DSO's exported function MojoMain().
-// The NativeLibrary is returned and ownership transferred to the caller.
-// This is so if it is unloaded at all, this can be done safely after this
-// thread is destroyed and any thread-local destructors have been executed.
-base::NativeLibrary LoadAndRunNativeApplication(
- const base::FilePath& app_path,
- NativeRunner::CleanupBehavior cleanup_behavior,
- InterfaceRequest<Application> application_request);
-
-} // namespace shell
-} // namespace mojo
-
-#endif // SHELL_DYNAMIC_SERVICE_RUNNER_H_
« no previous file with comments | « shell/application_manager/native_runner.h ('k') | shell/dynamic_service_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698