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

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: Remembering how ASCII works 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 Exposed=(Window),
jkarlin 2015/02/27 20:08:13 Add ServiceWorker as well, or a FIXME to do so
iclelland 2015/03/02 03:51:12 Done. Added FIXME until I add the additional IPC f
7 GarbageCollected,
8 RuntimeEnabled=BackgroundSync,
7 TypeChecking=Interface, 9 TypeChecking=Interface,
8 ] partial interface TestInterface3 { 10 ] interface SyncManager {
9 [Conditional=BAR, TypeChecking=Unrestricted] static void voidMethodDocument( Document document, double d); 11 [CallWith=ScriptState,ImplementedAs=registerFunction] Promise<SyncRegistrati on> register(SyncRegistrationOptions options);
jkarlin 2015/02/27 20:08:13 Why registerFunction instead of register?
jkarlin 2015/02/27 20:08:13 I believe you need to add 'optional' keyword befor
iclelland 2015/03/02 03:51:12 register's a c++ reserved keyword
12 [CallWith=ScriptState] Promise<sequence<SyncRegistration>> getRegistrations( );
13 readonly attribute unsigned long minAllowablePeriod;
10 }; 14 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698