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 13529028: PicasaAlbumTableReader for Media Galleries API (Closed)

Created:
7 years, 8 months ago by tommycli
Modified:
7 years, 8 months ago
CC:
chromium-reviews, tzik+watch_chromium.org, kinuko+watch, darin-cc_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@0005-picasa-import-pmp-reader
Visibility:
Public.

Description

PicasaAlbumTableReader for Media Galleries API BUG=151701 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196323

Patch Set 1 #

Patch Set 2 : Formatting fixes. #

Total comments: 26

Patch Set 3 : Address vandebo's comments. #

Total comments: 18

Patch Set 4 : Improvements to interface of Pmp*Reader #

Patch Set 5 : Formatting fixes. #

Total comments: 31

Patch Set 6 : Address vandebo's comments. #

Patch Set 7 : Add IO assertion. #

Patch Set 8 : Missing include. #

Total comments: 10

Patch Set 9 : Remove PmpTableReader::Init, fix up some tests #

Total comments: 6

Patch Set 10 : Remove extraneous override. #

Patch Set 11 : Rename PicasaAlbumDataReader => PicasaAlbumTableReader #

Total comments: 14

Patch Set 12 : Add unit test for PicasaAlbumTableReader #

Patch Set 13 : Remove extra field in column reader" #

Patch Set 14 : Fix bug #

Patch Set 15 : Add a space #

Patch Set 16 : Fix ifdef guard. #

Total comments: 8

Patch Set 17 : Formatting fixes. #

Patch Set 18 : Merge in move of webkit/fileapi/media. #

Patch Set 19 : #

Patch Set 20 : Some interface changes #

Patch Set 21 : #

Patch Set 22 : Add destructors to structs to make mac build happy. #

Patch Set 23 : Update gypi file to exclude test on android. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -151 lines) Patch
A chrome/browser/media_galleries/fileapi/picasa/picasa_album_table_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +81 lines, -0 lines 0 comments Download
A chrome/browser/media_galleries/fileapi/picasa/picasa_album_table_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +157 lines, -0 lines 0 comments Download
A chrome/browser/media_galleries/fileapi/picasa/picasa_album_table_reader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +90 lines, -0 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_column_reader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +60 lines, -36 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +18 lines, -8 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +34 lines, -44 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_table_reader_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +12 lines, -22 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/media_galleries/fileapi/picasa/pmp_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +33 lines, -26 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
tommycli
Might as well get the review on this started. This depends on the other CL ...
7 years, 8 months ago (2013-04-05 23:04:07 UTC) #1
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/13529028/diff/2001/webkit/fileapi/media/picasa/album_info.h File webkit/fileapi/media/picasa/album_info.h (right): https://chromiumcodereview.appspot.com/13529028/diff/2001/webkit/fileapi/media/picasa/album_info.h#newcode15 webkit/fileapi/media/picasa/album_info.h:15: I think this can all go into pmp_albumdata_table_reader.h https://chromiumcodereview.appspot.com/13529028/diff/2001/webkit/fileapi/media/picasa/album_info.h#newcode22 ...
7 years, 8 months ago (2013-04-06 01:10:30 UTC) #2
tommycli
Consolidate some files. Rationalize naming. Remove unnecessary inheritance. Remove unnecessary struct fields. https://codereview.chromium.org/13529028/diff/2001/webkit/fileapi/media/picasa/album_info.h File webkit/fileapi/media/picasa/album_info.h ...
7 years, 8 months ago (2013-04-08 17:17:29 UTC) #3
vandebo (ex-Chrome)
https://codereview.chromium.org/13529028/diff/2001/webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc File webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/2001/webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc#newcode91 webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc:91: if(!columns[kColCategory]->ReadUInt32(i, &category) || On 2013/04/08 17:17:29, tommycli wrote: > ...
7 years, 8 months ago (2013-04-08 19:02:30 UTC) #4
tommycli
I made the AddColumn method also take an |expected_type| parameter and validate it. https://codereview.chromium.org/13529028/diff/9001/webkit/fileapi/media/picasa/picasa_albumdata_reader.cc File ...
7 years, 8 months ago (2013-04-08 23:27:09 UTC) #5
vandebo (ex-Chrome)
https://codereview.chromium.org/13529028/diff/9001/webkit/fileapi/media/picasa/picasa_albumdata_reader.cc File webkit/fileapi/media/picasa/picasa_albumdata_reader.cc (right): https://codereview.chromium.org/13529028/diff/9001/webkit/fileapi/media/picasa/picasa_albumdata_reader.cc#newcode38 webkit/fileapi/media/picasa/picasa_albumdata_reader.cc:38: const uint16 kAlbumCategoryInvalid = 0xffff; On 2013/04/08 23:27:10, tommycli ...
7 years, 8 months ago (2013-04-08 23:57:24 UTC) #6
tommycli
https://codereview.chromium.org/13529028/diff/2001/webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc File webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/2001/webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc#newcode91 webkit/fileapi/media/picasa/pmp_albumdata_table_reader.cc:91: if(!columns[kColCategory]->ReadUInt32(i, &category) || On 2013/04/08 19:02:30, vandebo wrote: > ...
7 years, 8 months ago (2013-04-09 00:45:33 UTC) #7
vandebo (ex-Chrome)
https://codereview.chromium.org/13529028/diff/18001/webkit/fileapi/media/picasa/pmp_table_reader.cc File webkit/fileapi/media/picasa/pmp_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/18001/webkit/fileapi/media/picasa/pmp_table_reader.cc#newcode32 webkit/fileapi/media/picasa/pmp_table_reader.cc:32: bool PmpTableReader::Init() { On 2013/04/09 00:45:34, tommycli wrote: > ...
7 years, 8 months ago (2013-04-09 19:16:56 UTC) #8
tommycli
https://codereview.chromium.org/13529028/diff/18001/webkit/fileapi/media/picasa/pmp_table_reader.cc File webkit/fileapi/media/picasa/pmp_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/18001/webkit/fileapi/media/picasa/pmp_table_reader.cc#newcode32 webkit/fileapi/media/picasa/pmp_table_reader.cc:32: bool PmpTableReader::Init() { On 2013/04/09 19:16:56, vandebo wrote: > ...
7 years, 8 months ago (2013-04-11 18:24:05 UTC) #9
vandebo (ex-Chrome)
+Greg for a fresh look LGTM after the following comments. https://codereview.chromium.org/13529028/diff/54001/webkit/fileapi/media/picasa/picasa_album_data_reader.cc File webkit/fileapi/media/picasa/picasa_album_data_reader.cc (right): https://codereview.chromium.org/13529028/diff/54001/webkit/fileapi/media/picasa/picasa_album_data_reader.cc#newcode108 ...
7 years, 8 months ago (2013-04-11 20:29:22 UTC) #10
tommycli
https://codereview.chromium.org/13529028/diff/54001/webkit/fileapi/media/picasa/picasa_album_data_reader.cc File webkit/fileapi/media/picasa/picasa_album_data_reader.cc (right): https://codereview.chromium.org/13529028/diff/54001/webkit/fileapi/media/picasa/picasa_album_data_reader.cc#newcode108 webkit/fileapi/media/picasa/picasa_album_data_reader.cc:108: #if defined(OS_WIN) On 2013/04/11 20:29:22, vandebo wrote: > FromUTF8Unsafe ...
7 years, 8 months ago (2013-04-11 20:51:27 UTC) #11
Greg Billock
https://codereview.chromium.org/13529028/diff/69002/webkit/fileapi/media/picasa/picasa_album_table_reader.cc File webkit/fileapi/media/picasa/picasa_album_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/69002/webkit/fileapi/media/picasa/picasa_album_table_reader.cc#newcode58 webkit/fileapi/media/picasa/picasa_album_table_reader.cc:58: bool PicasaAlbumTableReader::Init(const base::FilePath& directory_path) { Need test. https://codereview.chromium.org/13529028/diff/69002/webkit/fileapi/media/picasa/picasa_album_table_reader.h File ...
7 years, 8 months ago (2013-04-11 23:12:44 UTC) #12
tommycli
Added a unit test and addressed gbillock's comments. https://codereview.chromium.org/13529028/diff/69002/webkit/fileapi/media/picasa/picasa_album_table_reader.cc File webkit/fileapi/media/picasa/picasa_album_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/69002/webkit/fileapi/media/picasa/picasa_album_table_reader.cc#newcode58 webkit/fileapi/media/picasa/picasa_album_table_reader.cc:58: bool ...
7 years, 8 months ago (2013-04-12 20:47:44 UTC) #13
Greg Billock
https://codereview.chromium.org/13529028/diff/96001/webkit/fileapi/media/picasa/picasa_album_table_reader.cc File webkit/fileapi/media/picasa/picasa_album_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/96001/webkit/fileapi/media/picasa/picasa_album_table_reader.cc#newcode76 webkit/fileapi/media/picasa/picasa_album_table_reader.cc:76: std::string name, uid; separate lines https://codereview.chromium.org/13529028/diff/96001/webkit/fileapi/media/picasa/picasa_album_table_reader.cc#newcode114 webkit/fileapi/media/picasa/picasa_album_table_reader.cc:114: return initialized_ ...
7 years, 8 months ago (2013-04-12 23:17:58 UTC) #14
tommycli
https://codereview.chromium.org/13529028/diff/96001/webkit/fileapi/media/picasa/picasa_album_table_reader.cc File webkit/fileapi/media/picasa/picasa_album_table_reader.cc (right): https://codereview.chromium.org/13529028/diff/96001/webkit/fileapi/media/picasa/picasa_album_table_reader.cc#newcode76 webkit/fileapi/media/picasa/picasa_album_table_reader.cc:76: std::string name, uid; On 2013/04/12 23:17:58, Greg Billock wrote: ...
7 years, 8 months ago (2013-04-12 23:44:04 UTC) #15
Greg Billock
lgtm
7 years, 8 months ago (2013-04-16 19:01:05 UTC) #16
Avi (use Gerrit)
lgtm as it matches up with existing code... but I'm not happy about all this ...
7 years, 8 months ago (2013-04-16 19:05:03 UTC) #17
darin (slow to review)
It looks like OWNERS review is still required. I feel like this code does not ...
7 years, 8 months ago (2013-04-16 19:38:52 UTC) #18
tommycli
jam: This change is based on the CL you just reviewed (https://codereview.chromium.org/14247034). It puts the ...
7 years, 8 months ago (2013-04-23 17:53:04 UTC) #19
tommycli
jam: I need an lgtm since it modifies the chrome/*.gypi files.
7 years, 8 months ago (2013-04-23 17:54:01 UTC) #20
jam
On 2013/04/23 17:54:01, tommycli wrote: > jam: I need an lgtm since it modifies the ...
7 years, 8 months ago (2013-04-23 20:30:06 UTC) #21
tommycli
thestig: need lgtm on chrome/*.gypi files.
7 years, 8 months ago (2013-04-23 22:12:42 UTC) #22
Lei Zhang
lgtm since the code has been moved out of webkit/fileapi
7 years, 8 months ago (2013-04-23 22:22:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/13529028/130001
7 years, 8 months ago (2013-04-24 23:57:55 UTC) #24
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 8 months ago (2013-04-24 23:59:55 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/13529028/142001
7 years, 8 months ago (2013-04-25 00:07:40 UTC) #26
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-25 00:38:20 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/13529028/149001
7 years, 8 months ago (2013-04-25 01:38:10 UTC) #28
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=139411
7 years, 8 months ago (2013-04-25 04:25:07 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/13529028/149001
7 years, 8 months ago (2013-04-25 04:37:22 UTC) #30
commit-bot: I haz the power
7 years, 8 months ago (2013-04-25 05:47:45 UTC) #31
Message was sent while issue was closed.
Change committed as 196323

Powered by Google App Engine
This is Rietveld 408576698