OLD | NEW |
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 [ | 1 [ |
6 { | 2 { |
7 "namespace": "cookies", | 3 "namespace": "cookies", |
8 "types": [ | 4 "types": [ |
9 { | 5 { |
10 "id": "Cookie", | 6 "id": "Cookie", |
11 "type": "object", | 7 "type": "object", |
12 "description": "Represents information about an HTTP cookie.", | 8 "description": "Represents information about an HTTP cookie.", |
13 "properties": { | 9 "properties": { |
14 "name": {"type": "string", "description": "The name of the cookie."}, | 10 "name": {"type": "string", "description": "The name of the cookie."}, |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 "removed": {"type": "boolean", "description": "True if a cookie wa
s removed."}, | 186 "removed": {"type": "boolean", "description": "True if a cookie wa
s removed."}, |
191 "cookie": {"$ref": "Cookie", "description": "Information about the
cookie that was set or removed."}, | 187 "cookie": {"$ref": "Cookie", "description": "Information about the
cookie that was set or removed."}, |
192 "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."} | 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."} |
193 } | 189 } |
194 } | 190 } |
195 ] | 191 ] |
196 } | 192 } |
197 ] | 193 ] |
198 } | 194 } |
199 ] | 195 ] |
OLD | NEW |