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

Unified Diff: content/renderer/service_worker/embedded_worker_instance_client_impl.cc

Issue 2606593002: [ServiceWorker] Associate interfaces.
Patch Set: Fix unit tests Created 4 years 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/renderer/service_worker/embedded_worker_instance_client_impl.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/service_worker/embedded_worker_instance_client_impl.cc
diff --git a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
index aa699bcf0c170284ae143f2fca0b89058d158178..8a51838627e066966432876a567e93835115f554 100644
--- a/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
+++ b/content/renderer/service_worker/embedded_worker_instance_client_impl.cc
@@ -20,7 +20,7 @@ namespace content {
// static
void EmbeddedWorkerInstanceClientImpl::Create(
EmbeddedWorkerDispatcher* dispatcher,
- mojo::InterfaceRequest<mojom::EmbeddedWorkerInstanceClient> request) {
+ mojom::EmbeddedWorkerInstanceClientAssociatedRequest request) {
// This won't be leaked because the lifetime will be managed internally.
new EmbeddedWorkerInstanceClientImpl(dispatcher, std::move(request));
}
@@ -79,7 +79,7 @@ void EmbeddedWorkerInstanceClientImpl::StopWorker(
EmbeddedWorkerInstanceClientImpl::EmbeddedWorkerInstanceClientImpl(
EmbeddedWorkerDispatcher* dispatcher,
- mojo::InterfaceRequest<mojom::EmbeddedWorkerInstanceClient> request)
+ mojom::EmbeddedWorkerInstanceClientAssociatedRequest request)
: dispatcher_(dispatcher),
binding_(this, std::move(request)),
temporal_self_(std::unique_ptr<EmbeddedWorkerInstanceClientImpl>(this)),
« no previous file with comments | « content/renderer/service_worker/embedded_worker_instance_client_impl.h ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698