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

Issue 10781014: Isolated FS for media devices. (Closed)

Created:
8 years, 5 months ago by kmadhusu
Modified:
8 years, 4 months ago
Reviewers:
kinuko, Lei Zhang, brettw
CC:
chromium-reviews, kinuko+watch, darin-cc_chromium.org, vandebo (ex-Chrome), tzik
Visibility:
Public.

Description

Isolated FS for Media devices. Implemented a skeleton code to handle media file systems. BUG=140332 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149807

Patch Set 1 #

Total comments: 14

Patch Set 2 : Implemented MediaFileUtil. #

Patch Set 3 : #

Patch Set 4 : Add comments #

Total comments: 1

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : Refactor #

Patch Set 7 : Rebase #

Total comments: 2

Patch Set 8 : Addressed review comments. #

Total comments: 14

Patch Set 9 : '' #

Total comments: 6

Patch Set 10 : Addressed review comments #

Patch Set 11 : Modify gyp to build media files only on CrOS. #

Patch Set 12 : Fix gyp changes. #

Patch Set 13 : '' #

Patch Set 14 : Add webkit_file_system_config.h #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 2

Patch Set 17 : Fix tests #

Total comments: 8

Patch Set 18 : Addressed review comments #

Patch Set 19 : '' #

Patch Set 20 : Fix style nit #

Patch Set 21 : Rebase #

Patch Set 22 : Fix base_unittest #

Patch Set 23 : Fix shared_build compile error. #

Total comments: 32

Patch Set 24 : Addressed review comments #

Patch Set 25 : Fix MediaDeviceNotificationWindows unit test. #

Patch Set 26 : Fix nit #

Total comments: 18

Patch Set 27 : Addressed review comments #

Total comments: 38

Patch Set 28 : Addressed nits #

Patch Set 29 : Addressed nits #

Patch Set 30 : Rebase #

Total comments: 24

Patch Set 31 : Addressed nits #

Patch Set 32 : Fix Device intent source (media detach notification) #

Total comments: 15

Patch Set 33 : Rebase + Addressed comments. #

Total comments: 14

Patch Set 34 : Address comments #

Patch Set 35 : '' #

Patch Set 36 : '' #

Patch Set 37 : Rebase #

Patch Set 38 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+888 lines, -24 lines) Patch
M base/system_monitor/system_monitor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +3 lines, -2 lines 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/intents/device_attached_intent_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/intents/device_attached_intent_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 4 chunks +34 lines, -0 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 6 chunks +44 lines, -8 lines 0 comments Download
M webkit/fileapi/file_system_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_operation_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 chunks +20 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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +13 lines, -3 lines 0 comments Download
M webkit/fileapi/isolated_mount_point_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +34 lines, -3 lines 0 comments Download
A webkit/fileapi/media/device_media_file_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +106 lines, -0 lines 0 comments Download
A webkit/fileapi/media/device_media_file_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +202 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_device_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +44 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_device_interface_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +23 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_device_map_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +60 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_device_map_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +59 lines, -0 lines 0 comments Download
A webkit/fileapi/media/media_file_system_config.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +14 lines, -0 lines 0 comments Download
A webkit/fileapi/media/mtp_device_interface_impl_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +84 lines, -0 lines 0 comments Download
A webkit/fileapi/media/mtp_device_interface_impl_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +115 lines, -0 lines 0 comments Download
M webkit/fileapi/webkit_fileapi.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (0 generated)
kmadhusu
Cc'ed vandebo@
8 years, 5 months ago (2012-07-16 20:17:03 UTC) #1
kinuko
http://codereview.chromium.org/10781014/diff/1/chrome/browser/media_gallery/media_device_notifications_window_win.cc File chrome/browser/media_gallery/media_device_notifications_window_win.cc (right): http://codereview.chromium.org/10781014/diff/1/chrome/browser/media_gallery/media_device_notifications_window_win.cc#newcode202 chrome/browser/media_gallery/media_device_notifications_window_win.cc:202: hDeviceNotify = RegisterDeviceNotification(hwnd, &db, DEVICE_NOTIFY_WINDOW_HANDLE); nit: over 80 cols ...
8 years, 5 months ago (2012-07-18 10:33:24 UTC) #2
kinuko
http://codereview.chromium.org/10781014/diff/1/webkit/fileapi/media_file_system_proxy_win.cc File webkit/fileapi/media_file_system_proxy_win.cc (right): http://codereview.chromium.org/10781014/diff/1/webkit/fileapi/media_file_system_proxy_win.cc#newcode208 webkit/fileapi/media_file_system_proxy_win.cc:208: context->file_task_runner()->PostTaskAndReply( On 2012/07/18 10:33:24, kinuko wrote: > As we ...
8 years, 5 months ago (2012-07-18 14:51:44 UTC) #3
kmadhusu
http://codereview.chromium.org/10781014/diff/1/webkit/fileapi/media_file_system_proxy_win.cc File webkit/fileapi/media_file_system_proxy_win.cc (right): http://codereview.chromium.org/10781014/diff/1/webkit/fileapi/media_file_system_proxy_win.cc#newcode208 webkit/fileapi/media_file_system_proxy_win.cc:208: context->file_task_runner()->PostTaskAndReply( On 2012/07/18 14:51:44, kinuko wrote: > On 2012/07/18 ...
8 years, 5 months ago (2012-07-19 00:57:50 UTC) #4
Lei Zhang
On 2012/07/18 14:51:44, kinuko wrote: > * The interface may not work best for MTP ...
8 years, 5 months ago (2012-07-19 07:10:12 UTC) #5
kinuko
On 2012/07/19 07:10:12, Lei Zhang wrote: > On 2012/07/18 14:51:44, kinuko wrote: > > * ...
8 years, 5 months ago (2012-07-19 13:12:33 UTC) #6
Lei Zhang
On 2012/07/19 13:12:33, kinuko wrote: > On 2012/07/19 07:10:12, Lei Zhang wrote: > > I'm ...
8 years, 5 months ago (2012-07-19 18:59:21 UTC) #7
Lei Zhang
On 2012/07/19 18:59:21, Lei Zhang wrote: > On 2012/07/19 13:12:33, kinuko wrote: > > On ...
8 years, 5 months ago (2012-07-20 04:20:12 UTC) #8
kinuko
On Fri, Jul 20, 2012 at 1:20 PM, <thestig@chromium.org> wrote: > On 2012/07/19 18:59:21, Lei ...
8 years, 5 months ago (2012-07-20 08:14:58 UTC) #9
kmadhusu
Kinuko@: As per our earlier discussion, I implemented a new skeleton code with the following ...
8 years, 5 months ago (2012-07-23 17:58:46 UTC) #10
kmadhusu
CC'ed thestig@
8 years, 5 months ago (2012-07-23 18:02:29 UTC) #11
kinuko
I want to take another look but the overall structure looks good to me. We're ...
8 years, 5 months ago (2012-07-24 19:57:19 UTC) #12
kmadhusu
http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/isolated_mount_point_provider.cc File webkit/fileapi/isolated_mount_point_provider.cc (right): http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/isolated_mount_point_provider.cc#newcode56 webkit/fileapi/isolated_mount_point_provider.cc:56: #endif On 2012/07/24 19:57:19, kinuko wrote: > We are ...
8 years, 5 months ago (2012-07-24 20:56:34 UTC) #13
vandebo (ex-Chrome)
http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/media_file_util.cc File webkit/fileapi/media_file_util.cc (right): http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/media_file_util.cc#newcode62 webkit/fileapi/media_file_util.cc:62: if (!GetPlatformPath(url, platform_path)) nit: looks like you could put ...
8 years, 5 months ago (2012-07-24 21:36:55 UTC) #14
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/5016/webkit/fileapi/isolated_mount_point_provider.cc File webkit/fileapi/isolated_mount_point_provider.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/5016/webkit/fileapi/isolated_mount_point_provider.cc#newcode121 webkit/fileapi/isolated_mount_point_provider.cc:121: FilePath::StringType device_name(actual_path.value()); Let's say we have a device called ...
8 years, 5 months ago (2012-07-25 04:48:29 UTC) #15
kinuko
Some high-level comments. (I'll take yet another look!) http://codereview.chromium.org/10781014/diff/23001/webkit/fileapi/media_device_map_service.h File webkit/fileapi/media_device_map_service.h (right): http://codereview.chromium.org/10781014/diff/23001/webkit/fileapi/media_device_map_service.h#newcode1 webkit/fileapi/media_device_map_service.h:1: // ...
8 years, 5 months ago (2012-07-25 23:22:28 UTC) #16
kinuko
Some more comments! I'm a bit worry about how all these device related tasks work ...
8 years, 5 months ago (2012-07-26 00:38:06 UTC) #17
kmadhusu
Addressed review comments. PTAL. Thanks. http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/media_file_util.cc File webkit/fileapi/media_file_util.cc (right): http://codereview.chromium.org/10781014/diff/6003/webkit/fileapi/media_file_util.cc#newcode62 webkit/fileapi/media_file_util.cc:62: if (!GetPlatformPath(url, platform_path)) On ...
8 years, 5 months ago (2012-07-27 02:13:40 UTC) #18
Lei Zhang
I tried patch set 16 and hit a few surprises: - The "linux" implementation code ...
8 years, 5 months ago (2012-07-27 06:03:04 UTC) #19
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/30025/webkit/fileapi/media/device_media_file_util.cc File webkit/fileapi/media/device_media_file_util.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/30025/webkit/fileapi/media/device_media_file_util.cc#newcode60 webkit/fileapi/media/device_media_file_util.cc:60: *platform_path = url.path(); This won't work. With the current ...
8 years, 5 months ago (2012-07-27 06:09:15 UTC) #20
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/30025/webkit/fileapi/media/device_media_file_util.cc File webkit/fileapi/media/device_media_file_util.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/30025/webkit/fileapi/media/device_media_file_util.cc#newcode60 webkit/fileapi/media/device_media_file_util.cc:60: *platform_path = url.path(); On 2012/07/27 06:09:15, Lei Zhang wrote: ...
8 years, 5 months ago (2012-07-27 06:18:47 UTC) #21
kinuko
On Thu, Jul 26, 2012 at 11:18 PM, <thestig@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/10781014/diff/** > 30025/webkit/fileapi/media/**device_media_file_util.cc<https://chromiumcodereview.appspot.com/10781014/diff/30025/webkit/fileapi/media/device_media_file_util.cc> ...
8 years, 4 months ago (2012-07-27 18:20:35 UTC) #22
Lei Zhang
On 2012/07/27 18:20:35, kinuko wrote: > Lei, can you tell what API calls does your ...
8 years, 4 months ago (2012-07-27 18:28:36 UTC) #23
kinuko
On 2012/07/27 18:28:36, Lei Zhang wrote: > On 2012/07/27 18:20:35, kinuko wrote: > > Lei, ...
8 years, 4 months ago (2012-07-27 18:30:24 UTC) #24
kinuko
I think it's getting closer now! https://chromiumcodereview.appspot.com/10781014/diff/26023/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/26023/chrome/browser/media_gallery/media_file_system_registry.cc#newcode23 chrome/browser/media_gallery/media_file_system_registry.cc:23: #include "webkit/fileapi/media/media_device_map_service.h" nit: ...
8 years, 4 months ago (2012-07-28 02:29:59 UTC) #25
kmadhusu
kinuko@: Addressed review comments. thestig@: >> - The "linux" implementation code suddenly became CrOS only. ...
8 years, 4 months ago (2012-07-28 23:15:29 UTC) #26
Lei Zhang
lgtm https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/media/device_media_file_util.cc File webkit/fileapi/media/device_media_file_util.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/media/device_media_file_util.cc#newcode188 webkit/fileapi/media/device_media_file_util.cc:188: bool file_created = file_util::CreateTemporaryFileInDir( kinuko: What do you ...
8 years, 4 months ago (2012-07-30 23:03:25 UTC) #27
kinuko
Looking good, mostly nits only. https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/file_system_operation_context.h File webkit/fileapi/file_system_operation_context.h (right): https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/file_system_operation_context.h#newcode60 webkit/fileapi/file_system_operation_context.h:60: MediaDeviceInterfaceImpl* media_device_; Shouldn't this ...
8 years, 4 months ago (2012-07-30 23:19:03 UTC) #28
kmadhusu
kinuko@: Addressed review comments. PTAL. Thanks. https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/file_system_operation_context.h File webkit/fileapi/file_system_operation_context.h (right): https://chromiumcodereview.appspot.com/10781014/diff/22026/webkit/fileapi/file_system_operation_context.h#newcode60 webkit/fileapi/file_system_operation_context.h:60: MediaDeviceInterfaceImpl* media_device_; On ...
8 years, 4 months ago (2012-07-31 01:17:48 UTC) #29
kinuko
lgtm https://chromiumcodereview.appspot.com/10781014/diff/26032/webkit/fileapi/isolated_mount_point_provider.cc File webkit/fileapi/isolated_mount_point_provider.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/26032/webkit/fileapi/isolated_mount_point_provider.cc#newcode54 webkit/fileapi/isolated_mount_point_provider.cc:54: device); Maybe GetMediaDevice() can simply return the device ...
8 years, 4 months ago (2012-07-31 05:35:44 UTC) #30
kmadhusu
kinuko@: Addressed nits. PTAL. Thanks. https://chromiumcodereview.appspot.com/10781014/diff/26032/webkit/fileapi/isolated_mount_point_provider.cc File webkit/fileapi/isolated_mount_point_provider.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/26032/webkit/fileapi/isolated_mount_point_provider.cc#newcode54 webkit/fileapi/isolated_mount_point_provider.cc:54: device); On 2012/07/31 05:35:44, ...
8 years, 4 months ago (2012-07-31 19:47:23 UTC) #31
kmadhusu
brettw: Can you do OWNER review for files in base directory? Thanks.
8 years, 4 months ago (2012-07-31 19:49:48 UTC) #32
Lei Zhang
more nits... https://chromiumcodereview.appspot.com/10781014/diff/36001/webkit/fileapi/file_system_operation_context.h File webkit/fileapi/file_system_operation_context.h (right): https://chromiumcodereview.appspot.com/10781014/diff/36001/webkit/fileapi/file_system_operation_context.h#newcode62 webkit/fileapi/file_system_operation_context.h:62: nit: extra blank line https://chromiumcodereview.appspot.com/10781014/diff/36001/webkit/fileapi/isolated_mount_point_provider.cc File webkit/fileapi/isolated_mount_point_provider.cc ...
8 years, 4 months ago (2012-07-31 20:04:37 UTC) #33
kinuko
fileapi related lgtm I hope we can get rid of the ifdefs shortly! http://codereview.chromium.org/10781014/diff/36001/webkit/fileapi/isolated_mount_point_provider.cc File ...
8 years, 4 months ago (2012-07-31 20:32:31 UTC) #34
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc#newcode120 chrome/browser/media_gallery/media_file_system_registry.cc:120: const FilePath::StringType& location) { I don't think you need ...
8 years, 4 months ago (2012-07-31 20:48:17 UTC) #35
brettw
base LGTM
8 years, 4 months ago (2012-07-31 21:47:19 UTC) #36
kinuko
https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc#newcode187 chrome/browser/media_gallery/media_file_system_registry.cc:187: fileapi::FileSystemType type = fileapi::kFileSystemTypeIsolated; On 2012/07/31 20:48:18, Lei Zhang ...
8 years, 4 months ago (2012-07-31 23:29:54 UTC) #37
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc#newcode187 chrome/browser/media_gallery/media_file_system_registry.cc:187: fileapi::FileSystemType type = fileapi::kFileSystemTypeIsolated; On 2012/07/31 23:29:54, kinuko wrote: ...
8 years, 4 months ago (2012-07-31 23:34:41 UTC) #38
kmadhusu
kinuko, thesitg: Addressed nits. PTAL. Thanks. https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc#newcode120 chrome/browser/media_gallery/media_file_system_registry.cc:120: const FilePath::StringType& location) ...
8 years, 4 months ago (2012-08-01 01:43:59 UTC) #39
kinuko
On 2012/07/31 23:34:41, Lei Zhang wrote: > https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc > File chrome/browser/media_gallery/media_file_system_registry.cc (right): > > https://chromiumcodereview.appspot.com/10781014/diff/36001/chrome/browser/media_gallery/media_file_system_registry.cc#newcode187 ...
8 years, 4 months ago (2012-08-01 02:41:25 UTC) #40
Lei Zhang
LGTM with nits below. https://chromiumcodereview.appspot.com/10781014/diff/27040/chrome/browser/media_gallery/media_file_system_registry.h File chrome/browser/media_gallery/media_file_system_registry.h (right): https://chromiumcodereview.appspot.com/10781014/diff/27040/chrome/browser/media_gallery/media_file_system_registry.h#newcode89 chrome/browser/media_gallery/media_file_system_registry.h:89: std::string RegisterPathAsFileSystem( Can we do ...
8 years, 4 months ago (2012-08-01 03:06:30 UTC) #41
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/27040/base/system_monitor/system_monitor_unittest.cc File base/system_monitor/system_monitor_unittest.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/27040/base/system_monitor/system_monitor_unittest.cc#newcode134 base/system_monitor/system_monitor_unittest.cc:134: .InSequence(mock_sequencer[index]).Times(0); And this should be .Times(0).InSequence(mock_sequencer[index]);
8 years, 4 months ago (2012-08-01 03:13:50 UTC) #42
kinuko
taking another look... and got some questions. https://chromiumcodereview.appspot.com/10781014/diff/27040/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/27040/chrome/browser/media_gallery/media_file_system_registry.cc#newcode138 chrome/browser/media_gallery/media_file_system_registry.cc:138: RevokeMediaFileSystem(path); For ...
8 years, 4 months ago (2012-08-01 04:24:27 UTC) #43
kmadhusu
kinuko, thestig: Addressed review comments. PTAL at the new patch. I have modified device intent ...
8 years, 4 months ago (2012-08-01 23:39:35 UTC) #44
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/25022/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/25022/chrome/browser/intents/device_attached_intent_source.cc#newcode8 chrome/browser/intents/device_attached_intent_source.cc:8: #include "base/system_monitor/system_monitor.h" nit: It's very unlikely you'll ever remove ...
8 years, 4 months ago (2012-08-01 23:49:05 UTC) #45
kinuko
I'll take another look tomorrow but device map service / fileapi related changes looking good ...
8 years, 4 months ago (2012-08-02 04:27:05 UTC) #46
kmadhusu
kinuko, thestig: Addressed comments. PTAL. Thanks. http://codereview.chromium.org/10781014/diff/25022/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10781014/diff/25022/chrome/browser/intents/device_attached_intent_source.cc#newcode8 chrome/browser/intents/device_attached_intent_source.cc:8: #include "base/system_monitor/system_monitor.h" On ...
8 years, 4 months ago (2012-08-02 16:59:03 UTC) #47
kinuko
lgtm http://codereview.chromium.org/10781014/diff/27071/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): http://codereview.chromium.org/10781014/diff/27071/chrome/browser/intents/device_attached_intent_source.cc#newcode100 chrome/browser/intents/device_attached_intent_source.cc:100: break; nit: no need to have default (with ...
8 years, 4 months ago (2012-08-02 20:33:44 UTC) #48
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/27071/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/27071/chrome/browser/media_gallery/media_file_system_registry.cc#newcode221 chrome/browser/media_gallery/media_file_system_registry.cc:221: // Always revoke the file sytem and then do ...
8 years, 4 months ago (2012-08-02 20:54:50 UTC) #49
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/27071/chrome/browser/media_gallery/media_file_system_registry.h File chrome/browser/media_gallery/media_file_system_registry.h (right): https://chromiumcodereview.appspot.com/10781014/diff/27071/chrome/browser/media_gallery/media_file_system_registry.h#newcode90 chrome/browser/media_gallery/media_file_system_registry.h:90: const base::SystemMonitor::MediaDeviceType& type, nit: Please change this and RevokeMediaFileSystem()'s ...
8 years, 4 months ago (2012-08-02 20:57:19 UTC) #50
Lei Zhang
https://chromiumcodereview.appspot.com/10781014/diff/27071/webkit/fileapi/media/device_media_file_util.cc File webkit/fileapi/media/device_media_file_util.cc (right): https://chromiumcodereview.appspot.com/10781014/diff/27071/webkit/fileapi/media/device_media_file_util.cc#newcode178 webkit/fileapi/media/device_media_file_util.cc:178: FilePath isolated_media_file_system_dir_path = I forgot to mention this problem ...
8 years, 4 months ago (2012-08-02 21:32:03 UTC) #51
kmadhusu
Addressed review comments. I am currently waiting for http://codereview.chromium.org/10829136/ to commit. PTAL. Thanks. http://codereview.chromium.org/10781014/diff/27071/chrome/browser/intents/device_attached_intent_source.cc File ...
8 years, 4 months ago (2012-08-02 22:05:39 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/10781014/24085
8 years, 4 months ago (2012-08-03 05:06:39 UTC) #53
commit-bot: I haz the power
Change committed as 149807
8 years, 4 months ago (2012-08-03 07:31:15 UTC) #54
kinuko
http://codereview.chromium.org/10781014/diff/27071/webkit/fileapi/media/device_media_file_util.cc File webkit/fileapi/media/device_media_file_util.cc (right): http://codereview.chromium.org/10781014/diff/27071/webkit/fileapi/media/device_media_file_util.cc#newcode178 webkit/fileapi/media/device_media_file_util.cc:178: FilePath isolated_media_file_system_dir_path = On 2012/08/02 22:05:39, kmadhusu wrote: > ...
8 years, 4 months ago (2012-08-13 16:41:03 UTC) #55
kmadhusu
8 years, 4 months ago (2012-08-13 16:43:06 UTC) #56
http://codereview.chromium.org/10781014/diff/27071/webkit/fileapi/media/devic...
File webkit/fileapi/media/device_media_file_util.cc (right):

http://codereview.chromium.org/10781014/diff/27071/webkit/fileapi/media/devic...
webkit/fileapi/media/device_media_file_util.cc:178: FilePath
isolated_media_file_system_dir_path =
On 2012/08/13 16:41:03, kinuko wrote:
> On 2012/08/02 22:05:39, kmadhusu wrote:
> > On 2012/08/02 21:32:03, Lei Zhang wrote:
> > > I forgot to mention this problem because I hacked around it locally. At
some
> > > point, you need to grant permission to read the files in this directory.
> > > Otherwise you'll fail the security check in
> > > FileAPIMessageFilter::OnAppendBlobDataItem() and everything after that.
> > 
> > kinuko@ is working on the fix.
> 
> I believe this has been fixed after http://crrev.com/149798.
> Apologies for not having cc'ed you.

Np. Thanks for the info.

Powered by Google App Engine
This is Rietveld 408576698