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

Unified Diff: services/shell/native_runner.h

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/loader.h ('k') | services/shell/native_runner_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/native_runner.h
diff --git a/services/shell/native_runner.h b/services/shell/native_runner.h
index 58d5fa81e842bc3c99449c9c8a76895522c59d98..c81d2adf93cc16040b34af9eb834faf1eb09e81e 100644
--- a/services/shell/native_runner.h
+++ b/services/shell/native_runner.h
@@ -5,8 +5,9 @@
#ifndef SERVICES_SHELL_NATIVE_RUNNER_H_
#define SERVICES_SHELL_NATIVE_RUNNER_H_
+#include <memory>
+
#include "base/callback_forward.h"
-#include "base/memory/scoped_ptr.h"
#include "base/process/process_handle.h"
#include "mojo/public/cpp/bindings/interface_request.h"
#include "services/shell/public/interfaces/shell_client.mojom.h"
@@ -15,10 +16,8 @@ namespace base {
class FilePath;
}
-namespace mojo {
-class Identity;
namespace shell {
-
+class Identity;
// Shell requires implementations of NativeRunner and NativeRunnerFactory to run
// native applications.
@@ -40,10 +39,10 @@ class NativeRunner {
class NativeRunnerFactory {
public:
virtual ~NativeRunnerFactory() {}
- virtual scoped_ptr<NativeRunner> Create(const base::FilePath& app_path) = 0;
+ virtual std::unique_ptr<NativeRunner> Create(
+ const base::FilePath& app_path) = 0;
};
} // namespace shell
-} // namespace mojo
#endif // SERVICES_SHELL_NATIVE_RUNNER_H_
« no previous file with comments | « services/shell/loader.h ('k') | services/shell/native_runner_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698