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

Side by Side Diff: content/common/service_worker/service_worker_event_dispatcher.mojom

Issue 2763453002: [ServiceWorker] Convert ping-pong IPC into mojo interface ServiceWorkerEventDispatcher (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content.mojom; 5 module content.mojom;
6 6
7 import "components/payments/content/payment_app.mojom"; 7 import "components/payments/content/payment_app.mojom";
8 import "content/common/url_loader.mojom"; 8 import "content/common/url_loader.mojom";
9 import "mojo/common/string16.mojom"; 9 import "mojo/common/string16.mojom";
10 import "mojo/common/time.mojom"; 10 import "mojo/common/time.mojom";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 DispatchSyncEvent(string tag, 66 DispatchSyncEvent(string tag,
67 blink.mojom.BackgroundSyncEventLastChance last_chance) 67 blink.mojom.BackgroundSyncEventLastChance last_chance)
68 => (blink.mojom.ServiceWorkerEventStatus status, 68 => (blink.mojom.ServiceWorkerEventStatus status,
69 mojo.common.mojom.Time dispatch_event_time); 69 mojo.common.mojom.Time dispatch_event_time);
70 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequest app_request) 70 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequest app_request)
71 => (blink.mojom.ServiceWorkerEventStatus status, 71 => (blink.mojom.ServiceWorkerEventStatus status,
72 mojo.common.mojom.Time dispatch_event_time); 72 mojo.common.mojom.Time dispatch_event_time);
73 DispatchExtendableMessageEvent(ExtendableMessageEvent event) 73 DispatchExtendableMessageEvent(ExtendableMessageEvent event)
74 => (blink.mojom.ServiceWorkerEventStatus status, 74 => (blink.mojom.ServiceWorkerEventStatus status,
75 mojo.common.mojom.Time dispatch_event_time); 75 mojo.common.mojom.Time dispatch_event_time);
76 Ping() => ();
falken 2017/03/21 06:54:04 Ping() doesn't really belong here, because it's no
shimazu 2017/03/21 07:59:27 My understanding is that Ping() is a method for pi
falken 2017/03/21 14:00:45 Hm, I think of Ping() as pinging the service worke
shimazu 2017/03/22 01:32:29 I totally agree with that. ServiceWorkerEventDispt
falken 2017/03/22 02:15:56 OK, if it's the only exception I think we don't ne
76 }; 77 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698