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)); |
Ben Goodger (Google)
2015/08/31 17:41:07
mojo::Shell::ConnectToApplicationCallback()?
sky
2015/08/31 19:46:06
That would require this code linking with mojo_she
Ben Goodger (Google)
2015/08/31 23:10:28
You could put it in mojo/application/public/cpp...
|
mojo::ConnectToService(service_provider.get(), &media_service_factory_); |
} |