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

Side by Side Diff: third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom

Issue 2218943002: Introduce ServiceWorker.EventDispatchingDelay UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: EventDispatchingDelay Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 blink.mojom; 5 module blink.mojom;
6 6
7 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom"; 7 import "third_party/WebKit/public/platform/modules/serviceworker/service_worker_ event_status.mojom";
8 8
9 enum BackgroundSyncNetworkState { 9 enum BackgroundSyncNetworkState {
10 ANY, 10 ANY,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 interface BackgroundSyncService { 43 interface BackgroundSyncService {
44 Register(SyncRegistration options, int64 service_worker_registration_id) 44 Register(SyncRegistration options, int64 service_worker_registration_id)
45 => (BackgroundSyncError err, SyncRegistration options); 45 => (BackgroundSyncError err, SyncRegistration options);
46 GetRegistrations(int64 service_worker_registration_id) 46 GetRegistrations(int64 service_worker_registration_id)
47 => (BackgroundSyncError err, array<SyncRegistration> registrations); 47 => (BackgroundSyncError err, array<SyncRegistration> registrations);
48 }; 48 };
49 49
50 interface BackgroundSyncServiceClient { 50 interface BackgroundSyncServiceClient {
51 Sync(string tag, BackgroundSyncEventLastChance last_chance) 51 Sync(string tag, BackgroundSyncEventLastChance last_chance)
52 => (ServiceWorkerEventStatus status); 52 => (ServiceWorkerEventStatus status, double dispatch_event_time);
dcheng 2016/08/23 05:37:21 Is it possible to use the mojom type for this? See
horo 2016/08/23 07:01:58 Sorry, I don't understand mojo well. When I change
Marijn Kruisselbrink 2016/08/23 19:04:30 You'd probably add a //src/mojo/common/blink_typem
53 }; 53 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698