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

Unified Diff: mojo/runner/out_of_process_native_runner.h

Issue 1107233002: Move runner stuff into a runner namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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/runner/native_runner_unittest.cc ('k') | mojo/runner/out_of_process_native_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/out_of_process_native_runner.h
diff --git a/mojo/runner/out_of_process_native_runner.h b/mojo/runner/out_of_process_native_runner.h
index 323e87248d2760fde41be4781cf25c5ac257575a..d126c36ad4e633ab1e2475a5abf272aca74ea80d 100644
--- a/mojo/runner/out_of_process_native_runner.h
+++ b/mojo/runner/out_of_process_native_runner.h
@@ -13,21 +13,21 @@
#include "mojo/shell/native_runner.h"
namespace mojo {
-namespace shell {
+namespace runner {
class ChildProcessHost;
class Context;
// An implementation of |NativeRunner| that loads/runs the given app (from the
// file system) in a separate process (of its own).
-class OutOfProcessNativeRunner : public NativeRunner {
+class OutOfProcessNativeRunner : public shell::NativeRunner {
public:
explicit OutOfProcessNativeRunner(Context* context);
~OutOfProcessNativeRunner() override;
// |NativeRunner| method:
void Start(const base::FilePath& app_path,
- NativeApplicationCleanup cleanup,
+ shell::NativeApplicationCleanup cleanup,
InterfaceRequest<Application> application_request,
const base::Closure& app_completed_callback) override;
@@ -45,13 +45,13 @@ class OutOfProcessNativeRunner : public NativeRunner {
DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunner);
};
-class OutOfProcessNativeRunnerFactory : public NativeRunnerFactory {
+class OutOfProcessNativeRunnerFactory : public shell::NativeRunnerFactory {
public:
explicit OutOfProcessNativeRunnerFactory(Context* context)
: context_(context) {}
~OutOfProcessNativeRunnerFactory() override {}
- scoped_ptr<NativeRunner> Create(const Options& options) override;
+ scoped_ptr<shell::NativeRunner> Create(const Options& options) override;
private:
Context* const context_;
@@ -59,7 +59,7 @@ class OutOfProcessNativeRunnerFactory : public NativeRunnerFactory {
DISALLOW_COPY_AND_ASSIGN(OutOfProcessNativeRunnerFactory);
};
-} // namespace shell
+} // namespace runner
} // namespace mojo
#endif // MOJO_RUNNER_OUT_OF_PROCESS_NATIVE_RUNNER_H_
« no previous file with comments | « mojo/runner/native_runner_unittest.cc ('k') | mojo/runner/out_of_process_native_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698