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

Issue 228423002: Add $ref support to policy schema (Closed)

Created:
6 years, 8 months ago by binjin
Modified:
6 years, 8 months ago
Reviewers:
Joao da Silva
CC:
chromium-reviews, joaodasilva+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@policy-schema-regex
Visibility:
Public.

Description

Add $ref support to policy schema BUG=347082 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262738

Patch Set 1 #

Patch Set 2 : Use GetKnownProperty() in new tests #

Total comments: 18

Patch Set 3 : fixes #

Patch Set 4 : Check type of $ref #

Total comments: 10

Patch Set 5 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -72 lines) Patch
M components/policy/core/common/generate_policy_source_unittest.cc View 1 2 3 4 3 chunks +49 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 4 chunks +5 lines, -64 lines 0 comments Download
M components/policy/tools/generate_policy_source.py View 1 2 3 4 9 chunks +55 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
binjin
Hello Joao, PTAL at this CL. Thanks -bjin
6 years, 8 months ago (2014-04-08 09:50:04 UTC) #1
Joao da Silva
Hey Bin, I'm suggesting some big changes in this review. If you'd like some clarification ...
6 years, 8 months ago (2014-04-08 15:02:10 UTC) #2
binjin
https://codereview.chromium.org/228423002/diff/20001/components/policy/core/common/generate_policy_source_unittest.cc File components/policy/core/common/generate_policy_source_unittest.cc (right): https://codereview.chromium.org/228423002/diff/20001/components/policy/core/common/generate_policy_source_unittest.cc#newcode100 components/policy/core/common/generate_policy_source_unittest.cc:100: EXPECT_TRUE(subschema.GetKnownProperty("Idle").valid()); On 2014/04/08 15:02:10, Joao da Silva wrote: > ...
6 years, 8 months ago (2014-04-09 11:00:35 UTC) #3
Joao da Silva
lgtm after considering the suggestions inline https://codereview.chromium.org/228423002/diff/60001/components/policy/core/common/generate_policy_source_unittest.cc File components/policy/core/common/generate_policy_source_unittest.cc (right): https://codereview.chromium.org/228423002/diff/60001/components/policy/core/common/generate_policy_source_unittest.cc#newcode24 components/policy/core/common/generate_policy_source_unittest.cc:24: // consider restriction ...
6 years, 8 months ago (2014-04-09 12:34:55 UTC) #4
binjin
https://codereview.chromium.org/228423002/diff/60001/components/policy/core/common/generate_policy_source_unittest.cc File components/policy/core/common/generate_policy_source_unittest.cc (right): https://codereview.chromium.org/228423002/diff/60001/components/policy/core/common/generate_policy_source_unittest.cc#newcode24 components/policy/core/common/generate_policy_source_unittest.cc:24: // consider restriction on integer or string, as well ...
6 years, 8 months ago (2014-04-09 14:09:58 UTC) #5
binjin
The CQ bit was checked by binjin@chromium.org
6 years, 8 months ago (2014-04-09 14:21:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/binjin@chromium.org/228423002/80001
6 years, 8 months ago (2014-04-09 14:21:38 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-09 14:50:41 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_clang_dbg
6 years, 8 months ago (2014-04-09 14:50:41 UTC) #9
binjin
The CQ bit was checked by binjin@chromium.org
6 years, 8 months ago (2014-04-09 14:51:45 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/228423002/80001
6 years, 8 months ago (2014-04-09 14:51:56 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 17:51:45 UTC) #12
Message was sent while issue was closed.
Change committed as 262738

Powered by Google App Engine
This is Rietveld 408576698