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

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

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: 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
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 "components/payments/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";
11 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";
12 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";
13 import "url/mojo/origin.mojom"; 13 import "url/mojo/origin.mojom";
14 14
15 [Native] 15 [Native]
16 struct PushEventPayload; 16 struct PushEventPayload;
17 17
18 [Native] 18 [Native]
19 struct ServiceWorkerFetchRequest; 19 struct ServiceWorkerFetchRequest;
20 20
21 [Native] 21 [Native]
22 struct ExtendableMessageEventSource; 22 struct ExtendableMessageEventSource;
23 23
24 struct FetchEventPreloadHandle { 24 struct FetchEventPreloadHandle {
25 URLLoader url_loader; 25 URLLoader url_loader;
26 URLLoaderClient& url_loader_client_request; 26 URLLoaderClient& url_loader_client_request;
27 double sent_timestamp;
28 double sent_wall_time;
falken 2017/01/17 14:38:36 Could these use mojo.common.mojom.Time?
horo 2017/01/18 14:25:02 Done.
27 }; 29 };
28 30
29 struct ExtendableMessageEvent { 31 struct ExtendableMessageEvent {
30 mojo.common.mojom.String16 message; 32 mojo.common.mojom.String16 message;
31 url.mojom.Origin source_origin; 33 url.mojom.Origin source_origin;
32 array<int32> message_ports; 34 array<int32> message_ports;
33 array<int32> new_routing_ids; 35 array<int32> new_routing_ids;
34 ExtendableMessageEventSource source; 36 ExtendableMessageEventSource source;
35 }; 37 };
36 38
(...skipping 15 matching lines...) Expand all
52 blink.mojom.BackgroundSyncEventLastChance last_chance) 54 blink.mojom.BackgroundSyncEventLastChance last_chance)
53 => (blink.mojom.ServiceWorkerEventStatus status, 55 => (blink.mojom.ServiceWorkerEventStatus status,
54 mojo.common.mojom.Time dispatch_event_time); 56 mojo.common.mojom.Time dispatch_event_time);
55 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data) 57 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data)
56 => (blink.mojom.ServiceWorkerEventStatus status, 58 => (blink.mojom.ServiceWorkerEventStatus status,
57 mojo.common.mojom.Time dispatch_event_time); 59 mojo.common.mojom.Time dispatch_event_time);
58 DispatchExtendableMessageEvent(ExtendableMessageEvent event) 60 DispatchExtendableMessageEvent(ExtendableMessageEvent event)
59 => (blink.mojom.ServiceWorkerEventStatus status, 61 => (blink.mojom.ServiceWorkerEventStatus status,
60 mojo.common.mojom.Time dispatch_event_time); 62 mojo.common.mojom.Time dispatch_event_time);
61 }; 63 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698