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

Unified Diff: mojo/public/java/application/src/org/chromium/mojo/application/ApplicationDelegate.java

Issue 2250183003: Make the fuchsia mojo/public repo the source of truth. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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
Index: mojo/public/java/application/src/org/chromium/mojo/application/ApplicationDelegate.java
diff --git a/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationDelegate.java b/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationDelegate.java
deleted file mode 100644
index 72b1c62b222653d9c7e3e9760866c21fc2dfffe7..0000000000000000000000000000000000000000
--- a/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationDelegate.java
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.mojo.application;
-
-import org.chromium.mojom.mojo.Shell;
-
-/**
- * Applications should implement this interface to control various behaviors of Mojo application
- * interface.
- */
-public interface ApplicationDelegate {
- /**
- * Called exactly once before any other method.
- *
- * @param shell A handle to the shell interface.
- * @param args Arguments used for this application.
- * @param url URL of this application.
- */
- public void initialize(Shell shell, String[] args, String url);
-
- /**
- * This method is used to configure what services a connection supports when being connected to.
- * Return false to reject the connection entirely.
- *
- * @param connection A handle to the connection.
- * @return If this application accepts any incoming connection.
- */
- public boolean configureIncomingConnection(ApplicationConnection connection);
-
- /**
- * Called before exiting. After returning from this call, the delegate cannot expect RunLoop to
- * still be running.
- */
- public void quit();
-}

Powered by Google App Engine
This is Rietveld 408576698