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

Unified Diff: mojo/runner/in_process_native_runner.cc

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/in_process_native_runner.h ('k') | mojo/runner/in_process_native_runner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/in_process_native_runner.cc
diff --git a/mojo/runner/in_process_native_runner.cc b/mojo/runner/in_process_native_runner.cc
index ce09f5b2397de716715959ed016a32984c9d86fa..c37e31ddd2029a841baf877496360889dfa5af55 100644
--- a/mojo/runner/in_process_native_runner.cc
+++ b/mojo/runner/in_process_native_runner.cc
@@ -12,10 +12,11 @@
#include "mojo/runner/native_application_support.h"
namespace mojo {
-namespace shell {
+namespace runner {
InProcessNativeRunner::InProcessNativeRunner(Context* context)
- : cleanup_(NativeApplicationCleanup::DONT_DELETE), app_library_(nullptr) {
+ : cleanup_(shell::NativeApplicationCleanup::DONT_DELETE),
+ app_library_(nullptr) {
}
InProcessNativeRunner::~InProcessNativeRunner() {
@@ -31,7 +32,7 @@ InProcessNativeRunner::~InProcessNativeRunner() {
void InProcessNativeRunner::Start(
const base::FilePath& app_path,
- NativeApplicationCleanup cleanup,
+ shell::NativeApplicationCleanup cleanup,
InterfaceRequest<Application> application_request,
const base::Closure& app_completed_callback) {
app_path_ = app_path;
@@ -63,10 +64,10 @@ void InProcessNativeRunner::Run() {
app_completed_callback_runner_.Reset();
}
-scoped_ptr<NativeRunner> InProcessNativeRunnerFactory::Create(
+scoped_ptr<shell::NativeRunner> InProcessNativeRunnerFactory::Create(
const Options& options) {
return make_scoped_ptr(new InProcessNativeRunner(context_));
}
-} // namespace shell
+} // namespace runner
} // namespace mojo
« no previous file with comments | « mojo/runner/in_process_native_runner.h ('k') | mojo/runner/in_process_native_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698