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

Unified Diff: content/browser/service_worker/service_worker_version.h

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/browser/service_worker/service_worker_version.h
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h
index cf37ce59f8cb7d7afd9fccc5d5ec8f9dbec42611..8e2b42104c655f7928c825f52aa1059c31fd9fe6 100644
--- a/content/browser/service_worker/service_worker_version.h
+++ b/content/browser/service_worker/service_worker_version.h
@@ -56,6 +56,7 @@ class HttpResponseInfo;
namespace content {
+class MessagePort;
class ServiceWorkerContextCore;
class ServiceWorkerProviderHost;
class ServiceWorkerRegistration;
@@ -659,9 +660,10 @@ class CONTENT_EXPORT ServiceWorkerVersion
void OnClearCachedMetadata(const GURL& url);
void OnClearCachedMetadataFinished(int64_t callback_id, int result);
- void OnPostMessageToClient(const std::string& client_uuid,
- const base::string16& message,
- const std::vector<int>& sent_message_ports);
+ void OnPostMessageToClient(
+ const std::string& client_uuid,
+ const base::string16& message,
+ const std::vector<MessagePort>& sent_message_ports);
void OnFocusClient(int request_id, const std::string& client_uuid);
void OnNavigateClient(int request_id,
const std::string& client_uuid,

Powered by Google App Engine
This is Rietveld 408576698