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

Unified Diff: content/common/mojo/embedded_application_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 | « content/common/application_setup.mojom ('k') | content/common/mojo/embedded_application_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/embedded_application_runner.h
diff --git a/content/common/mojo/embedded_application_runner.h b/content/common/mojo/embedded_application_runner.h
index 8c5aa8552be9e139f4b020cb4f2438489f6f6e19..37b45897b9eb159ff82741b1e9b9c5d908f00fcb 100644
--- a/content/common/mojo/embedded_application_runner.h
+++ b/content/common/mojo/embedded_application_runner.h
@@ -24,8 +24,7 @@ namespace content {
// EmbeddedApplicationRunner instance.
class EmbeddedApplicationRunner {
public:
- using FactoryCallback =
- base::Callback<std::unique_ptr<mojo::ShellClient>()>;
+ using FactoryCallback = base::Callback<std::unique_ptr<shell::ShellClient>()>;
// Constructs a runner which hosts the application on |task_runner|'s thread.
// If an existing instance of the app is not running when an incoming
@@ -40,13 +39,14 @@ class EmbeddedApplicationRunner {
// Binds an incoming ShellClientRequest for this application. If the
// application isn't already running, it's started. Otherwise the request is
// bound to the running instance.
- void BindShellClientRequest(mojo::shell::mojom::ShellClientRequest request);
+ void BindShellClientRequest(shell::mojom::ShellClientRequest request);
private:
class Instance;
// The TaskRunner on which the factory callback will be run. The
- // mojo::ShellClient it returns will live and die on this TaskRunner's thread.
+ // shell::ShellClient it returns will live and die on this TaskRunner's
+ // thread.
const scoped_refptr<base::SingleThreadTaskRunner> application_task_runner_;
// A reference to the application instance which may operate on the
« no previous file with comments | « content/common/application_setup.mojom ('k') | content/common/mojo/embedded_application_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698