Extract SIGPIPE ignoring code to a common place.
[chromium-blink-merge.git] / chrome / common / extensions / api / echo_private.json
blob905c1fac5e25fd40d798569f52266531acfde28c
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.
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   }