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

Unified Diff: mojo/shell/application_package_apptest.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/application_manager_unittest.cc ('k') | mojo/shell/background/background_shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_package_apptest.cc
diff --git a/mojo/shell/application_package_apptest.cc b/mojo/shell/application_package_apptest.cc
index 3d19daf712b7c4ef82242bd275c52f646786118d..7ccf0baf423cee7701f5fcce2d091d72721dcc1d 100644
--- a/mojo/shell/application_package_apptest.cc
+++ b/mojo/shell/application_package_apptest.cc
@@ -36,7 +36,7 @@ class ProvidedApplicationDelegate
public base::SimpleThread {
public:
ProvidedApplicationDelegate(const std::string& name,
- InterfaceRequest<mojom::Application> request,
+ InterfaceRequest<mojom::ShellClient> request,
const Callback<void()>& destruct_callback)
: base::SimpleThread(name),
name_(name),
@@ -78,7 +78,7 @@ class ProvidedApplicationDelegate
}
const std::string name_;
- InterfaceRequest<mojom::Application> request_;
+ InterfaceRequest<mojom::ShellClient> request_;
const Callback<void()> destruct_callback_;
WeakBindingSet<test::mojom::ApplicationPackageApptestService> bindings_;
@@ -118,7 +118,7 @@ class ApplicationPackageApptestDelegate
}
// mojom::ContentHandler:
- void StartApplication(InterfaceRequest<mojom::Application> request,
+ void StartApplication(InterfaceRequest<mojom::ShellClient> request,
URLResponsePtr response,
const Callback<void()>& destruct_callback) override {
const std::string url = response->url;
« no previous file with comments | « mojo/shell/application_manager_unittest.cc ('k') | mojo/shell/background/background_shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698