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

Unified Diff: device/devices_app/devices_app.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 | « device/devices_app/devices_app.h ('k') | device/devices_app/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/devices_app.cc
diff --git a/device/devices_app/devices_app.cc b/device/devices_app/devices_app.cc
index 29a7484b821f26b5af800b653c5be248a69daee7..a34064404fa3040b6cfc6a5367b3f25add213a56 100644
--- a/device/devices_app/devices_app.cc
+++ b/device/devices_app/devices_app.cc
@@ -18,7 +18,7 @@
#include "device/devices_app/usb/device_manager_impl.h"
#include "device/usb/usb_service.h"
#include "mojo/public/cpp/bindings/interface_request.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"
@@ -88,7 +88,7 @@ void DevicesApp::Initialize(mojo::Shell* shell,
StartIdleTimer();
}
-bool DevicesApp::AcceptConnection(mojo::ApplicationConnection* connection) {
+bool DevicesApp::AcceptConnection(mojo::Connection* connection) {
connection->AddService<usb::DeviceManager>(this);
return true;
}
@@ -98,7 +98,7 @@ void DevicesApp::Quit() {
shell_ = nullptr;
}
-void DevicesApp::Create(mojo::ApplicationConnection* connection,
+void DevicesApp::Create(mojo::Connection* connection,
mojo::InterfaceRequest<usb::DeviceManager> request) {
// Bind the new device manager to the connecting application's permission
// provider.
« no previous file with comments | « device/devices_app/devices_app.h ('k') | device/devices_app/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698