| Index: content/public/browser/android/app_web_message_port_service.h
|
| diff --git a/content/public/browser/android/app_web_message_port_service.h b/content/public/browser/android/app_web_message_port_service.h
|
| index c1dd51521f27b20a2e0aed70822b4f58252f1661..9ea05db4273af924779ed380700fbd37bf5d8c3a 100644
|
| --- a/content/public/browser/android/app_web_message_port_service.h
|
| +++ b/content/public/browser/android/app_web_message_port_service.h
|
| @@ -10,12 +10,14 @@
|
|
|
| #include "base/android/scoped_java_ref.h"
|
| #include "base/values.h"
|
| +#include "content/common/content_export.h"
|
|
|
| namespace content {
|
| +class MessagePort;
|
| class WebContents;
|
|
|
| // The interface for AppWebMessagePortService
|
| -class AppWebMessagePortService {
|
| +class CONTENT_EXPORT AppWebMessagePortService {
|
| public:
|
| virtual ~AppWebMessagePortService() {}
|
|
|
| @@ -24,7 +26,9 @@ class AppWebMessagePortService {
|
| const base::android::JavaRef<jobjectArray>& ports,
|
| WebContents* web_contents) = 0;
|
|
|
| - virtual void CleanupPort(int message_port_id) = 0;
|
| + static std::vector<MessagePort> UnwrapJavaArray(
|
| + JNIEnv* env,
|
| + const base::android::JavaRef<jobjectArray>& ports);
|
| };
|
|
|
| } // namespace content
|
|
|