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

Side by Side Diff: tools/json_schema_compiler/test/content_settings.json

Issue 10796114: Added ToJson to JSON schema compiler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: scoped_ptr<std::string> -> std::string, changed tests a little bit Created 8 years, 5 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": "contentSettings", 7 "namespace": "contentSettings",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "ResourceIdentifier", 10 "id": "ResourceIdentifier",
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 "$ref": "ContentSetting", 212 "$ref": "ContentSetting",
213 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. <br>Default is <var>ask</var> .<br>The primary URL is the main-frame URL. The secondary URL is not used.", 213 "description": "Whether to allow sites to show desktop notifications. On e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As k when a site wants to show desktop notifications. <br>Default is <var>ask</var> .<br>The primary URL is the main-frame URL. The secondary URL is not used.",
214 "value": [ 214 "value": [
215 "notifications", 215 "notifications",
216 {"type":"string", "enum": ["allow", "block", "ask"]} 216 {"type":"string", "enum": ["allow", "block", "ask"]}
217 ] 217 ]
218 } 218 }
219 } 219 }
220 } 220 }
221 ] 221 ]
OLDNEW
« tools/json_schema_compiler/h_generator.py ('K') | « tools/json_schema_compiler/h_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698