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

Issue 10127009: Make NameValuePairsParser support values that contain the 'equal' separator. (Closed)

Created:
8 years, 8 months ago by Joao da Silva
Modified:
8 years, 8 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, petkov
Visibility:
Public.

Description

Make NameValuePairsParser support values that contain the 'equal' separator. BUG=chromium-os:29642 TEST=unit_tests pass. ALEX devices and others report their HWID correctly to the UMA service. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133429

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Log on name/value pair collision, rebased #

Patch Set 4 : Fix typo #

Total comments: 6

Patch Set 5 : Addressed comments, removed changes to metrics_service.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -72 lines) Patch
M chrome/browser/chromeos/system/name_value_pairs_parser.h View 1 2 chunks +13 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/system/name_value_pairs_parser.cc View 1 2 3 4 4 chunks +38 lines, -34 lines 0 comments Download
M chrome/browser/chromeos/system/name_value_pairs_parser_unittest.cc View 4 chunks +42 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/system/statistics_provider.cc View 1 3 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/system/udev_info_provider.cc View 2 chunks +14 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Joao da Silva
8 years, 8 months ago (2012-04-19 13:23:16 UTC) #1
petkov
http://codereview.chromium.org/10127009/diff/1/chrome/browser/chromeos/system/statistics_provider.cc File chrome/browser/chromeos/system/statistics_provider.cc (right): http://codereview.chromium.org/10127009/diff/1/chrome/browser/chromeos/system/statistics_provider.cc#newcode111 chrome/browser/chromeos/system/statistics_provider.cc:111: It might be a good idea to add another ...
8 years, 8 months ago (2012-04-19 13:47:01 UTC) #2
Mattias Nissler (ping if slow)
Looks reasonable to me, but I don't know this code, so I defer to somebody ...
8 years, 8 months ago (2012-04-19 13:51:39 UTC) #3
Joao da Silva
Adding @dpolukhin to review the changes to name_value_pairs_parser. PTAL. http://codereview.chromium.org/10127009/diff/1/chrome/browser/chromeos/system/name_value_pairs_parser.cc File chrome/browser/chromeos/system/name_value_pairs_parser.cc (right): http://codereview.chromium.org/10127009/diff/1/chrome/browser/chromeos/system/name_value_pairs_parser.cc#newcode21 chrome/browser/chromeos/system/name_value_pairs_parser.cc:21: ...
8 years, 8 months ago (2012-04-19 16:01:30 UTC) #4
Dmitry Polukhin
LGTM with nit http://codereview.chromium.org/10127009/diff/7001/chrome/browser/chromeos/system/name_value_pairs_parser.cc File chrome/browser/chromeos/system/name_value_pairs_parser.cc (right): http://codereview.chromium.org/10127009/diff/7001/chrome/browser/chromeos/system/name_value_pairs_parser.cc#newcode51 chrome/browser/chromeos/system/name_value_pairs_parser.cc:51: } Should we report warning if ...
8 years, 8 months ago (2012-04-23 08:34:48 UTC) #5
Joao da Silva
Thanks for reviewing! http://codereview.chromium.org/10127009/diff/7001/chrome/browser/chromeos/system/name_value_pairs_parser.cc File chrome/browser/chromeos/system/name_value_pairs_parser.cc (right): http://codereview.chromium.org/10127009/diff/7001/chrome/browser/chromeos/system/name_value_pairs_parser.cc#newcode51 chrome/browser/chromeos/system/name_value_pairs_parser.cc:51: } On 2012/04/23 08:34:48, Dmitry Polukhin ...
8 years, 8 months ago (2012-04-23 09:13:17 UTC) #6
petkov
LGTM http://codereview.chromium.org/10127009/diff/10002/chrome/browser/chromeos/system/name_value_pairs_parser.cc File chrome/browser/chromeos/system/name_value_pairs_parser.cc (right): http://codereview.chromium.org/10127009/diff/10002/chrome/browser/chromeos/system/name_value_pairs_parser.cc#newcode48 chrome/browser/chromeos/system/name_value_pairs_parser.cc:48: if (map_->find(key) == map_->end()) { you could use ...
8 years, 8 months ago (2012-04-23 09:34:06 UTC) #7
Joao da Silva
http://codereview.chromium.org/10127009/diff/10002/chrome/browser/chromeos/system/name_value_pairs_parser.cc File chrome/browser/chromeos/system/name_value_pairs_parser.cc (right): http://codereview.chromium.org/10127009/diff/10002/chrome/browser/chromeos/system/name_value_pairs_parser.cc#newcode48 chrome/browser/chromeos/system/name_value_pairs_parser.cc:48: if (map_->find(key) == map_->end()) { On 2012/04/23 09:34:06, petkov ...
8 years, 8 months ago (2012-04-23 09:50:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joaodasilva@chromium.org/10127009/22001
8 years, 8 months ago (2012-04-23 11:16:35 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-23 12:50:03 UTC) #10
Change committed as 133429

Powered by Google App Engine
This is Rietveld 408576698