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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java

Issue 2643713002: Port BatteryMonitor into Device Service (Closed)
Patch Set: Rebase 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 | « content/public/android/BUILD.gn ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
index 680e9d472fc272f3795a13c4bd3c9b48f29ff4b7..0591425b6e058ec63da721fe12efd7d33e58091f 100644
--- a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
@@ -14,8 +14,6 @@ import org.chromium.content.browser.shapedetection.FaceDetectionProviderImpl;
import org.chromium.content_public.browser.InterfaceRegistrar;
import org.chromium.content_public.browser.RenderFrameHost;
import org.chromium.content_public.browser.WebContents;
-import org.chromium.device.BatteryMonitor;
-import org.chromium.device.battery.BatteryMonitorFactory;
import org.chromium.device.mojom.VibrationManager;
import org.chromium.device.nfc.mojom.Nfc;
import org.chromium.device.vibration.VibrationManagerImpl;
@@ -74,8 +72,6 @@ class InterfaceRegistrarImpl {
InterfaceRegistry registry, final Context applicationContext) {
registry.addInterface(
VibrationManager.MANAGER, new VibrationManagerImpl.Factory(applicationContext));
- registry.addInterface(
- BatteryMonitor.MANAGER, new BatteryMonitorFactory(applicationContext));
registry.addInterface(FaceDetectionProvider.MANAGER,
new FaceDetectionProviderImpl.Factory(applicationContext));
registry.addInterface(AndroidOverlayProvider.MANAGER,
« no previous file with comments | « content/public/android/BUILD.gn ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698