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

Unified Diff: mojo/shell/shell_application_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 | « mojo/shell/shell_application_loader.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/shell_application_loader.cc
diff --git a/mojo/shell/shell_application_loader.cc b/mojo/shell/shell_application_loader.cc
index e648295cf9cc54d41c73c320eccd2bd36861b576..7b55a8dd11e33eff3a53829e73be55a4111d73b9 100644
--- a/mojo/shell/shell_application_loader.cc
+++ b/mojo/shell/shell_application_loader.cc
@@ -6,7 +6,7 @@
#include <utility>
-#include "mojo/shell/public/cpp/application_impl.h"
+#include "mojo/shell/public/cpp/shell_connection.h"
#include "mojo/shell/shell_application_delegate.h"
namespace mojo {
@@ -18,10 +18,10 @@ ShellApplicationLoader::~ShellApplicationLoader() {}
void ShellApplicationLoader::Load(
const GURL& url,
- InterfaceRequest<mojom::Application> application_request) {
- DCHECK(application_request.is_pending());
- app_.reset(new ApplicationImpl(new ShellApplicationDelegate(manager_),
- std::move(application_request)));
+ InterfaceRequest<mojom::ShellClient> request) {
+ DCHECK(request.is_pending());
+ shell_connection_.reset(new ShellConnection(
+ new ShellApplicationDelegate(manager_), std::move(request)));
}
} // namespace shell
« no previous file with comments | « mojo/shell/shell_application_loader.h ('k') | mojo/shell/standalone/android/android_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698