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

Unified Diff: device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java

Issue 2374213002: Revert of Move registration of Java mojo interfaces to the new InterfaceRegistrar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@java-content-interface-registry
Patch Set: Created 4 years, 3 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 | « device/vibration/android/BUILD.gn ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java
diff --git a/device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java b/device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java
index ed186f106a2ff73e8152a896d0dd7bdb49853f68..de8f65405004fb49077d0e194905e13c80b57da4 100644
--- a/device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java
+++ b/device/vibration/android/java/src/org/chromium/device/vibration/VibrationManagerImpl.java
@@ -13,7 +13,6 @@
import org.chromium.base.VisibleForTesting;
import org.chromium.device.VibrationManager;
import org.chromium.mojo.system.MojoException;
-import org.chromium.services.shell.InterfaceFactory;
/**
* Android implementation of the vibration manager service defined in
@@ -92,19 +91,4 @@
if (mHasVibratePermission) sVibratorWrapper.cancel(mVibrator);
callback.call();
}
-
- /**
- * A factory for implementations of the VibrationManager interface.
- */
- public static class Factory implements InterfaceFactory<VibrationManager> {
- private Context mContext;
- public Factory(Context context) {
- mContext = context;
- }
-
- @Override
- public VibrationManager createImpl() {
- return new VibrationManagerImpl(mContext);
- }
- }
}
« no previous file with comments | « device/vibration/android/BUILD.gn ('k') | services/shell/public/cpp/interface_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698