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

Unified Diff: mojo/shell/package_manager/package_manager_impl.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 | « mojo/shell/package_manager/package_manager_impl.h ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/package_manager/package_manager_impl.cc
diff --git a/mojo/shell/package_manager/package_manager_impl.cc b/mojo/shell/package_manager/package_manager_impl.cc
index 6985381df5f3e4af275214268e7741eb0ef3608c..a639bc3dcca0572eadfcdad9e3448885b81489d3 100644
--- a/mojo/shell/package_manager/package_manager_impl.cc
+++ b/mojo/shell/package_manager/package_manager_impl.cc
@@ -181,7 +181,7 @@ uint32_t PackageManagerImpl::HandleWithContentHandler(
const Identity& source,
const GURL& target_url,
const CapabilityFilter& target_filter,
- InterfaceRequest<mojom::Application>* application_request) {
+ InterfaceRequest<mojom::ShellClient>* request) {
Identity content_handler_identity;
URLResponsePtr response;
if (ShouldHandleWithContentHandler(fetcher,
@@ -191,8 +191,7 @@ uint32_t PackageManagerImpl::HandleWithContentHandler(
&response)) {
ContentHandlerConnection* connection =
GetContentHandler(content_handler_identity, source);
- connection->StartApplication(std::move(*application_request),
- std::move(response));
+ connection->StartApplication(std::move(*request), std::move(response));
return connection->id();
}
return mojom::Shell::kInvalidApplicationID;
« no previous file with comments | « mojo/shell/package_manager/package_manager_impl.h ('k') | mojo/shell/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698