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

Side by Side Diff: chrome/common/extensions/api/offersPrivate.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
(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": "offersPrivate",
8 "nodoc": true,
9 "platforms": ["chromeos"],
10 "types": [],
11 "functions": [
12 {
13 "name": "getCouponCode",
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": "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 }
53 ]
54 }
55 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.cc ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698