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

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
« no previous file with comments | « no previous file | components/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/bitmap_uploader/bitmap_uploader.cc
diff --git a/components/bitmap_uploader/bitmap_uploader.cc b/components/bitmap_uploader/bitmap_uploader.cc
index f618763abe66c0b81101d9936d76e1fa75f3927e..4c6c992d51d71c2132f1e5b3178b34e7a892a3f3 100644
--- a/components/bitmap_uploader/bitmap_uploader.cc
+++ b/components/bitmap_uploader/bitmap_uploader.cc
@@ -30,7 +30,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/font_service/public/cpp/font_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698