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

Unified Diff: mojo/shell/fetcher/about_fetcher_unittest.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.cc ('k') | mojo/shell/native_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/fetcher/about_fetcher_unittest.cc
diff --git a/mojo/shell/fetcher/about_fetcher_unittest.cc b/mojo/shell/fetcher/about_fetcher_unittest.cc
index b9e60462f769d731e17ec9526064f9f01c5a3afc..ba7714a05d83ac357dd609ebc33acc1c3c30df08 100644
--- a/mojo/shell/fetcher/about_fetcher_unittest.cc
+++ b/mojo/shell/fetcher/about_fetcher_unittest.cc
@@ -18,9 +18,9 @@
#include "mojo/shell/application_loader.h"
#include "mojo/shell/application_manager.h"
#include "mojo/shell/package_manager/package_manager_impl.h"
-#include "mojo/shell/public/cpp/application_impl.h"
#include "mojo/shell/public/cpp/interface_factory.h"
#include "mojo/shell/public/cpp/shell_client.h"
+#include "mojo/shell/public/cpp/shell_connection.h"
#include "mojo/shell/public/interfaces/content_handler.mojom.h"
#include "mojo/util/filename_util.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -55,7 +55,7 @@ class TestContentHandler : public ShellClient,
// Overridden from mojom::ContentHandler:
void StartApplication(
- InterfaceRequest<mojom::Application> application,
+ InterfaceRequest<mojom::ShellClient> request,
URLResponsePtr response,
const Callback<void()>& destruct_callback) override {
response_number_++;
@@ -84,12 +84,12 @@ class TestLoader : public ApplicationLoader {
private:
// Overridden from ApplicationLoader:
void Load(const GURL& url,
- InterfaceRequest<mojom::Application> request) override {
- app_.reset(new ApplicationImpl(delegate_, std::move(request)));
+ InterfaceRequest<mojom::ShellClient> request) override {
+ app_.reset(new ShellConnection(delegate_, std::move(request)));
}
ShellClient* delegate_;
- scoped_ptr<ApplicationImpl> app_;
+ scoped_ptr<ShellConnection> app_;
DISALLOW_COPY_AND_ASSIGN(TestLoader);
};
« no previous file with comments | « mojo/shell/capability_filter_test.cc ('k') | mojo/shell/native_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698