Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Side by Side Diff: chrome/common/extensions/api/echoPrivate.json

Issue 10086011: [Chrome OS ECHO]: Rename API and method names (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: address tbarzic's comments Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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": "offersPrivate", 7 "namespace": "echoPrivate",
8 "nodoc": true, 8 "nodoc": true,
9 "platforms": ["chromeos"], 9 "platforms": ["chromeos"],
10 "types": [], 10 "types": [],
11 "functions": [ 11 "functions": [
12 { 12 {
13 "name": "getCouponCode", 13 "name": "getRegistrationCode",
14 "description": "Get the group or coupon code from underlying storage.", 14 "description": "Get the group or coupon code from underlying storage.",
15 "type": "function", 15 "type": "function",
16 "parameters": [ 16 "parameters": [
17 { 17 {
18 "name": "type", 18 "name": "type",
19 "type": "string", 19 "type": "string",
20 "description": "Type of coupon code requested to be read (coupon or group)." 20 "description": "Type of coupon code requested to be read (coupon or group)."
21 }, 21 },
22 { 22 {
23 "name": "callback", 23 "name": "callback",
24 "type": "function", 24 "type": "function",
25 "parameters": [ 25 "parameters": [
26 { 26 {
27 "name": "result", 27 "name": "result",
28 "type": "string", 28 "type": "string",
29 "description" : "The coupon code." 29 "description" : "The coupon code."
30 } 30 }
31 ] 31 ]
32 } 32 }
33 ] 33 ]
34 },
35 {
36 "name": "getUserConsent",
37 "description": "Get user's consent by displaying an InfoBar.",
38 "type": "function",
39 "parameters": [
40 {
41 "name": "callback",
42 "type": "function",
43 "parameters": [
44 {
45 "name": "result",
46 "type": "boolean",
47 "description" : "Consent result."
48 }
49 ]
50 }
51 ]
52 } 34 }
53 ] 35 ]
54 } 36 }
55 ] 37 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698