0
Commit Graph

5 Commits

Author SHA1 Message Date
Avi Drissman
dfd8808526 Update copyright headers in testing/, tools/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c95.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I3a8a7b150e7bd64690534727150646081df50439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900697
Reviewed-by: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047644}
2022-09-15 20:11:09 +00:00
DHNishi@gmail.com
baed4d3ddf Clean up JSON Schema Compiler's pylint errors.
Review URL: https://chromiumcodereview.appspot.com/23549025

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222389 0039d316-1c4b-4281-b951-d872f2087c98
2013-09-10 23:14:04 +00:00
kalman@chromium.org
cb5670cb5e Fix some low hanging inefficiencies in the docs server. Two of the most
expensive operations (by profiling), apart from the template rendering itself,
are calling UnixName (model.py) and removing comments from JSON files
(json_comment_eater.py). This rewrites both and memoizes the former.

BUG=227490

Review URL: https://chromiumcodereview.appspot.com/13599004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193334 0039d316-1c4b-4281-b951-d872f2087c98
2013-04-10 06:31:08 +00:00
kalman@chromium.org
06ad578f48 Disable the Python < 2.7 warning in JSON Schema Compiler.
TBR=cduvall@chromium.org

Review URL: https://codereview.chromium.org/11413090

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168816 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-20 17:06:57 +00:00
cduvall@chromium.org
b2fad3f166 Extensions Docs Server: Preserve JSON declaration order in extensions documentation
All JSON is now parsed using an OrderedDict, so the order of properties is preserved.
The order was also being messed up within the JSON Schema Compiler, because
lists were being converted to (unordered) dictionaries.

BUG=146649, 151867

Review URL: https://chromiumcodereview.appspot.com/11079010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168702 0039d316-1c4b-4281-b951-d872f2087c98
2012-11-20 02:13:24 +00:00