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

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

Issue 2615063002: PaymentApp: Add interfaces for implementing InvokePaymentApp(). (Closed)
Patch Set: PaymentApp: Add interfaces for implementing InvokePaymentApp(). Created 3 years, 11 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/public/browser/payment_app_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/payment_app.mojom";
7 import "content/common/url_loader.mojom"; 8 import "content/common/url_loader.mojom";
8 import "mojo/common/string16.mojom"; 9 import "mojo/common/string16.mojom";
9 import "mojo/common/time.mojom"; 10 import "mojo/common/time.mojom";
10 import "third_party/WebKit/public/platform/modules/background_sync/background_sy nc.mojom"; 11 import "third_party/WebKit/public/platform/modules/background_sync/background_sy nc.mojom";
11 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom"; 12 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom";
12 import "url/mojo/origin.mojom"; 13 import "url/mojo/origin.mojom";
13 14
14 [Native] 15 [Native]
15 struct ServiceWorkerFetchRequest; 16 struct ServiceWorkerFetchRequest;
16 17
(...skipping 21 matching lines...) Expand all
38 DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request, 39 DispatchFetchEvent(int32 fetch_event_id, ServiceWorkerFetchRequest request,
39 FetchEventPreloadHandle? preload_handle) 40 FetchEventPreloadHandle? preload_handle)
40 => (blink.mojom.ServiceWorkerEventStatus status, 41 => (blink.mojom.ServiceWorkerEventStatus status,
41 mojo.common.mojom.Time dispatch_event_time); 42 mojo.common.mojom.Time dispatch_event_time);
42 // Arguments are passed to the event handler as parameters of SyncEvent. 43 // Arguments are passed to the event handler as parameters of SyncEvent.
43 // Ref: https://wicg.github.io/BackgroundSync/spec/#sync-event 44 // Ref: https://wicg.github.io/BackgroundSync/spec/#sync-event
44 DispatchSyncEvent(string tag, 45 DispatchSyncEvent(string tag,
45 blink.mojom.BackgroundSyncEventLastChance last_chance) 46 blink.mojom.BackgroundSyncEventLastChance last_chance)
46 => (blink.mojom.ServiceWorkerEventStatus status, 47 => (blink.mojom.ServiceWorkerEventStatus status,
47 mojo.common.mojom.Time dispatch_event_time); 48 mojo.common.mojom.Time dispatch_event_time);
49 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data)
50 => (blink.mojom.ServiceWorkerEventStatus status,
51 mojo.common.mojom.Time dispatch_event_time);
48 DispatchExtendableMessageEvent(ExtendableMessageEvent event) 52 DispatchExtendableMessageEvent(ExtendableMessageEvent event)
49 => (blink.mojom.ServiceWorkerEventStatus status, 53 => (blink.mojom.ServiceWorkerEventStatus status,
50 mojo.common.mojom.Time dispatch_event_time); 54 mojo.common.mojom.Time dispatch_event_time);
51 }; 55 };
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/public/browser/payment_app_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698