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

Unified Diff: content/common/service_worker/service_worker_messages.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
« no previous file with comments | « content/common/service_worker/service_worker_event_dispatcher.mojom ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index 04f8f613799116abc39a24a2d47904a626de0adf..2fd6140776e5283ec3f885159ca4ead55a16e300 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -11,6 +11,7 @@
#include "base/strings/string16.h"
#include "base/time/time.h"
+#include "content/common/message_port.h"
#include "content/common/service_worker/service_worker_client_info.h"
#include "content/common/service_worker/service_worker_status_code.h"
#include "content/common/service_worker/service_worker_types.h"
@@ -137,8 +138,7 @@ IPC_STRUCT_BEGIN(ServiceWorkerMsg_MessageToDocument_Params)
IPC_STRUCT_MEMBER(int, provider_id)
IPC_STRUCT_MEMBER(content::ServiceWorkerObjectInfo, service_worker_info)
IPC_STRUCT_MEMBER(base::string16, message)
- IPC_STRUCT_MEMBER(std::vector<int>, message_ports)
- IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids)
+ IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports)
IPC_STRUCT_END()
IPC_STRUCT_TRAITS_BEGIN(content::PushEventPayload)
@@ -214,7 +214,7 @@ IPC_MESSAGE_CONTROL5(
int /* provider_id */,
base::string16 /* message */,
url::Origin /* source_origin */,
- std::vector<int> /* sent_message_ports */)
+ std::vector<content::MessagePort> /* sent_message_ports */)
// Informs the browser of a new ServiceWorkerProvider in the child process,
// |provider_id| is unique within its child process. When this provider is
@@ -311,7 +311,7 @@ IPC_MESSAGE_ROUTED3(
ServiceWorkerHostMsg_PostMessageToClient,
std::string /* uuid */,
base::string16 /* message */,
- std::vector<int> /* sent_message_ports */)
+ std::vector<content::MessagePort> /* sent_message_ports */)
// ServiceWorker -> Browser message to request that the ServiceWorkerStorage
// cache |data| associated with |url|.
« no previous file with comments | « content/common/service_worker/service_worker_event_dispatcher.mojom ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698