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

Side by Side Diff: mojo/public/java/application/src/org/chromium/mojo/application/ServiceFactoryBinder.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.mojo.application;
6
7 import org.chromium.mojo.bindings.Interface;
8 import org.chromium.mojo.bindings.InterfaceRequest;
9
10 /**
11 * ServiceFactoryBinder holds the necessary information to bind a service interf ace to a message
12 * pipe.
13 *
14 * @param <T> A mojo service interface.
15 */
16 public interface ServiceFactoryBinder<T extends Interface> {
17 /**
18 * Binds an instance of the interface to the given request.
19 *
20 * @param request The request to bind to.
21 */
22 public void bind(InterfaceRequest<T> request);
23
24 /**
25 * Returns the name of the service interface being implemented.
26 */
27 public String getInterfaceName();
28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698