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

Issue 138003003: Add additional restriction to policy schema internal (part1) (Closed)

Created:
6 years, 11 months ago by binjin
Modified:
6 years, 11 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add additional restriction to policy schema internal, includes modification to python generator and C++ parser with correspond unit tests. BUG=258339 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246266

Patch Set 1 : proposal for updates to schema internal structure #

Total comments: 6

Patch Set 2 : fix python generator and C++ parser #

Total comments: 54

Patch Set 3 : fixes #

Total comments: 22

Patch Set 4 : more fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -28 lines) Patch
M components/json_schema/json_schema_validator.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M components/policy/core/common/schema.cc View 1 2 13 chunks +142 lines, -3 lines 0 comments Download
M components/policy/core/common/schema_internal.h View 1 2 chunks +33 lines, -0 lines 0 comments Download
M components/policy/core/common/schema_unittest.cc View 1 2 3 5 chunks +93 lines, -9 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 10 chunks +40 lines, -10 lines 0 comments Download
M components/policy/tools/generate_policy_source.py View 1 2 3 6 chunks +100 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
binjin
Hello Joao, The fist patch is merely a modification proposal for updates to schema internal ...
6 years, 11 months ago (2014-01-14 10:13:31 UTC) #1
Joao da Silva
This looks good, go ahead with the generator and parser! I think it's easier to ...
6 years, 11 months ago (2014-01-14 10:50:40 UTC) #2
binjin
Hello Joao, Here's my current implementation to add support for new entries in schema internals ...
6 years, 11 months ago (2014-01-15 15:02:54 UTC) #3
Joao da Silva
Nice work! Comments for improvements inline; with a couple more tests this should be good ...
6 years, 11 months ago (2014-01-16 10:56:33 UTC) #4
binjin
Hello Joao, I fixed the issues according to your comments, PTAL Bin https://codereview.chromium.org/138003003/diff/60001/components/json_schema/json_schema_validator.cc File components/json_schema/json_schema_validator.cc ...
6 years, 11 months ago (2014-01-17 14:29:00 UTC) #5
Joao da Silva
One suggestion to share identical ranges, then extend the test schema a bit and fix ...
6 years, 11 months ago (2014-01-20 10:49:09 UTC) #6
binjin
Hello Joao, Here is the fixes, for one of them I left comments instead. PTAL ...
6 years, 11 months ago (2014-01-20 14:09:22 UTC) #7
Joao da Silva
lgtm!
6 years, 11 months ago (2014-01-20 20:11:57 UTC) #8
Joao da Silva
+Benjamin for the json_schema change
6 years, 11 months ago (2014-01-20 20:12:41 UTC) #9
not at google - send to devlin
lgtm
6 years, 11 months ago (2014-01-21 22:29:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/138003003/300001
6 years, 11 months ago (2014-01-21 22:35:10 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=249330
6 years, 11 months ago (2014-01-22 00:19:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/138003003/300001
6 years, 11 months ago (2014-01-22 08:31:21 UTC) #13
commit-bot: I haz the power
6 years, 11 months ago (2014-01-22 10:15:13 UTC) #14
Message was sent while issue was closed.
Change committed as 246266

Powered by Google App Engine
This is Rietveld 408576698