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

Unified Diff: shell/out_of_process_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/native_runner_unittest.cc ('k') | shell/out_of_process_native_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/out_of_process_native_runner.h
diff --git a/shell/out_of_process_native_runner.h b/shell/out_of_process_native_runner.h
index 176acb0778e6afb83323ff67502570fdd9cbf732..6808be2a59d526436ed8785ff7042b1b31d634bf 100644
--- a/shell/out_of_process_native_runner.h
+++ b/shell/out_of_process_native_runner.h
@@ -9,6 +9,7 @@
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
+#include "shell/application_manager/native_application_options.h"
#include "shell/application_manager/native_runner.h"
namespace shell {
@@ -20,7 +21,8 @@ class ChildProcessHost;
// file system) in a separate process (of its own).
class OutOfProcessNativeRunner : public NativeRunner {
public:
- explicit OutOfProcessNativeRunner(Context* context);
+ OutOfProcessNativeRunner(Context* context,
+ const NativeApplicationOptions& options);
~OutOfProcessNativeRunner() override;
// |NativeRunner| method:
@@ -33,6 +35,7 @@ class OutOfProcessNativeRunner : public NativeRunner {
void AppCompleted(int32_t result);
Context* const context_;
+ NativeApplicationOptions const options_;
base::FilePath app_path_;
base::Closure app_completed_callback_;
@@ -48,7 +51,8 @@ class OutOfProcessNativeRunnerFactory : public NativeRunnerFactory {
: context_(context) {}
~OutOfProcessNativeRunnerFactory() override {}
- scoped_ptr<NativeRunner> Create(const Options& options) override;
+ scoped_ptr<NativeRunner> Create(
+ const NativeApplicationOptions& options) override;
private:
Context* const context_;
« no previous file with comments | « shell/native_runner_unittest.cc ('k') | shell/out_of_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698