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

Issue 10825042: Implement media path filter (Closed)

Created:
8 years, 5 months ago by tzik
Modified:
8 years, 4 months ago
CC:
chromium-reviews, gbillock+watch_chromium.org, smckay+watch_chromium.org, kinuko+watch, darin-cc_chromium.org, feature-media-reviews_chromium.org, kmadhusu, vandebo (ex-Chrome)
Visibility:
Public.

Description

Implement media path filter BUG=137670 TEST='NativeMediaFileUtilTest.*' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149566

Patch Set 1 #

Total comments: 19

Patch Set 2 : +Test #

Patch Set 3 : #

Patch Set 4 : build fix for clang #

Patch Set 5 : #

Patch Set 6 : s/kFileSystemTypeLocalMedia/kFileSystemTypeNativeMedia/ #

Patch Set 7 : s/LocalMediaFileUtil/NativeMediaFileUtil/ #

Total comments: 20

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 10

Patch Set 11 : #

Total comments: 4

Patch Set 12 : #

Total comments: 6

Patch Set 13 : #

Patch Set 14 : build fix #

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+623 lines, -23 lines) Patch
M chrome/browser/intents/device_attached_intent_source.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_operation_interface.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M webkit/fileapi/file_system_types.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_util.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 2 3 4 5 6 4 chunks +26 lines, -6 lines 0 comments Download
A webkit/fileapi/media/media_path_filter.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +35 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_path_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +51 lines, -0 lines 0 comments Download
A webkit/fileapi/media/native_media_file_util.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +72 lines, -0 lines 0 comments Download
A webkit/fileapi/media/native_media_file_util.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +191 lines, -0 lines 0 comments Download
A webkit/fileapi/media/native_media_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +201 lines, -0 lines 0 comments Download
M webkit/fileapi/obfuscated_file_util.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -15 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
tzik
Could take a look to it? I'll add some test soon.
8 years, 5 months ago (2012-07-26 18:44:55 UTC) #1
kinuko
Can you fill the BUG= line and also (later) update the issue how DeviceMediaFileUtil could ...
8 years, 4 months ago (2012-07-26 20:21:56 UTC) #2
kmadhusu
http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode57 chrome/browser/intents/device_attached_intent_source.cc:57: fileapi::kFileSystemTypeLocalMedia, device_path, &device_name); This is a file system for ...
8 years, 4 months ago (2012-07-26 20:26:43 UTC) #3
tzik
http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode57 chrome/browser/intents/device_attached_intent_source.cc:57: fileapi::kFileSystemTypeLocalMedia, device_path, &device_name); On 2012/07/26 20:26:43, kmadhusu wrote: > ...
8 years, 4 months ago (2012-07-27 01:00:23 UTC) #4
kmadhusu
http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode57 chrome/browser/intents/device_attached_intent_source.cc:57: fileapi::kFileSystemTypeLocalMedia, device_path, &device_name); On 2012/07/27 01:00:23, tzik wrote: > ...
8 years, 4 months ago (2012-07-27 01:22:42 UTC) #5
tzik
http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc File webkit/fileapi/media/local_media_file_util.cc (right): http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc#newcode37 webkit/fileapi/media/local_media_file_util.cc:37: } On 2012/07/26 20:21:56, kinuko wrote: > Why is ...
8 years, 4 months ago (2012-07-27 17:18:55 UTC) #6
tzik
http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10825042/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode57 chrome/browser/intents/device_attached_intent_source.cc:57: fileapi::kFileSystemTypeLocalMedia, device_path, &device_name); On 2012/07/27 01:22:42, kmadhusu wrote: > ...
8 years, 4 months ago (2012-07-27 18:33:22 UTC) #7
tzik
+Steve (vandebo@) Could you take a look to it?
8 years, 4 months ago (2012-07-28 01:17:54 UTC) #8
kinuko
looking good. http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc File webkit/fileapi/media/local_media_file_util.cc (right): http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc#newcode37 webkit/fileapi/media/local_media_file_util.cc:37: } On 2012/07/27 17:18:56, tzik wrote: > ...
8 years, 4 months ago (2012-07-28 01:23:34 UTC) #9
vandebo (ex-Chrome)
Looking good. http://codereview.chromium.org/10825042/diff/8006/webkit/fileapi/media/media_path_filter.cc File webkit/fileapi/media/media_path_filter.cc (right): http://codereview.chromium.org/10825042/diff/8006/webkit/fileapi/media/media_path_filter.cc#newcode15 webkit/fileapi/media/media_path_filter.cc:15: net::GetImageExtensions(&media_file_extensions_); This seems ok, but maybe we ...
8 years, 4 months ago (2012-07-30 17:01:43 UTC) #10
tzik
http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc File webkit/fileapi/media/local_media_file_util.cc (right): http://codereview.chromium.org/10825042/diff/1/webkit/fileapi/media/local_media_file_util.cc#newcode57 webkit/fileapi/media/local_media_file_util.cc:57: } // anonymous namespace On 2012/07/28 01:23:35, kinuko wrote: ...
8 years, 4 months ago (2012-07-30 23:32:35 UTC) #11
kinuko
lgtm mod nits. http://codereview.chromium.org/10825042/diff/9008/webkit/fileapi/file_system_types.h File webkit/fileapi/file_system_types.h (right): http://codereview.chromium.org/10825042/diff/9008/webkit/fileapi/file_system_types.h#newcode41 webkit/fileapi/file_system_types.h:41: kFileSystemTypeDeviceMedia, nit: Can you add a ...
8 years, 4 months ago (2012-07-31 01:26:35 UTC) #12
tzik
http://codereview.chromium.org/10825042/diff/9008/webkit/fileapi/file_system_types.h File webkit/fileapi/file_system_types.h (right): http://codereview.chromium.org/10825042/diff/9008/webkit/fileapi/file_system_types.h#newcode41 webkit/fileapi/file_system_types.h:41: kFileSystemTypeDeviceMedia, On 2012/07/31 01:26:35, kinuko wrote: > nit: Can ...
8 years, 4 months ago (2012-07-31 22:31:23 UTC) #13
kinuko
lgtm http://codereview.chromium.org/10825042/diff/13020/webkit/fileapi/media/media_path_filter.h File webkit/fileapi/media/media_path_filter.h (right): http://codereview.chromium.org/10825042/diff/13020/webkit/fileapi/media/media_path_filter.h#newcode21 webkit/fileapi/media/media_path_filter.h:21: typedef std::vector<FilePath::StringType> MediaFileExtensionList; nit: this could be probably ...
8 years, 4 months ago (2012-07-31 23:36:50 UTC) #14
tzik
kinuko: Thanks for reviewing. kmadhusu, vandebo: Could you take a look to it? Does it ...
8 years, 4 months ago (2012-08-01 00:54:05 UTC) #15
vandebo (ex-Chrome)
LGTM http://codereview.chromium.org/10825042/diff/36/webkit/fileapi/isolated_mount_point_provider.h File webkit/fileapi/isolated_mount_point_provider.h (right): http://codereview.chromium.org/10825042/diff/36/webkit/fileapi/isolated_mount_point_provider.h#newcode61 webkit/fileapi/isolated_mount_point_provider.h:61: scoped_ptr<MediaPathFilter> media_path_filter_; nit: two spaces http://codereview.chromium.org/10825042/diff/36/webkit/fileapi/media/media_path_filter.cc File webkit/fileapi/media/media_path_filter.cc ...
8 years, 4 months ago (2012-08-01 01:11:04 UTC) #16
Avi (use Gerrit)
adding test to gypi++ LGTM
8 years, 4 months ago (2012-08-01 01:17:51 UTC) #17
kmadhusu
lgtm
8 years, 4 months ago (2012-08-01 01:54:37 UTC) #18
tzik
http://codereview.chromium.org/10825042/diff/36/webkit/fileapi/isolated_mount_point_provider.h File webkit/fileapi/isolated_mount_point_provider.h (right): http://codereview.chromium.org/10825042/diff/36/webkit/fileapi/isolated_mount_point_provider.h#newcode61 webkit/fileapi/isolated_mount_point_provider.h:61: scoped_ptr<MediaPathFilter> media_path_filter_; On 2012/08/01 01:11:05, vandebo wrote: > nit: ...
8 years, 4 months ago (2012-08-01 21:46:05 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10825042/9012
8 years, 4 months ago (2012-08-01 21:46:22 UTC) #20
commit-bot: I haz the power
Presubmit check for 10825042-9012 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-01 21:46:36 UTC) #21
Lei Zhang
chrome/ lgtm
8 years, 4 months ago (2012-08-01 22:00:27 UTC) #22
tzik
On 2012/08/01 22:00:27, Lei Zhang wrote: > chrome/ lgtm Ah, I forgot ask you to ...
8 years, 4 months ago (2012-08-01 22:04:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10825042/9012
8 years, 4 months ago (2012-08-01 22:05:06 UTC) #24
commit-bot: I haz the power
Try job failure for 10825042-9012 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-01 22:33:29 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10825042/9015
8 years, 4 months ago (2012-08-01 22:35:48 UTC) #26
commit-bot: I haz the power
Try job failure for 10825042-9015 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-01 23:49:19 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/10825042/16009
8 years, 4 months ago (2012-08-02 00:57:42 UTC) #28
commit-bot: I haz the power
Change committed as 149566
8 years, 4 months ago (2012-08-02 02:55:30 UTC) #29
Mihai Parparita -not on Chrome
This causes the following assert when loading an unpacked extension in a debug build on ...
8 years, 4 months ago (2012-08-03 00:45:05 UTC) #30
kinuko
8 years, 4 months ago (2012-08-03 01:23:38 UTC) #31

Powered by Google App Engine
This is Rietveld 408576698