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

Unified Diff: components/bitmap_uploader/bitmap_uploader.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: components/bitmap_uploader/bitmap_uploader.cc
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index aed09e2bf3b91cf5adfb2d68a7ffc11a6b216627..f3e81ff52128af36c3966164aebb0c895bd6df00 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -29,7 +29,7 @@ void LostContext(void*) {
// TODO(fsamuel): Figure out if there's something useful to do here.
}
-void OnGotContentHandlerID(uint32_t content_handler_id) {}
+void OnGotRemoteIDs(uint32_t remote_id, uint32_t content_handler_id) {}
} // namespace
@@ -61,7 +61,7 @@ void BitmapUploader::Init(mojo::Shell* shell) {
shell->ConnectToApplication(std::move(request2),
mojo::GetProxy(&gpu_service_provider), nullptr,
mojo::CreatePermissiveCapabilityFilter(),
- base::Bind(&OnGotContentHandlerID));
+ base::Bind(&OnGotRemoteIDs));
ConnectToService(gpu_service_provider.get(), &gpu_service_);
mus::mojom::CommandBufferPtr gles2_client;
« no previous file with comments | « no previous file | components/html_viewer/media_factory.cc » ('j') | mojo/shell/public/interfaces/application.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698