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

Unified Diff: components/mus/android_loader.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
« no previous file with comments | « components/mus/android_loader.h ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/android_loader.cc
diff --git a/components/mus/android_loader.cc b/components/mus/android_loader.cc
index eeaddf43faad8c1dc2edfc47ff10161e7dd1d704..0e9e5d8793d1d9716a2b776ddd59ee21285ba15d 100644
--- a/components/mus/android_loader.cc
+++ b/components/mus/android_loader.cc
@@ -5,7 +5,7 @@
#include "components/mus/android_loader.h"
#include "components/mus/mus_app.h"
-#include "mojo/shell/public/cpp/application_impl.h"
+#include "mojo/shell/public/cpp/shell_connection.h"
namespace mus {
@@ -14,9 +14,9 @@ AndroidLoader::~AndroidLoader() {}
void AndroidLoader::Load(
const GURL& url,
- mojo::InterfaceRequest<mojo::shell::mojom::Application> request) {
+ mojo::InterfaceRequest<mojo::shell::mojom::ShellClient> request) {
DCHECK(request.is_pending());
- app_.reset(new mojo::ApplicationImpl(new MandolineUIServicesApp,
+ app_.reset(new mojo::ShellConnection(new MandolineUIServicesApp,
std::move(request)));
}
« no previous file with comments | « components/mus/android_loader.h ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698