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

Unified Diff: components/font_service/public/cpp/font_loader.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 | « components/bitmap_uploader/bitmap_uploader.cc ('k') | components/html_viewer/media_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/font_service/public/cpp/font_loader.cc
diff --git a/components/font_service/public/cpp/font_loader.cc b/components/font_service/public/cpp/font_loader.cc
index e426bbbfa441a7dfe63e8c9b03f8a042f971f7a2..03b3d43d515318aaa1f711c17eef6fb76708ee19 100644
--- a/components/font_service/public/cpp/font_loader.cc
+++ b/components/font_service/public/cpp/font_loader.cc
@@ -15,7 +15,7 @@
namespace font_service {
namespace {
-void OnGotContentHandlerID(uint32_t content_handler_id) {}
+void OnGotRemoteIDs(uint32_t instance_id, uint32_t content_handler_id) {}
} // namespace
FontLoader::FontLoader(mojo::Shell* shell) {
@@ -26,7 +26,7 @@ FontLoader::FontLoader(mojo::Shell* shell) {
shell->ConnectToApplication(std::move(request),
GetProxy(&font_service_provider), nullptr,
mojo::CreatePermissiveCapabilityFilter(),
- base::Bind(&OnGotContentHandlerID));
+ base::Bind(&OnGotRemoteIDs));
mojo::ConnectToService(font_service_provider.get(), &font_service);
thread_ = new internal::FontServiceThread(std::move(font_service));
« no previous file with comments | « components/bitmap_uploader/bitmap_uploader.cc ('k') | components/html_viewer/media_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698