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

Unified Diff: content/browser/service_worker/service_worker_provider_host.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_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 af78af839f4d7b3013e46464efe9679c888b2ee1..e42c5a4669480742aeefba8e2cc730a63fc54475 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);
// Notifies the client that its controller used a feature, for UseCounter
// purposes. This can only be called if IsProviderForClient() is true.

Powered by Google App Engine
This is Rietveld 408576698