Index: services/authentication/src/org/chromium/mojo/authentication/AuthenticationApplicationDelegate.java |
diff --git a/services/authentication/src/org/chromium/mojo/authentication/AuthenticationApp.java b/services/authentication/src/org/chromium/mojo/authentication/AuthenticationApplicationDelegate.java |
similarity index 81% |
rename from services/authentication/src/org/chromium/mojo/authentication/AuthenticationApp.java |
rename to services/authentication/src/org/chromium/mojo/authentication/AuthenticationApplicationDelegate.java |
index 3ae0dabae5b07639eb768e03fcda788898275272..a886bf108b459baa52ed8ccc20725a709c6cc4df 100644 |
--- a/services/authentication/src/org/chromium/mojo/authentication/AuthenticationApp.java |
+++ b/services/authentication/src/org/chromium/mojo/authentication/AuthenticationApplicationDelegate.java |
@@ -8,22 +8,20 @@ import android.content.Context; |
import org.chromium.mojo.application.ApplicationConnection; |
import org.chromium.mojo.application.ApplicationDelegate; |
-import org.chromium.mojo.application.ApplicationRunner; |
import org.chromium.mojo.application.ServiceFactoryBinder; |
import org.chromium.mojo.bindings.InterfaceRequest; |
import org.chromium.mojo.system.Core; |
-import org.chromium.mojo.system.MessagePipeHandle; |
import org.chromium.mojom.mojo.Shell; |
/** |
* Android service application implementing the AuthenticationService interface. |
*/ |
-public class AuthenticationApp implements ApplicationDelegate { |
+public class AuthenticationApplicationDelegate implements ApplicationDelegate { |
private final Context mContext; |
private final Core mCore; |
private Shell mShell; |
- public AuthenticationApp(Context context, Core core) { |
+ public AuthenticationApplicationDelegate(Context context, Core core) { |
mContext = context; |
mCore = core; |
} |
@@ -64,9 +62,4 @@ public class AuthenticationApp implements ApplicationDelegate { |
*/ |
@Override |
public void quit() {} |
- |
- public static void mojoMain( |
- Context context, Core core, MessagePipeHandle applicationRequestHandle) { |
- ApplicationRunner.run(new AuthenticationApp(context, core), core, applicationRequestHandle); |
- } |
} |