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

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

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed optional properties Created 8 years, 10 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 [ 1 [
2 { 2 {
3 "namespace": "cookies", 3 "namespace": "cookies",
4 "compile": true,
not at google - send to devlin 2012/02/05 23:42:12 better be prepared to follow through with that :)
calamity 2012/02/06 11:51:18 It's enough for now, but there's no facility for s
4 "types": [ 5 "types": [
5 { 6 {
6 "id": "Cookie", 7 "id": "Cookie",
7 "type": "object", 8 "type": "object",
8 "description": "Represents information about an HTTP cookie.", 9 "description": "Represents information about an HTTP cookie.",
9 "properties": { 10 "properties": {
10 "name": {"type": "string", "description": "The name of the cookie."}, 11 "name": {"type": "string", "description": "The name of the cookie."},
11 "value": {"type": "string", "description": "The value of the cookie."} , 12 "value": {"type": "string", "description": "The value of the cookie."} ,
12 "domain": {"type": "string", "description": "The domain of the cookie (e.g. \"www.google.com\", \"example.com\")."}, 13 "domain": {"type": "string", "description": "The domain of the cookie (e.g. \"www.google.com\", \"example.com\")."},
13 "hostOnly": {"type": "boolean", "description": "True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the c ookie)."}, 14 "hostOnly": {"type": "boolean", "description": "True if the cookie is a host-only cookie (i.e. a request's host must exactly match the domain of the c ookie)."},
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 "removed": {"type": "boolean", "description": "True if a cookie wa s removed."}, 187 "removed": {"type": "boolean", "description": "True if a cookie wa s removed."},
187 "cookie": {"$ref": "Cookie", "description": "Information about the cookie that was set or removed."}, 188 "cookie": {"$ref": "Cookie", "description": "Information about the cookie that was set or removed."},
188 "cause": {"min_version": "12.0.707.0", "type": "string", "enum": [ "evicted", "expired", "explicit", "expired_overwrite", "overwrite"], "descriptio n": "The underlying reason behind the cookie's change. If a cookie was inserted, or removed via an explicit call to \"chrome.cookies.remove\", \"cause\" will be \"explicit\". If a cookie was automatically removed due to expiry, \"cause\" wi ll be \"expired\". If a cookie was removed due to being overwritten with an alre ady-expired expiration date, \"cause\" will be set to \"expired_overwrite\". If a cookie was automatically removed due to garbage collection, \"cause\" will be \"evicted\". If a cookie was automatically removed due to a \"set\" call that overwrote it, \"cause\" will be \"overwrite\". Plan your response accordingly."} 189 "cause": {"min_version": "12.0.707.0", "type": "string", "enum": [ "evicted", "expired", "explicit", "expired_overwrite", "overwrite"], "descriptio n": "The underlying reason behind the cookie's change. If a cookie was inserted, or removed via an explicit call to \"chrome.cookies.remove\", \"cause\" will be \"explicit\". If a cookie was automatically removed due to expiry, \"cause\" wi ll be \"expired\". If a cookie was removed due to being overwritten with an alre ady-expired expiration date, \"cause\" will be set to \"expired_overwrite\". If a cookie was automatically removed due to garbage collection, \"cause\" will be \"evicted\". If a cookie was automatically removed due to a \"set\" call that overwrote it, \"cause\" will be \"overwrite\". Plan your response accordingly."}
189 } 190 }
190 } 191 }
191 ] 192 ]
192 } 193 }
193 ] 194 ]
194 } 195 }
195 ] 196 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698