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

Unified Diff: services/shell/runner/host/out_of_process_native_runner.cc

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 | « services/shell/runner/host/out_of_process_native_runner.h ('k') | services/shell/runner/init.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/runner/host/out_of_process_native_runner.cc
diff --git a/services/shell/runner/host/out_of_process_native_runner.cc b/services/shell/runner/host/out_of_process_native_runner.cc
index 95196f647e034b726db907da1b81f348e9fc2d41..eeeb234256b3c411b18c4d25d60ddcada08f62c9 100644
--- a/services/shell/runner/host/out_of_process_native_runner.cc
+++ b/services/shell/runner/host/out_of_process_native_runner.cc
@@ -12,12 +12,12 @@
#include "base/callback_helpers.h"
#include "base/files/file_util.h"
#include "base/logging.h"
+#include "base/memory/ptr_util.h"
#include "base/task_runner.h"
#include "services/shell/runner/common/client_util.h"
#include "services/shell/runner/host/child_process_host.h"
#include "services/shell/runner/host/in_process_native_runner.h"
-namespace mojo {
namespace shell {
OutOfProcessNativeRunner::OutOfProcessNativeRunner(
@@ -66,11 +66,10 @@ OutOfProcessNativeRunnerFactory::OutOfProcessNativeRunnerFactory(
: launch_process_runner_(launch_process_runner), delegate_(delegate) {}
OutOfProcessNativeRunnerFactory::~OutOfProcessNativeRunnerFactory() {}
-scoped_ptr<shell::NativeRunner> OutOfProcessNativeRunnerFactory::Create(
+std::unique_ptr<NativeRunner> OutOfProcessNativeRunnerFactory::Create(
const base::FilePath& app_path) {
- return make_scoped_ptr(
+ return base::WrapUnique(
new OutOfProcessNativeRunner(launch_process_runner_, delegate_));
}
} // namespace shell
-} // namespace mojo
« no previous file with comments | « services/shell/runner/host/out_of_process_native_runner.h ('k') | services/shell/runner/init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698