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

Unified Diff: components/html_viewer/media_factory.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/font_service/public/cpp/font_loader.cc ('k') | components/web_view/frame_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/media_factory.cc
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc
index dda9427c9fa1a4c593603a7086ed63a8093483af..74708b16ec57403087b57bf494a9463623e0c85e 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -50,7 +50,7 @@ bool AreSecureCodecsSupported() {
return false;
}
-void OnGotContentHandlerID(uint32_t content_handler_id) {}
+void OnGotRemoteIDs(uint32_t remote_id, uint32_t content_handler_id) {}
} // namespace
@@ -135,7 +135,7 @@ media::interfaces::ServiceFactory* MediaFactory::GetMediaServiceFactory() {
request->url = mojo::String::From("mojo:media");
shell_->ConnectToApplication(std::move(request),
GetProxy(&service_provider), nullptr, nullptr,
- base::Bind(&OnGotContentHandlerID));
+ base::Bind(&OnGotRemoteIDs));
mojo::ConnectToService(service_provider.get(), &media_service_factory_);
}
« no previous file with comments | « components/font_service/public/cpp/font_loader.cc ('k') | components/web_view/frame_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698