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

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

Issue 1828683002: [Extensions] Convert APIs to use movable types [3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 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": "Use the <code>chrome.cookies</code> API to query and modify cookies, and to be notified when they change.", 8 "description": "Use the <code>chrome.cookies</code> API to query and modify cookies, and to be notified when they change.",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "SameSiteStatus", 12 "id": "SameSiteStatus",
12 "type": "string", 13 "type": "string",
13 "enum": ["no_restriction", "lax", "strict"], 14 "enum": ["no_restriction", "lax", "strict"],
14 "description": "A cookie's 'SameSite' state (https://tools.ietf.org/html /draft-west-first-party-cookies). 'no_restriction' corresponds to a cookie set w ithout a 'SameSite' attribute, 'lax' to 'SameSite=Lax', and 'strict' to 'SameSit e=Strict'." 15 "description": "A cookie's 'SameSite' state (https://tools.ietf.org/html /draft-west-first-party-cookies). 'no_restriction' corresponds to a cookie set w ithout a 'SameSite' attribute, 'lax' to 'SameSite=Lax', and 'strict' to 'SameSit e=Strict'."
15 }, 16 },
16 { 17 {
17 "id": "Cookie", 18 "id": "Cookie",
18 "type": "object", 19 "type": "object",
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "removed": {"type": "boolean", "description": "True if a cookie wa s removed."}, 206 "removed": {"type": "boolean", "description": "True if a cookie wa s removed."},
206 "cookie": {"$ref": "Cookie", "description": "Information about the cookie that was set or removed."}, 207 "cookie": {"$ref": "Cookie", "description": "Information about the cookie that was set or removed."},
207 "cause": {"min_version": "12.0.707.0", "$ref": "OnChangedCause", " description": "The underlying reason behind the cookie's change."} 208 "cause": {"min_version": "12.0.707.0", "$ref": "OnChangedCause", " description": "The underlying reason behind the cookie's change."}
208 } 209 }
209 } 210 }
210 ] 211 ]
211 } 212 }
212 ] 213 ]
213 } 214 }
214 ] 215 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/context_menus_internal.json ('k') | chrome/common/extensions/api/copresence.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698