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

Unified Diff: mojo/shell/native_runner.h

Issue 1344933002: Clean up some unused methods from ApplicationManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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/application_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/native_runner.h
diff --git a/mojo/shell/native_runner.h b/mojo/shell/native_runner.h
index 847908f22544422ac879fa557641d6eaf9224840..dd48cb343d70abf0933f538f229768c5a159675a 100644
--- a/mojo/shell/native_runner.h
+++ b/mojo/shell/native_runner.h
@@ -21,8 +21,6 @@ class FilePath;
namespace mojo {
namespace shell {
-enum class NativeApplicationCleanup { DELETE, DONT_DELETE };
-
// ApplicationManager requires implementations of NativeRunner and
// NativeRunnerFactory to run native applications.
class NativeRunner {
@@ -38,24 +36,14 @@ class NativeRunner {
// file to decide what kind of NativeRunner to make.
virtual void Start(const base::FilePath& app_path,
bool start_sandboxed,
- NativeApplicationCleanup cleanup,
InterfaceRequest<Application> application_request,
const base::Closure& app_completed_callback) = 0;
};
class NativeRunnerFactory {
public:
- // Options for running the native app. (This will contain, e.g., information
- // about the sandbox profile, etc.)
- struct Options {
- // Constructs with default options.
- Options() : force_in_process(false) {}
-
- bool force_in_process;
- };
-
virtual ~NativeRunnerFactory() {}
- virtual scoped_ptr<NativeRunner> Create(const Options& options) = 0;
+ virtual scoped_ptr<NativeRunner> Create() = 0;
};
} // namespace shell
« no previous file with comments | « mojo/shell/application_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698