Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 }; |
| OLD | NEW |