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 10696034: Share JSON schema constants. (Closed)

Created:
8 years, 5 months ago by Joao da Silva
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Share JSON schema constants. BUG=None TEST=unit_tests green Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157051

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebased #

Patch Set 3 : Removed 'using namespace' #

Patch Set 4 : Fixed upload (removed .gitmodules) #

Patch Set 5 : Fixed typo #

Patch Set 6 : Fix win build #

Patch Set 7 : Moved GetValueType() to JSONSchemaValidator #

Patch Set 8 : ,. #

Total comments: 2

Patch Set 9 : Back to patch set 6 #

Patch Set 10 : Added missing files #

Total comments: 2

Patch Set 11 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -172 lines) Patch
M chrome/browser/policy/policy_loader_win.h View 1 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/policy/policy_loader_win.cc View 1 2 3 4 5 6 7 8 5 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/policy/policy_loader_win_unittest.cc View 1 2 4 chunks +17 lines, -14 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/json_schema_constants.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/common/json_schema_constants.cc View 1 2 9 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/common/json_schema_validator.cc View 1 2 7 8 19 chunks +41 lines, -37 lines 0 comments Download
M chrome/common/json_schema_validator_unittest_base.cc View 1 2 3 4 5 7 8 16 chunks +146 lines, -97 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Joao da Silva
8 years, 5 months ago (2012-06-28 12:53:21 UTC) #1
Mattias Nissler (ping if slow)
LGTM, but please also run this by the maintainer of JSONSchemaValidator.
8 years, 5 months ago (2012-06-28 12:56:47 UTC) #2
Joao da Silva
@Aaron: you seem to be the author of the JSONSchemaValidator, can you have a look? ...
8 years, 5 months ago (2012-06-28 12:58:47 UTC) #3
Aaron Boodman
https://chromiumcodereview.appspot.com/10696034/diff/1/chrome/common/json_schema_constants.h File chrome/common/json_schema_constants.h (right): https://chromiumcodereview.appspot.com/10696034/diff/1/chrome/common/json_schema_constants.h#newcode10 chrome/common/json_schema_constants.h:10: extern const char kAdditionalProperties[]; Did you consider just making ...
8 years, 5 months ago (2012-06-28 21:24:11 UTC) #4
Joao da Silva
https://chromiumcodereview.appspot.com/10696034/diff/1/chrome/common/json_schema_constants.h File chrome/common/json_schema_constants.h (right): https://chromiumcodereview.appspot.com/10696034/diff/1/chrome/common/json_schema_constants.h#newcode10 chrome/common/json_schema_constants.h:10: extern const char kAdditionalProperties[]; On 2012/06/28 21:24:11, Aaron Boodman ...
8 years, 5 months ago (2012-06-29 09:03:14 UTC) #5
Aaron Boodman
Actually, stepping back, I'm a bit confused as to what is even going on here. ...
8 years, 5 months ago (2012-06-29 21:32:10 UTC) #6
Joao da Silva
On 2012/06/29 21:32:10, Aaron Boodman wrote: > Actually, stepping back, I'm a bit confused as ...
8 years, 5 months ago (2012-07-02 09:01:00 UTC) #7
Aaron Boodman
I'm going through old CLs and found this one. Do you still want this reviews?
8 years, 4 months ago (2012-08-06 23:40:44 UTC) #8
Joao da Silva
This CL isn't terribly important, I just find it nicer to share the constants (the ...
8 years, 4 months ago (2012-08-07 09:34:49 UTC) #9
Aaron Boodman
Instead of poking into the JSON Schema format, is it possible to expose this functionality ...
8 years, 4 months ago (2012-08-10 19:30:23 UTC) #10
Aaron Boodman
Ping?
8 years, 3 months ago (2012-09-04 21:36:06 UTC) #11
Joao da Silva
@aa: PTAL. Bit the bullet and went for the prefix each time :-) http://codereview.chromium.org/10696034/diff/1/chrome/browser/policy/policy_loader_win.cc File ...
8 years, 3 months ago (2012-09-05 14:03:29 UTC) #12
Aaron Boodman
http://codereview.chromium.org/10696034/diff/1/chrome/browser/policy/policy_loader_win.cc File chrome/browser/policy/policy_loader_win.cc (right): http://codereview.chromium.org/10696034/diff/1/chrome/browser/policy/policy_loader_win.cc#newcode225 chrome/browser/policy/policy_loader_win.cc:225: base::Value::Type GetType(const base::DictionaryValue* schema, On 2012/09/05 14:03:29, Joao da ...
8 years, 3 months ago (2012-09-11 22:32:39 UTC) #13
Joao da Silva
PTYAL :-) http://codereview.chromium.org/10696034/diff/1/chrome/browser/policy/policy_loader_win.cc File chrome/browser/policy/policy_loader_win.cc (right): http://codereview.chromium.org/10696034/diff/1/chrome/browser/policy/policy_loader_win.cc#newcode225 chrome/browser/policy/policy_loader_win.cc:225: base::Value::Type GetType(const base::DictionaryValue* schema, On 2012/09/11 22:32:39, ...
8 years, 3 months ago (2012-09-12 16:09:39 UTC) #14
Aaron Boodman
lgtm http://codereview.chromium.org/10696034/diff/25008/chrome/common/json_schema_validator.cc File chrome/common/json_schema_validator.cc (right): http://codereview.chromium.org/10696034/diff/25008/chrome/common/json_schema_validator.cc#newcode104 chrome/common/json_schema_validator.cc:104: bool JSONSchemaValidator::GetValueType(const std::string& schema_type, Ah, this function actually ...
8 years, 3 months ago (2012-09-16 00:58:43 UTC) #15
Joao da Silva
Thanks for the review! @thakis: please do an owner check for chrome/ http://codereview.chromium.org/10696034/diff/25008/chrome/common/json_schema_validator.cc File chrome/common/json_schema_validator.cc ...
8 years, 3 months ago (2012-09-16 08:40:37 UTC) #16
Nico
lgtm http://codereview.chromium.org/10696034/diff/28015/chrome/common/json_schema_constants.h File chrome/common/json_schema_constants.h (right): http://codereview.chromium.org/10696034/diff/28015/chrome/common/json_schema_constants.h#newcode8 chrome/common/json_schema_constants.h:8: namespace json_schema_constants { add overview comment
8 years, 3 months ago (2012-09-16 13:15:29 UTC) #17
Joao da Silva
Thanks Nico! http://codereview.chromium.org/10696034/diff/28015/chrome/common/json_schema_constants.h File chrome/common/json_schema_constants.h (right): http://codereview.chromium.org/10696034/diff/28015/chrome/common/json_schema_constants.h#newcode8 chrome/common/json_schema_constants.h:8: namespace json_schema_constants { On 2012/09/16 13:15:29, Nico ...
8 years, 3 months ago (2012-09-16 13:36:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10696034/26010
8 years, 3 months ago (2012-09-16 13:36:41 UTC) #19
commit-bot: I haz the power
8 years, 3 months ago (2012-09-16 15:36:25 UTC) #20
Change committed as 157051

Powered by Google App Engine
This is Rietveld 408576698