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 103283003: Media Galleries API Metadata: SafeMediaMetadataParser and IPCTunnelDataReader. (Closed)

Created:
7 years ago by tommycli
Modified:
6 years, 11 months ago
CC:
chromium-reviews, vandebo (ex-Chrome), tzik, Lei Zhang, nhiroki, tommycli, Greg Billock, kinuko+watch
Visibility:
Public.

Description

Media Galleries API Metadata: SafeMediaMetadataParser and IPCTunnelDataReader. BUG=318450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244310

Patch Set 1 #

Patch Set 2 : self review #

Patch Set 3 : self review 2 #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : fix ownership issues #

Total comments: 26

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : address vandebo comments #

Patch Set 13 : assign callback on io thread #

Total comments: 18

Patch Set 14 : #

Patch Set 15 : fix function definition formatting #

Total comments: 6

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+427 lines, -4 lines) Patch
A chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +89 lines, -0 lines 0 comments Download
A chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +130 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 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 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_utility_messages.h View 1 2 3 4 5 6 7 8 12 13 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +28 lines, -1 line 0 comments Download
A chrome/utility/media_galleries/ipc_data_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/utility/media_galleries/ipc_data_source.cc View 1 2 3 4 5 6 7 8 12 13 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/utility/media_galleries/media_metadata_parser.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
tommycli
https://codereview.chromium.org/103283003/diff/40001/chrome/utility/chrome_content_utility_client.h File chrome/utility/chrome_content_utility_client.h (right): https://codereview.chromium.org/103283003/diff/40001/chrome/utility/chrome_content_utility_client.h#newcode134 chrome/utility/chrome_content_utility_client.h:134: metadata::IPCTunnelDataReader* ipc_tunnel_data_reader_; This is kind of janky. It's here ...
7 years ago (2013-12-04 01:30:38 UTC) #1
tommycli
vandebo: I fixed the ownership issue (finally). Let me know what you think. https://codereview.chromium.org/103283003/diff/40001/chrome/utility/chrome_content_utility_client.h File ...
6 years, 11 months ago (2014-01-06 20:25:11 UTC) #2
vandebo (ex-Chrome)
https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode67 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:67: MediaMetadata::FromValue(metadata_dictionary)); Aren't we going to need to turn this ...
6 years, 11 months ago (2014-01-07 18:34:58 UTC) #3
tommycli
https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode67 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:67: MediaMetadata::FromValue(metadata_dictionary)); On 2014/01/07 18:34:59, vandebo wrote: > Aren't we ...
6 years, 11 months ago (2014-01-07 20:23:29 UTC) #4
vandebo (ex-Chrome)
https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/130001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode87 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:87: base::Unretained(this), On 2014/01/07 20:23:31, tommycli wrote: > On 2014/01/07 ...
6 years, 11 months ago (2014-01-08 00:26:17 UTC) #5
tommycli
vandebo: thanks! When you look at the interpatchset delta, there may be some extra lines, ...
6 years, 11 months ago (2014-01-08 01:17:09 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/103283003/diff/400002/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/400002/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode26 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:26: scoped_ptr<std::string> data) { Sorry, I didn't know that BlobReader ...
6 years, 11 months ago (2014-01-08 17:48:06 UTC) #7
tommycli
https://codereview.chromium.org/103283003/diff/400002/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/400002/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode26 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:26: scoped_ptr<std::string> data) { On 2014/01/08 17:48:06, vandebo wrote: > ...
6 years, 11 months ago (2014-01-08 18:59:37 UTC) #8
vandebo (ex-Chrome)
LGTM
6 years, 11 months ago (2014-01-08 20:18:21 UTC) #9
tommycli
thestig: Need OWNER review on chrome/chrome.gyp and chrome/utility/chrome_content_utility_client.* tsepez: Need OWNER review on chrome/common/chrome_utility_messages.h
6 years, 11 months ago (2014-01-08 20:28:06 UTC) #10
Tom Sepez
Messages LGTM.
6 years, 11 months ago (2014-01-08 22:53:00 UTC) #11
tommycli
thestig: Can I get a quick looksee on this one? I think it's been mostly ...
6 years, 11 months ago (2014-01-10 19:06:50 UTC) #12
Lei Zhang
lgtm https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode88 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:88: make_scoped_ptr(metadata_dictionary.DeepCopy())))); Given then way its used in SendMediaMetadataToHost(), ...
6 years, 11 months ago (2014-01-10 20:46:09 UTC) #13
tommycli
thestig: Thanks! https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode88 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:88: make_scoped_ptr(metadata_dictionary.DeepCopy())))); On 2014/01/10 20:46:09, Lei Zhang wrote: ...
6 years, 11 months ago (2014-01-10 22:41:07 UTC) #14
Lei Zhang
https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode88 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:88: make_scoped_ptr(metadata_dictionary.DeepCopy())))); On 2014/01/10 22:41:08, tommycli wrote: > On 2014/01/10 ...
6 years, 11 months ago (2014-01-10 22:48:48 UTC) #15
tommycli
https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc File chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc (right): https://codereview.chromium.org/103283003/diff/910001/chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc#newcode88 chrome/browser/media_galleries/fileapi/safe_media_metadata_parser.cc:88: make_scoped_ptr(metadata_dictionary.DeepCopy())))); On 2014/01/10 22:48:48, Lei Zhang wrote: > On ...
6 years, 11 months ago (2014-01-10 23:33:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/103283003/1090001
6 years, 11 months ago (2014-01-11 00:14:21 UTC) #17
commit-bot: I haz the power
6 years, 11 months ago (2014-01-11 02:25:41 UTC) #18
Message was sent while issue was closed.
Change committed as 244310

Powered by Google App Engine
This is Rietveld 408576698