OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 // identityPrivate. |
5 namespace identityPrivate { | 6 namespace identityPrivate { |
6 | 7 |
7 callback GetResourcesCallback = void (object result); | 8 callback GetResourcesCallback = void (object result); |
8 | 9 |
9 interface Functions { | 10 interface Functions { |
10 // Gets resources required to render the API. | 11 // Gets resources required to render the API. |
11 // | 12 // |
12 // |callback| : Called with a dictionary mapping names to resource strings. | 13 // |callback| : Called with a dictionary mapping names to resource strings. |
13 static void getResources(GetResourcesCallback callback); | 14 static void getResources(GetResourcesCallback callback); |
14 }; | 15 }; |
15 | 16 |
16 interface Events { | 17 interface Events { |
17 // Fired when a web flow dialog should be displayed. | 18 // Fired when a web flow dialog should be displayed. |
18 static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode); | 19 static void onWebFlowRequest(DOMString key, DOMString url, DOMString mode); |
19 }; | 20 }; |
20 }; | 21 }; |
OLD | NEW |