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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up Created 7 years, 6 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": "cookies", 7 "namespace": "cookies",
8 "description": "The cookies module allows you to work with HTTP cookies.",
8 "types": [ 9 "types": [
9 { 10 {
10 "id": "Cookie", 11 "id": "Cookie",
11 "type": "object", 12 "type": "object",
12 "description": "Represents information about an HTTP cookie.", 13 "description": "Represents information about an HTTP cookie.",
13 "properties": { 14 "properties": {
14 "name": {"type": "string", "description": "The name of the cookie."}, 15 "name": {"type": "string", "description": "The name of the cookie."},
15 "value": {"type": "string", "description": "The value of the cookie."} , 16 "value": {"type": "string", "description": "The value of the cookie."} ,
16 "domain": {"type": "string", "description": "The domain of the cookie (e.g. \"www.google.com\", \"example.com\")."}, 17 "domain": {"type": "string", "description": "The domain of the cookie (e.g. \"www.google.com\", \"example.com\")."},
17 "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)."}, 18 "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
190 "removed": {"type": "boolean", "description": "True if a cookie wa s removed."}, 191 "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."}, 192 "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."} 193 "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 } 194 }
194 } 195 }
195 ] 196 ]
196 } 197 }
197 ] 198 ]
198 } 199 }
199 ] 200 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/context_menus.json ('k') | chrome/common/extensions/api/debugger.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698