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

Unified Diff: shell/application_manager/native_runner.h

Issue 1378303005: Do some plumbing. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review Created 5 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 | « shell/application_manager/native_application_options.h ('k') | shell/child_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/native_runner.h
diff --git a/shell/application_manager/native_runner.h b/shell/application_manager/native_runner.h
index e50bb084729b536ed9ac4b9a2bbd8a3f13c3d8ee..886bfc97f6230def76725ea6ace7a49c79d45a19 100644
--- a/shell/application_manager/native_runner.h
+++ b/shell/application_manager/native_runner.h
@@ -17,6 +17,8 @@ class FilePath;
namespace shell {
+struct NativeApplicationOptions;
+
// ApplicationManager requires implementations of NativeRunner and
// NativeRunnerFactory to run native applications.
class NativeRunner {
@@ -39,17 +41,9 @@ class NativeRunner {
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(
+ const NativeApplicationOptions& options) = 0;
};
} // namespace shell
« no previous file with comments | « shell/application_manager/native_application_options.h ('k') | shell/child_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698