OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 { | 6 { |
7 "namespace": "echoPrivate", | 7 "namespace": "echoPrivate", |
8 "nodoc": true, | 8 "nodoc": true, |
9 "platforms": ["chromeos"], | 9 "platforms": ["chromeos"], |
10 "types": [], | 10 "types": [], |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "type": "function", | 42 "type": "function", |
43 "parameters": [ | 43 "parameters": [ |
44 { | 44 { |
45 "name": "result", | 45 "name": "result", |
46 "type": "string", | 46 "type": "string", |
47 "description" : "The OOBE timestamp." | 47 "description" : "The OOBE timestamp." |
48 } | 48 } |
49 ] | 49 ] |
50 } | 50 } |
51 ] | 51 ] |
| 52 }, |
| 53 { |
| 54 "name": "checkAllowRedeemOffers", |
| 55 "description": "Check if device policy allows users to redeem offers.", |
| 56 "type": "function", |
| 57 "parameters": [ |
| 58 { |
| 59 "name": "callback", |
| 60 "type": "function", |
| 61 "parameters": [ |
| 62 { |
| 63 "name": "result", |
| 64 "type": "boolean", |
| 65 "description" : "true if allowed to redeem offers." |
| 66 } |
| 67 ] |
| 68 } |
| 69 ] |
52 } | 70 } |
53 ] | 71 ] |
54 } | 72 } |
55 ] | 73 ] |
OLD | NEW |