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

Unified Diff: mojo/public/java/application/src/org/chromium/mojo/application/ApplicationRunner.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/ApplicationRunner.java
diff --git a/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationRunner.java b/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationRunner.java
deleted file mode 100644
index 1a903b4696b253c0e5b6b588a6f11ebfe90033fc..0000000000000000000000000000000000000000
--- a/mojo/public/java/application/src/org/chromium/mojo/application/ApplicationRunner.java
+++ /dev/null
@@ -1,32 +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.mojo.system.Core;
-import org.chromium.mojo.system.MessagePipeHandle;
-import org.chromium.mojo.system.RunLoop;
-
-/**
- * A utility for running an Application.
- *
- */
-public class ApplicationRunner {
- /**
- * Runs the delegate in a RunLoop.
- *
- * @param delegate Application specific functionality.
- * @param core Core mojo interface.
- * @param applicationRequest Handle for the application request.
- */
- public static void run(
- ApplicationDelegate delegate, Core core, MessagePipeHandle applicationRequest) {
- try (RunLoop runLoop = core.createDefaultRunLoop()) {
- try (ApplicationImpl application =
- new ApplicationImpl(delegate, core, applicationRequest)) {
- runLoop.run();
- }
- }
- }
-}

Powered by Google App Engine
This is Rietveld 408576698