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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
index 904c05fb9c11bf59edd8e321cf1b3c9c86a93b85..3e5332efe5b2003120f6d7b3f86ae256cbfa37d0 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
@@ -270,7 +270,7 @@ public interface WebContents extends Parcelable {
* Dispatches a Message event to the specified frame.
*/
void postMessageToFrame(String frameName, String message,
- String sourceOrigin, String targetOrigin, int[] sentPortIds);
+ String sourceOrigin, String targetOrigin, MessagePort[] ports);
/**
* Creates a message channel for sending postMessage requests and returns the ports for
@@ -278,7 +278,7 @@ public interface WebContents extends Parcelable {
* @param service The message port service to register the channel with.
* @return The ports that forms the ends of the message channel created.
*/
- MessagePort[] createMessageChannel(MessagePortService service);
+ MessagePort[] createMessageChannel();
/**
* Returns whether the initial empty page has been accessed by a script from another

Powered by Google App Engine
This is Rietveld 408576698