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

Unified Diff: mandoline/services/core_services/core_services_application_delegate.cc

Issue 1675153002: ApplicationImpl->ShellConnection, mojom::Application->mojom::ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ci2
Patch Set: . Created 4 years, 10 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
Index: mandoline/services/core_services/core_services_application_delegate.cc
diff --git a/mandoline/services/core_services/core_services_application_delegate.cc b/mandoline/services/core_services/core_services_application_delegate.cc
index f20b7df65589055303c2ae7b66dd551fa9d58f5a..4d7856ef8b62a742ec5791267009ff61851eb34d 100644
--- a/mandoline/services/core_services/core_services_application_delegate.cc
+++ b/mandoline/services/core_services/core_services_application_delegate.cc
@@ -25,7 +25,7 @@
namespace core_services {
-// A helper class for hosting a mojo::ApplicationImpl on its own thread.
+// A helper class for hosting a mojo::ShellConnection on its own thread.
class ApplicationThread : public base::SimpleThread {
public:
ApplicationThread(
@@ -33,7 +33,7 @@ class ApplicationThread : public base::SimpleThread {
core_services_application,
const std::string& url,
scoped_ptr<mojo::ShellClient> delegate,
- mojo::InterfaceRequest<mojo::shell::mojom::Application> request,
+ mojo::InterfaceRequest<mojo::shell::mojom::ShellClient> request,
const mojo::Callback<void()>& destruct_callback)
: base::SimpleThread(url),
core_services_application_(core_services_application),
@@ -73,7 +73,7 @@ class ApplicationThread : public base::SimpleThread {
core_services_application_task_runner_;
std::string url_;
scoped_ptr<mojo::ShellClient> delegate_;
- mojo::InterfaceRequest<mojo::shell::mojom::Application> request_;
+ mojo::InterfaceRequest<mojo::shell::mojom::ShellClient> request_;
mojo::Callback<void()> destruct_callback_;
DISALLOW_COPY_AND_ASSIGN(ApplicationThread);
@@ -124,7 +124,7 @@ void CoreServicesApplicationDelegate::Create(
}
void CoreServicesApplicationDelegate::StartApplication(
- mojo::InterfaceRequest<mojo::shell::mojom::Application> request,
+ mojo::InterfaceRequest<mojo::shell::mojom::ShellClient> request,
mojo::URLResponsePtr response,
const mojo::Callback<void()>& destruct_callback) {
const std::string url = response->url;
« no previous file with comments | « mandoline/services/core_services/core_services_application_delegate.h ('k') | mandoline/services/updater/updater_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698