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

Unified Diff: mojo/shell/capability_filter_test.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/capability_filter_test.h ('k') | mojo/shell/fetcher/about_fetcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/capability_filter_test.cc
diff --git a/mojo/shell/capability_filter_test.cc b/mojo/shell/capability_filter_test.cc
index f7edd90c37e100395aeffb02f20575e599bca9c9..c626a48c8d41043778316c9b6563767e02966aa3 100644
--- a/mojo/shell/capability_filter_test.cc
+++ b/mojo/shell/capability_filter_test.cc
@@ -13,9 +13,9 @@
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/shell/application_loader.h"
#include "mojo/shell/package_manager.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/connection.h"
#include "mojo/shell/public/cpp/interface_factory.h"
+#include "mojo/shell/public/cpp/shell_connection.h"
namespace mojo {
namespace shell {
@@ -50,8 +50,8 @@ class ConnectionValidator : public ApplicationLoader,
private:
// Overridden from ApplicationLoader:
void Load(const GURL& url,
- InterfaceRequest<mojom::Application> request) override {
- app_.reset(new ApplicationImpl(this, std::move(request)));
+ InterfaceRequest<mojom::ShellClient> request) override {
+ app_.reset(new ShellConnection(this, std::move(request)));
}
// Overridden from ShellClient:
@@ -94,7 +94,7 @@ class ConnectionValidator : public ApplicationLoader,
}
}
- scoped_ptr<ApplicationImpl> app_;
+ scoped_ptr<ShellConnection> app_;
std::set<std::string> expectations_;
std::set<std::string> unexpected_;
base::MessageLoop* loop_;
@@ -194,8 +194,8 @@ TestLoader::TestLoader(ShellClient* delegate) : delegate_(delegate) {}
TestLoader::~TestLoader() {}
void TestLoader::Load(const GURL& url,
- InterfaceRequest<mojom::Application> request) {
- app_.reset(new ApplicationImpl(delegate_.get(), std::move(request)));
+ InterfaceRequest<mojom::ShellClient> request) {
+ app_.reset(new ShellConnection(delegate_.get(), std::move(request)));
}
////////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « mojo/shell/capability_filter_test.h ('k') | mojo/shell/fetcher/about_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698