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

Unified Diff: android_webview/native/aw_message_port_service_impl.h

Issue 986553004: Hold messages in message port service when a message port is (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: android_webview/native/aw_message_port_service_impl.h
diff --git a/android_webview/native/aw_message_port_service_impl.h b/android_webview/native/aw_message_port_service_impl.h
index fcb83bea51541485b8d28bb7f8a4180a3c776497..7f42421bae70957862875b05cf9b7f5083865e10 100644
--- a/android_webview/native/aw_message_port_service_impl.h
+++ b/android_webview/native/aw_message_port_service_impl.h
@@ -45,6 +45,7 @@ class AwMessagePortServiceImpl : public AwMessagePortService {
void PostAppToWebMessage(JNIEnv* env, jobject object, int sender_id,
jstring message, jintArray sent_ports);
void ClosePort(JNIEnv* env, jobject object, int message_port_id);
+ void ReleaseMessages(JNIEnv* env, jobject object, int message_port_id);
void RemoveSentPorts(const std::vector<int>& sent_ports);

Powered by Google App Engine
This is Rietveld 408576698