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

Side by Side Diff: Source/modules/background_sync/SyncManager.idl

Issue 963683002: Add IDL and initial Blink API for Background Sync (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing first round style issues Created 5 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 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 [ 5 [
6 Conditional=FOO, 6 //FIXME: Expose on ServiceWorker as well
Michael van Ouwerkerk 2015/03/02 14:19:11 Why is this not exposed on ServiceWorker yet?
iclelland 2015/03/05 04:32:49 I just wasn't sure if there were complications aro
7 Exposed=(Window),
8 GarbageCollected,
9 RuntimeEnabled=BackgroundSync,
7 TypeChecking=Interface, 10 TypeChecking=Interface,
8 ] partial interface TestInterface3 { 11 ] interface SyncManager {
9 [Conditional=BAR, TypeChecking=Unrestricted] static void voidMethodDocument( Document document, double d); 12 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati on> register(optional SyncRegistrationOptions options);
13 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations( );
14 readonly attribute unsigned long minAllowablePeriod;
10 }; 15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698