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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Eliminate unnecessary PostTask 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_provider_host.h
diff --git a/content/browser/service_worker/service_worker_provider_host.h b/content/browser/service_worker/service_worker_provider_host.h
index 3ed67ba33f4abb82da49716386d9da2e94b86508..a8f4178a5a9e48a6def2d89bb1ad0644b08b1ede 100644
--- a/content/browser/service_worker/service_worker_provider_host.h
+++ b/content/browser/service_worker/service_worker_provider_host.h
@@ -31,6 +31,7 @@ class BlobStorageContext;
namespace content {
+class MessagePort;
class ResourceRequestBodyImpl;
class ServiceWorkerContextCore;
class ServiceWorkerDispatcherHost;
@@ -232,7 +233,7 @@ class CONTENT_EXPORT ServiceWorkerProviderHost
// Dispatches message event to the document.
void PostMessageToClient(ServiceWorkerVersion* version,
const base::string16& message,
- const std::vector<int>& sent_message_ports);
+ const std::vector<MessagePort>& sent_message_ports);
// Adds reference of this host's process to the |pattern|, the reference will
// be removed in destructor.

Powered by Google App Engine
This is Rietveld 408576698