Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 63139feef696ecaa24f4b8f8e9b8afea9667c8f6..25b0981b8add729c72c965957f605cda04e14c78 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -2407,11 +2407,12 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() { |
device::GeolocationServiceContext* geolocation_service_context = |
delegate_ ? delegate_->GetGeolocationServiceContext() : NULL; |
- // The default (no-op) implementation of InstalledAppProvider. |
- // TODO(mgiuca): Implement the "real" one for Android in Java, and do not add |
- // the default one on that platform. |
+#if !defined(OS_ANDROID) |
+ // The default (no-op) implementation of InstalledAppProvider. On Android, the |
+ // real implementation is provided in Java. |
GetInterfaceRegistry()->AddInterface( |
base::Bind(&InstalledAppProviderImplDefault::Create)); |
+#endif // !defined(OS_ANDROID) |
if (geolocation_service_context) { |
// TODO(creis): Bind process ID here so that GeolocationServiceImpl |