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

Unified Diff: content/common/service_worker/service_worker_provider_struct_traits.cc

Issue 2653493009: Add two interfaces for ServiceWorkerProviderContext/ProviderHost (Closed)
Patch Set: Skip unittest for CrossSiteTransfer when PlzNavigate Created 3 years, 7 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_provider_struct_traits.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_provider_struct_traits.cc
diff --git a/content/common/service_worker/service_worker_provider_struct_traits.cc b/content/common/service_worker/service_worker_provider_struct_traits.cc
index c4a43071e6aff6a42a5fbd1f908ced97d500a988..5202e30a8474f91a333580e787e5fba603095219 100644
--- a/content/common/service_worker/service_worker_provider_struct_traits.cc
+++ b/content/common/service_worker/service_worker_provider_struct_traits.cc
@@ -16,6 +16,10 @@ bool StructTraits<content::mojom::ServiceWorkerProviderHostInfoDataView,
out->provider_id = in.provider_id();
out->route_id = in.route_id();
out->is_parent_frame_secure = in.is_parent_frame_secure();
+ out->host_request = in.TakeHostRequest<
+ content::mojom::ServiceWorkerProviderHostAssociatedRequest>();
+ out->client_ptr_info = in.TakeClientPtrInfo<
+ content::mojom::ServiceWorkerProviderAssociatedPtrInfo>();
return true;
}
« no previous file with comments | « content/common/service_worker/service_worker_provider_struct_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698