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

Unified Diff: components/web_view/test_runner/test_runner_application_delegate.cc

Issue 1675083002: Rename ApplicationDelegate to ShellClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
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
Index: components/web_view/test_runner/test_runner_application_delegate.cc
diff --git a/components/web_view/test_runner/test_runner_application_delegate.cc b/components/web_view/test_runner/test_runner_application_delegate.cc
index fc0f698353d73ccd3a84a660635102b05ca0edf3..e470cc38849d8e3b9323e25a0f07a5d30bee3a65 100644
--- a/components/web_view/test_runner/test_runner_application_delegate.cc
+++ b/components/web_view/test_runner/test_runner_application_delegate.cc
@@ -24,7 +24,7 @@
#include "components/test_runner/blink_test_platform_support.h"
#include "mojo/converters/geometry/geometry_type_converters.h"
#include "mojo/services/network/public/interfaces/url_loader.mojom.h"
-#include "mojo/shell/public/cpp/application_connection.h"
+#include "mojo/shell/public/cpp/connection.h"
#include "mojo/shell/public/cpp/shell.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
@@ -61,7 +61,7 @@ void TestRunnerApplicationDelegate::Terminate() {
}
////////////////////////////////////////////////////////////////////////////////
-// mojo::ApplicationDelegate implementation:
+// mojo::ShellClient implementation:
void TestRunnerApplicationDelegate::Initialize(mojo::Shell* shell,
const std::string& url,
@@ -74,7 +74,7 @@ void TestRunnerApplicationDelegate::Initialize(mojo::Shell* shell,
}
bool TestRunnerApplicationDelegate::AcceptConnection(
- mojo::ApplicationConnection* connection) {
+ mojo::Connection* connection) {
connection->AddService<web_view::LayoutTestRunner>(this);
return true;
}
@@ -158,7 +158,7 @@ void TestRunnerApplicationDelegate::TestFinished() {
// mojo::InterfaceFactory<LayoutTestRunner> implementation:
void TestRunnerApplicationDelegate::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<web_view::LayoutTestRunner> request) {
layout_test_runner_.AddBinding(this, std::move(request));
}

Powered by Google App Engine
This is Rietveld 408576698