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

Unified Diff: mojo/shell/static_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/static_application_loader.h ('k') | mojo/shell/test_package_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/static_application_loader.cc
diff --git a/mojo/shell/static_application_loader.cc b/mojo/shell/static_application_loader.cc
index 7b510272d05041491af131369f9e4f310c4efa6e..a6920ffae7948aef23d905e45bd9e38fc72b01c6 100644
--- a/mojo/shell/static_application_loader.cc
+++ b/mojo/shell/static_application_loader.cc
@@ -15,7 +15,7 @@
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/shell/public/cpp/application_runner.h"
#include "mojo/shell/public/cpp/shell_client.h"
-#include "mojo/shell/public/interfaces/application.mojom.h"
+#include "mojo/shell/public/interfaces/shell_client.mojom.h"
namespace mojo {
namespace shell {
@@ -25,7 +25,7 @@ namespace {
class RunnerThread : public base::SimpleThread {
public:
RunnerThread(const GURL& url,
- InterfaceRequest<mojom::Application> request,
+ InterfaceRequest<mojom::ShellClient> request,
scoped_refptr<base::TaskRunner> exit_task_runner,
const base::Closure& exit_callback,
const StaticApplicationLoader::ApplicationFactory& factory)
@@ -44,7 +44,7 @@ class RunnerThread : public base::SimpleThread {
}
private:
- InterfaceRequest<mojom::Application> request_;
+ InterfaceRequest<mojom::ShellClient> request_;
scoped_refptr<base::TaskRunner> exit_task_runner_;
base::Closure exit_callback_;
StaticApplicationLoader::ApplicationFactory factory_;
@@ -72,7 +72,7 @@ StaticApplicationLoader::~StaticApplicationLoader() {
void StaticApplicationLoader::Load(
const GURL& url,
- InterfaceRequest<mojom::Application> request) {
+ InterfaceRequest<mojom::ShellClient> request) {
if (thread_)
return;
« no previous file with comments | « mojo/shell/static_application_loader.h ('k') | mojo/shell/test_package_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698