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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/MessagePortService.java

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 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 2016 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.content_public.browser;
6
7 /**
8 * An interface for creating and managing channels with {@link MessagePort}s on both ends.
9 */
10 public interface MessagePortService {
11 /**
12 * @return Two {@link MessagePort}s that forms the ends of a message channel created. The user
13 * of the API should send one of these to the main frame of the tab that should be
14 * receiving the messages and hold onto the other one.
15 */
16 MessagePort[] createMessageChannel();
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698