| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 [ |
| 6 { |
| 7 "namespace": "echoPrivate", |
| 8 "nodoc": true, |
| 9 "platforms": ["chromeos"], |
| 10 "types": [], |
| 11 "functions": [ |
| 12 { |
| 13 "name": "getRegistrationCode", |
| 14 "description": "Get the group or coupon code from underlying storage.", |
| 15 "type": "function", |
| 16 "parameters": [ |
| 17 { |
| 18 "name": "type", |
| 19 "type": "string", |
| 20 "description": "Type of coupon code requested to be read (coupon or
group)." |
| 21 }, |
| 22 { |
| 23 "name": "callback", |
| 24 "type": "function", |
| 25 "parameters": [ |
| 26 { |
| 27 "name": "result", |
| 28 "type": "string", |
| 29 "description" : "The coupon code." |
| 30 } |
| 31 ] |
| 32 } |
| 33 ] |
| 34 }, |
| 35 { |
| 36 "name": "getOobeTimestamp", |
| 37 "description": "Get the OOBE timestamp.", |
| 38 "type": "function", |
| 39 "parameters": [ |
| 40 { |
| 41 "name": "callback", |
| 42 "type": "function", |
| 43 "parameters": [ |
| 44 { |
| 45 "name": "result", |
| 46 "type": "string", |
| 47 "description" : "The OOBE timestamp." |
| 48 } |
| 49 ] |
| 50 } |
| 51 ] |
| 52 } |
| 53 ] |
| 54 } |
| 55 ] |
| OLD | NEW |