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

Unified Diff: ui/views/mus/surface_binding.cc

Issue 1578473002: Pass application ids via AcceptConnection & ConnectToApplication callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 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: ui/views/mus/surface_binding.cc
diff --git a/ui/views/mus/surface_binding.cc b/ui/views/mus/surface_binding.cc
index ed4aedff43680a988242a98116e3c18de5723279..f3a6046621ba1a5c7eb248d625f6168aaa2cc127 100644
--- a/ui/views/mus/surface_binding.cc
+++ b/ui/views/mus/surface_binding.cc
@@ -33,7 +33,7 @@
namespace views {
namespace {
-void OnGotContentHandlerID(uint32_t content_handler_id) {}
+void OnGotRemoteIDs(uint32_t remote_id, uint32_t content_handler_id) {}
} // namespace
// PerConnectionState ----------------------------------------------------------
@@ -135,7 +135,7 @@ void SurfaceBinding::PerConnectionState::Init() {
shell_->ConnectToApplication(std::move(request), GetProxy(&service_provider),
nullptr,
mojo::CreatePermissiveCapabilityFilter(),
- base::Bind(&OnGotContentHandlerID));
+ base::Bind(&OnGotRemoteIDs));
ConnectToService(service_provider.get(), &gpu_);
}
« mojo/shell/public/interfaces/application.mojom ('K') | « mojo/shell/public/interfaces/shell.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698