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

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: incorporated falken's comment 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 "mojo/common/time.mojom";
falken 2017/01/18 14:50:07 nit: alphabetical order?
horo 2017/01/19 09:57:09 Removed.
8 import "content/common/url_loader.mojom"; 9 import "content/common/url_loader.mojom";
9 import "mojo/common/string16.mojom"; 10 import "mojo/common/string16.mojom";
10 import "mojo/common/time.mojom"; 11 import "mojo/common/time.mojom";
11 import "third_party/WebKit/public/platform/modules/background_sync/background_sy nc.mojom"; 12 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"; 13 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom";
13 import "url/mojo/origin.mojom"; 14 import "url/mojo/origin.mojom";
14 15
15 [Native] 16 [Native]
16 struct PushEventPayload; 17 struct PushEventPayload;
17 18
18 [Native] 19 [Native]
19 struct ServiceWorkerFetchRequest; 20 struct ServiceWorkerFetchRequest;
20 21
21 [Native] 22 [Native]
22 struct ExtendableMessageEventSource; 23 struct ExtendableMessageEventSource;
23 24
24 struct FetchEventPreloadHandle { 25 struct FetchEventPreloadHandle {
25 URLLoader url_loader; 26 URLLoader url_loader;
26 URLLoaderClient& url_loader_client_request; 27 URLLoaderClient& url_loader_client_request;
28 mojo.common.mojom.TimeTicks sent_timestamp;
29 mojo.common.mojom.Time sent_wall_time;
27 }; 30 };
28 31
29 struct ExtendableMessageEvent { 32 struct ExtendableMessageEvent {
30 mojo.common.mojom.String16 message; 33 mojo.common.mojom.String16 message;
31 url.mojom.Origin source_origin; 34 url.mojom.Origin source_origin;
32 array<int32> message_ports; 35 array<int32> message_ports;
33 array<int32> new_routing_ids; 36 array<int32> new_routing_ids;
34 ExtendableMessageEventSource source; 37 ExtendableMessageEventSource source;
35 }; 38 };
36 39
(...skipping 15 matching lines...) Expand all
52 blink.mojom.BackgroundSyncEventLastChance last_chance) 55 blink.mojom.BackgroundSyncEventLastChance last_chance)
53 => (blink.mojom.ServiceWorkerEventStatus status, 56 => (blink.mojom.ServiceWorkerEventStatus status,
54 mojo.common.mojom.Time dispatch_event_time); 57 mojo.common.mojom.Time dispatch_event_time);
55 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data) 58 DispatchPaymentRequestEvent(payments.mojom.PaymentAppRequestData data)
56 => (blink.mojom.ServiceWorkerEventStatus status, 59 => (blink.mojom.ServiceWorkerEventStatus status,
57 mojo.common.mojom.Time dispatch_event_time); 60 mojo.common.mojom.Time dispatch_event_time);
58 DispatchExtendableMessageEvent(ExtendableMessageEvent event) 61 DispatchExtendableMessageEvent(ExtendableMessageEvent event)
59 => (blink.mojom.ServiceWorkerEventStatus status, 62 => (blink.mojom.ServiceWorkerEventStatus status,
60 mojo.common.mojom.Time dispatch_event_time); 63 mojo.common.mojom.Time dispatch_event_time);
61 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698