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

Unified Diff: components/devtools_service/devtools_service_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
« no previous file with comments | « components/devtools_service/devtools_service_delegate.h ('k') | components/filesystem/file_system_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/devtools_service/devtools_service_delegate.cc
diff --git a/components/devtools_service/devtools_service_delegate.cc b/components/devtools_service/devtools_service_delegate.cc
index 5382703394382a526db3ac52d209090d82085afb..d4384ccbbd0be78c796c769019c04e6bcf27ef26 100644
--- a/components/devtools_service/devtools_service_delegate.cc
+++ b/components/devtools_service/devtools_service_delegate.cc
@@ -10,7 +10,7 @@
#include "components/devtools_service/devtools_registry_impl.h"
#include "components/devtools_service/devtools_service.h"
#include "mojo/common/url_type_converters.h"
-#include "mojo/shell/public/cpp/application_connection.h"
+#include "mojo/shell/public/cpp/connection.h"
#include "mojo/shell/public/cpp/shell.h"
#include "url/gurl.h"
@@ -38,8 +38,7 @@ void DevToolsServiceDelegate::Initialize(mojo::Shell* shell,
service_.reset(new DevToolsService(shell));
}
-bool DevToolsServiceDelegate::AcceptConnection(
- mojo::ApplicationConnection* connection) {
+bool DevToolsServiceDelegate::AcceptConnection(mojo::Connection* connection) {
connection->AddService<DevToolsRegistry>(this);
// DevToolsCoordinator is a privileged interface and only allowed for the
@@ -54,13 +53,13 @@ void DevToolsServiceDelegate::Quit() {
}
void DevToolsServiceDelegate::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<DevToolsRegistry> request) {
service_->registry()->BindToRegistryRequest(std::move(request));
}
void DevToolsServiceDelegate::Create(
- mojo::ApplicationConnection* connection,
+ mojo::Connection* connection,
mojo::InterfaceRequest<DevToolsCoordinator> request) {
service_->BindToCoordinatorRequest(std::move(request));
}
« no previous file with comments | « components/devtools_service/devtools_service_delegate.h ('k') | components/filesystem/file_system_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698