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

Unified Diff: content/public/browser/message_port_provider.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add metrics and support for non-ASCII text messages to Java endpoints Created 3 years, 11 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/browser/message_port_provider.h
diff --git a/content/public/browser/message_port_provider.h b/content/public/browser/message_port_provider.h
index 5d997960066832db152b5edbd8bd2ce975f9f101..d1e080bb93d1756cd25527d21f940a3301aa6f3d 100644
--- a/content/public/browser/message_port_provider.h
+++ b/content/public/browser/message_port_provider.h
@@ -16,6 +16,7 @@ namespace content {
class AppWebMessagePortService;
class WebContents;
+class MessagePort;
// An interface consisting of methods that can be called to use Message ports.
class CONTENT_EXPORT MessagePortProvider {
@@ -31,10 +32,10 @@ class CONTENT_EXPORT MessagePortProvider {
const base::string16& source_origin,
const base::string16& target_origin,
const base::string16& data,
- const std::vector<int>& ports);
+ const std::vector<MessagePort>& ports);
#if defined(OS_ANDROID)
- static content::AppWebMessagePortService* GetAppWebMessagePortService();
+ static AppWebMessagePortService* GetAppWebMessagePortService();
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698