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

Unified Diff: components/html_viewer/media_factory.cc

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke comment Created 5 years, 4 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/pdf_viewer/pdf_viewer.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 ebae2524738fac421e35ec38415455f870c7d16e..260df923657f7b982f960f5f3ee30929eaf0caba 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -44,6 +44,8 @@ bool AreSecureCodecsSupported() {
return false;
}
+void OnGotContentHandlerID(uint32_t content_handler_id) {}
+
} // namespace
MediaFactory::MediaFactory(
@@ -120,7 +122,8 @@ media::interfaces::ServiceFactory* MediaFactory::GetMediaServiceFactory() {
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From("mojo:media");
shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider),
- nullptr, nullptr);
+ nullptr, nullptr,
+ base::Bind(&OnGotContentHandlerID));
mojo::ConnectToService(service_provider.get(), &media_service_factory_);
}
« no previous file with comments | « components/font_service/public/cpp/font_loader.cc ('k') | components/pdf_viewer/pdf_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698