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

Issue 436293002: Created helper class for parsing Apple style XML dictionaries. (Closed)

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

Description

Created helper class for parsing Apple style XML dictionaries. Converted iTunes and iPhotos parser to use it. BUG=302745 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287940

Patch Set 1 #

Patch Set 2 : Missed GetAlbumInfoFromDict() #

Patch Set 3 : Converted IPhotoLibraryParser #

Total comments: 24

Patch Set 4 : Code review #

Total comments: 2

Patch Set 5 : One more tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -212 lines) Patch
M chrome/utility/media_galleries/iapps_xml_utils.h View 1 2 3 4 2 chunks +50 lines, -0 lines 0 comments Download
M chrome/utility/media_galleries/iapps_xml_utils.cc View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/utility/media_galleries/iphoto_library_parser.cc View 1 2 3 4 chunks +113 lines, -144 lines 0 comments Download
M chrome/utility/media_galleries/itunes_library_parser.cc View 1 2 3 2 chunks +43 lines, -68 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Kevin Bailey
Well... it's a net loss in LOC, but I think it's a lot cleaner. In ...
6 years, 4 months ago (2014-08-05 15:19:12 UTC) #1
Lei Zhang
I think it's still a win in terms of reduced complexity. https://codereview.chromium.org/436293002/diff/40001/chrome/utility/media_galleries/iapps_xml_utils.cc File chrome/utility/media_galleries/iapps_xml_utils.cc (right): ...
6 years, 4 months ago (2014-08-05 19:38:24 UTC) #2
Kevin Bailey
https://codereview.chromium.org/436293002/diff/40001/chrome/utility/media_galleries/iapps_xml_utils.cc File chrome/utility/media_galleries/iapps_xml_utils.cc (right): https://codereview.chromium.org/436293002/diff/40001/chrome/utility/media_galleries/iapps_xml_utils.cc#newcode127 chrome/utility/media_galleries/iapps_xml_utils.cc:127: while (reader_->Depth() >= dict_content_depth && reader_->Next()) On 2014/08/05 19:38:24, ...
6 years, 4 months ago (2014-08-05 21:52:06 UTC) #3
Lei Zhang
lgtm https://codereview.chromium.org/436293002/diff/60001/chrome/utility/media_galleries/iapps_xml_utils.h File chrome/utility/media_galleries/iapps_xml_utils.h (right): https://codereview.chromium.org/436293002/diff/60001/chrome/utility/media_galleries/iapps_xml_utils.h#newcode75 chrome/utility/media_galleries/iapps_xml_utils.h:75: bool Found(const std::string& key) { const method? https://codereview.chromium.org/436293002/diff/60001/chrome/utility/media_galleries/iapps_xml_utils.h#newcode76 ...
6 years, 4 months ago (2014-08-05 21:58:00 UTC) #4
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 4 months ago (2014-08-06 21:41:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krb@chromium.org/436293002/80001
6 years, 4 months ago (2014-08-06 21:42:36 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 02:40:38 UTC) #7
Message was sent while issue was closed.
Change committed as 287940

Powered by Google App Engine
This is Rietveld 408576698