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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2762343003: Revert of Add Android implementation of navigator.getInstalledRelatedApps. (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e6ce0ed4fe82bd65327eced39c2c909ae05d2ecc..4d73732c949fd49f38fec6ac333519fa26e84b05 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -2345,12 +2345,11 @@
device::GeolocationServiceContext* geolocation_service_context =
delegate_ ? delegate_->GetGeolocationServiceContext() : NULL;
-#if !defined(OS_ANDROID)
- // The default (no-op) implementation of InstalledAppProvider. On Android, the
- // real implementation is provided in Java.
+ // 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.
GetInterfaceRegistry()->AddInterface(
base::Bind(&InstalledAppProviderImplDefault::Create));
-#endif // !defined(OS_ANDROID)
if (geolocation_service_context) {
// TODO(creis): Bind process ID here so that GeolocationServiceImpl
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698