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

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed)

Created:
8 years, 2 months ago by kmadhusu
Modified:
7 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Media Gallery] Added code to support mtp device media file system on Windows. BUG=151679 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177517

Patch Set 1 : diff against codereview.chromium.org/11088012 #

Total comments: 8

Patch Set 2 : : Moved worker classes from MtpDeviceDelegateImpl to separate files #

Patch Set 3 : Addressed review comments #

Total comments: 34

Patch Set 4 : Addressed review comments #

Total comments: 84

Patch Set 5 : Addressed review comments #

Patch Set 6 : Addressed review comments #

Total comments: 32

Patch Set 7 : Rebase #

Total comments: 48

Patch Set 8 : Rebase + Addressed review comments #

Patch Set 9 : Add "private:" in mtp_device_operations_util.h #

Patch Set 10 : Removed DCHECK, added lock in PortableDeviceWatcherWin and fixed tests. #

Total comments: 26

Patch Set 11 : Addressed review comments #

Patch Set 12 : Rebase + Addressed review comment #

Total comments: 2

Patch Set 13 : Rebase + Fixed merge conflict + Addressed review comments #

Total comments: 2

Patch Set 14 : Modified LazyInit() to handle GetDeviceStorageInfo failure #

Total comments: 35

Patch Set 15 : Addressed review comments (Removed MTPGetStorageInfoWorker) #

Total comments: 6

Patch Set 16 : Fixed class comments and removed file comments #

Total comments: 45

Patch Set 17 : Addressed review comments #

Patch Set 18 : Added a chrome_switch and fixed RecursiveMTPDeviceObjectEnumerator. #

Patch Set 19 : Rebased + Improved RecursiveMTPDeviceObjectEnumerator code. #

Total comments: 2

Patch Set 20 : Addressed review comment and disabled MediaFileSystemRegistryTest.GalleryNameMTP #

Total comments: 79

Patch Set 21 : Addressed review comments #

Patch Set 22 : Rebase + IWYU #

Total comments: 4

Patch Set 23 : Addressed review comments #

Total comments: 6

Patch Set 24 : Addressed comments #

Total comments: 2

Patch Set 25 : Updated copyright details #

Patch Set 26 : Rebase #

Patch Set 27 : Rebase + Fixed win compile error by implementing GetMTPStorageInfoFromDeviceId in TestStorageNotifi… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1367 lines, -14 lines) Patch
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 5 chunks +24 lines, -4 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry_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 1 chunk +7 lines, -1 line 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.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 1 chunk +116 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.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 1 chunk +240 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_object_entry.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 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_object_entry.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 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_object_enumerator.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 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_object_enumerator.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 1 chunk +52 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_operations_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 1 chunk +68 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/mtp_device_operations_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 1 chunk +425 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/recursive_mtp_device_object_enumerator.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 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/win/recursive_mtp_device_object_enumerator.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 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/portable_device_watcher_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +12 lines, -1 line 0 comments Download
M chrome/browser/system_monitor/portable_device_watcher_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win.h View 1 2 3 4 5 6 12 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win.cc View 1 2 3 4 5 6 10 12 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/removable_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 3 chunks +40 lines, -1 line 0 comments Download
M chrome/browser/system_monitor/removable_storage_notifications.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 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/removable_storage_notifications_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 1 chunk +9 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 16 17 18 19 20 21 22 23 24 25 26 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.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 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.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 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/fileapi/file_system_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 2 chunks +3 lines, -2 lines 0 comments Download
M webkit/fileapi/media/mtp_device_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 1 chunk +3 lines, -1 line 0 comments Download
M webkit/storage/webkit_storage.gypi View 1 2 12 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 82 (0 generated)
kmadhusu
pkasting@:Please review windows specific code in mtp_device_delegate_impl_win.cc thestig@: Please review media gallery specific code. Thanks.
8 years, 2 months ago (2012-10-24 22:35:18 UTC) #1
Peter Kasting
There are a ton of classes in the .cc file. At the very least, organize ...
8 years, 2 months ago (2012-10-24 22:51:41 UTC) #2
kmadhusu
pkasting@: Moved the worker classes from MtpDeviceDelegateImplWin to separate files. Please review windows specific code ...
8 years, 1 month ago (2012-10-25 19:12:48 UTC) #3
Peter Kasting
If it's OK with you I'd like to wait to review this until http://codereview.chromium.org/11088012/ lands ...
8 years, 1 month ago (2012-10-26 22:37:38 UTC) #4
kmadhusu
On 2012/10/26 22:37:38, Peter Kasting wrote: > If it's OK with you I'd like to ...
8 years, 1 month ago (2012-10-26 22:39:08 UTC) #5
kmadhusu
CL is ready for review. (1) Created a MTPDeviceOperationsUtil file to handle all mtp device ...
8 years, 1 month ago (2012-11-01 01:17:24 UTC) #6
Lei Zhang
http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode37 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:37: string16 GetFileObjectIdFromPath(IPortableDevice* device, In this case, GetFileObjectIdFromPath() would have ...
8 years, 1 month ago (2012-11-01 02:34:57 UTC) #7
kmadhusu
http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h (right): http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h#newcode101 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h:101: bool app_terminating_; Just realized that I should have used ...
8 years, 1 month ago (2012-11-01 02:38:00 UTC) #8
Peter Kasting
http://codereview.chromium.org/11297002/diff/30001/chrome/browser/system_monitor/removable_device_constants.cc File chrome/browser/system_monitor/removable_device_constants.cc (right): http://codereview.chromium.org/11297002/diff/30001/chrome/browser/system_monitor/removable_device_constants.cc#newcode19 chrome/browser/system_monitor/removable_device_constants.cc:19: const char16 kbmpFormat[] = L".bmp"; On 2012/11/01 02:34:57, Lei ...
8 years, 1 month ago (2012-11-01 04:17:36 UTC) #9
kmadhusu
thestig, pkasting: Addressed review comments. PTAL. Thanks. http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): http://codereview.chromium.org/11297002/diff/30001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode37 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:37: string16 GetFileObjectIdFromPath(IPortableDevice* ...
8 years, 1 month ago (2012-11-01 17:58:59 UTC) #10
Peter Kasting
It would be nice to use "MTP" consistently in place of "Mtp", you mostly do ...
8 years, 1 month ago (2012-11-01 21:38:37 UTC) #11
kmadhusu
pkasting: Addressed review comments. Will submit a clean up CL to rename mtp => MTP ...
8 years, 1 month ago (2012-11-02 03:27:16 UTC) #12
Peter Kasting
http://codereview.chromium.org/11297002/diff/35004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): http://codereview.chromium.org/11297002/diff/35004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode179 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:179: DCHECK_GE(path_components.size(), static_cast<size_t>(1)); On 2012/11/02 03:27:16, kmadhusu wrote: > On ...
8 years, 1 month ago (2012-11-02 04:08:11 UTC) #13
kmadhusu
pkasting@, thestig@: Sorry for the delay. I was fixing MTPDeviceDelegate to support weak pointers instead ...
8 years ago (2012-11-29 23:58:14 UTC) #14
Peter Kasting
I don't have time to review further by now, but the comments below should keep ...
8 years ago (2012-12-03 20:13:00 UTC) #15
kmadhusu
pkasting@: Thanks for your comments. I just want to clarify my assumptions before I start ...
8 years ago (2012-12-04 01:57:58 UTC) #16
Peter Kasting
On 2012/12/04 01:57:58, kmadhusu wrote: > Sorry, I don't see anything unsafe with this model. ...
8 years ago (2012-12-04 03:26:52 UTC) #17
kmadhusu
pkasting@: thestig@ and I discussed about the backend changes. DeviceMediaFileUtil access MTPDeviceDelegateImplWin object to complete ...
8 years ago (2012-12-15 02:34:56 UTC) #18
kmadhusu
ping.
8 years ago (2012-12-18 21:46:38 UTC) #19
Peter Kasting
On 2012/12/18 21:46:38, kmadhusu wrote: > ping. I'm not going to get to this until ...
8 years ago (2012-12-18 21:48:36 UTC) #20
kmadhusu
On 2012/12/18 21:48:36, Peter Kasting wrote: > On 2012/12/18 21:46:38, kmadhusu wrote: > > ping. ...
8 years ago (2012-12-18 21:49:25 UTC) #21
Peter Kasting
This is looking much better! https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode152 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:152: // safe member variables ...
8 years ago (2012-12-19 20:17:58 UTC) #22
cpu_(ooo_6.6-7.5)
use scoped_co_mem.h
8 years ago (2012-12-20 01:57:06 UTC) #23
kmadhusu
pkasting@: Addressed review comments. PTAL. Thanks. https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode152 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:152: // safe member ...
8 years ago (2012-12-20 20:37:29 UTC) #24
Peter Kasting
I haven't looked at your new patch; I'll do that tomorrow. https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): ...
8 years ago (2012-12-20 21:24:20 UTC) #25
kmadhusu
https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/65004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode38 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:38: DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); On 2012/12/20 21:24:20, Peter Kasting wrote: > Based ...
8 years ago (2012-12-21 01:45:23 UTC) #26
Peter Kasting
https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode68 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:68: DCHECK(media_task_runner_.get()); Nit: This DCHECK should probably move to CreateMTPDeviceDelegate() ...
8 years ago (2012-12-21 18:13:30 UTC) #27
cpu_(ooo_6.6-7.5)
I am ok with calling CoTaskMemFree directly. Ping me if you need any more item ...
7 years, 12 months ago (2012-12-28 00:01:07 UTC) #28
kmadhusu
pkasting@: Happy New Year. Addressed review comments. Added a worker class (MTPGetStorageInfoWorker) to get the ...
7 years, 11 months ago (2013-01-02 19:48:31 UTC) #29
Peter Kasting
https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode164 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:164: *last_modified_time = base::Time(); On 2013/01/02 19:48:31, kmadhusu wrote: > ...
7 years, 11 months ago (2013-01-02 21:41:09 UTC) #30
kmadhusu
https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/86007/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode164 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:164: *last_modified_time = base::Time(); On 2013/01/02 21:41:09, Peter Kasting wrote: ...
7 years, 11 months ago (2013-01-02 23:49:48 UTC) #31
Peter Kasting
Your new helper class potentially deadlocks. You post a task on the UI thread and ...
7 years, 11 months ago (2013-01-04 21:13:38 UTC) #32
kmadhusu
https://codereview.chromium.org/11297002/diff/86007/chrome/browser/system_monitor/portable_device_watcher_win.cc File chrome/browser/system_monitor/portable_device_watcher_win.cc (right): https://codereview.chromium.org/11297002/diff/86007/chrome/browser/system_monitor/portable_device_watcher_win.cc#newcode523 chrome/browser/system_monitor/portable_device_watcher_win.cc:523: DCHECK(content::BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); On 2013/01/04 21:13:38, Peter Kasting wrote: > On ...
7 years, 11 months ago (2013-01-04 22:14:32 UTC) #33
kmadhusu
https://codereview.chromium.org/11297002/diff/128001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/128001/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode131 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:131: task_completed_event_.Signal(); On 2013/01/04 22:14:33, kmadhusu wrote: > Due to ...
7 years, 11 months ago (2013-01-04 22:16:42 UTC) #34
Peter Kasting
That sounds safer, but I still don't think this is a good solution. It's rather ...
7 years, 11 months ago (2013-01-05 00:00:34 UTC) #35
Ryan Sleevi
So I definitely have to agree with Peter, that the threading and ownership issues in ...
7 years, 11 months ago (2013-01-05 03:00:57 UTC) #36
Peter Kasting
I think most of the major problems can be fixed by nuking the MTPGetStorageInfoWorker object ...
7 years, 11 months ago (2013-01-05 03:17:19 UTC) #37
Ryan Sleevi
https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode412 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:412: DCHECK_EQ(1U, object_entries.size()); On 2013/01/05 03:17:19, Peter Kasting wrote: > ...
7 years, 11 months ago (2013-01-05 03:44:37 UTC) #38
kmadhusu
(I have not modified any code, just responding to some of your comments). pkasting@: The ...
7 years, 11 months ago (2013-01-07 19:17:26 UTC) #39
Ryan Sleevi
https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode412 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:412: DCHECK_EQ(1U, object_entries.size()); On 2013/01/07 19:17:26, kmadhusu wrote: > On ...
7 years, 11 months ago (2013-01-07 19:29:29 UTC) #40
kmadhusu
https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h File chrome/browser/media_gallery/win/mtp_device_operations_util.h (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h#newcode61 chrome/browser/media_gallery/win/mtp_device_operations_util.h:61: const string16& object_name); On 2013/01/07 19:29:29, Ryan Sleevi wrote: ...
7 years, 11 months ago (2013-01-07 19:36:42 UTC) #41
kmadhusu
pkasting@, rsleevi@: Addressed review comments. Removed MTPGetStorageInfoWorker class. PTAL. Thanks. https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h#newcode9 ...
7 years, 11 months ago (2013-01-08 03:19:40 UTC) #42
Peter Kasting
I'm going to be gone for a week+ starting tonight, so at least for now ...
7 years, 11 months ago (2013-01-08 04:34:01 UTC) #43
kmadhusu
https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h File chrome/browser/media_gallery/win/mtp_device_operations_util.h (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h#newcode61 chrome/browser/media_gallery/win/mtp_device_operations_util.h:61: const string16& object_name); On 2013/01/08 04:34:01, Peter Kasting wrote: ...
7 years, 11 months ago (2013-01-08 20:55:18 UTC) #44
Ryan Sleevi
A quick review looking over the diffs from patchset 14 -> 15. Since pkasting kicked ...
7 years, 11 months ago (2013-01-09 00:20:36 UTC) #45
kmadhusu
rsleevi@: Addressed review comments. PTAL. Thanks. https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h#newcode9 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.h:9: // This class ...
7 years, 11 months ago (2013-01-09 18:11:14 UTC) #46
kmadhusu
https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h File chrome/browser/media_gallery/win/mtp_device_operations_util.h (right): https://codereview.chromium.org/11297002/diff/123003/chrome/browser/media_gallery/win/mtp_device_operations_util.h#newcode61 chrome/browser/media_gallery/win/mtp_device_operations_util.h:61: const string16& object_name); On 2013/01/08 20:55:18, kmadhusu wrote: > ...
7 years, 11 months ago (2013-01-09 19:25:46 UTC) #47
Ryan Sleevi
Mostly, these are slight comment nits and a few IWYU nits. While I have a ...
7 years, 11 months ago (2013-01-09 20:22:25 UTC) #48
kmadhusu
rsleevi: Addressed most of your comments except one in recursive_mtp_device_object_enumerator.cc. We didn't plan to run ...
7 years, 11 months ago (2013-01-10 04:59:19 UTC) #49
Ryan Sleevi
If this code, once landed, would "be live", then I would prefer you either fix ...
7 years, 11 months ago (2013-01-10 05:07:18 UTC) #50
kmadhusu
rsleevi@: Added a command line flag and addressed review comments. PTAL. Thanks. https://codereview.chromium.org/11297002/diff/125057/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc ...
7 years, 11 months ago (2013-01-10 23:37:56 UTC) #51
Ryan Sleevi
https://codereview.chromium.org/11297002/diff/165001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/165001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode188 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:188: return SUCCEEDED(hr); BUG? This means if |actual_size| > kint64max, ...
7 years, 11 months ago (2013-01-11 17:40:46 UTC) #52
kmadhusu
https://codereview.chromium.org/11297002/diff/165001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/165001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode188 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:188: return SUCCEEDED(hr); On 2013/01/11 17:40:46, Ryan Sleevi wrote: > ...
7 years, 11 months ago (2013-01-11 19:01:59 UTC) #53
Ryan Sleevi
lgtm
7 years, 11 months ago (2013-01-14 19:41:54 UTC) #54
Lei Zhang
https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_object_entry.h File chrome/browser/media_gallery/win/mtp_device_object_entry.h (right): https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_object_entry.h#newcode16 chrome/browser/media_gallery/win/mtp_device_object_entry.h:16: // MTPDeviceObjectEntry contains information about the media transfer protocol ...
7 years, 11 months ago (2013-01-14 20:49:02 UTC) #55
Lei Zhang
https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode135 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:135: if (root.value().empty() || !LazyInit()) nit: root.empty() https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode170 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:170: base::PlatformFileError ...
7 years, 11 months ago (2013-01-14 23:25:30 UTC) #56
kmadhusu
thestig@: Addressed review comments. PTAL. Thanks. https://chromiumcodereview.appspot.com/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc File chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc (right): https://chromiumcodereview.appspot.com/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc#newcode135 chrome/browser/media_gallery/win/mtp_device_delegate_impl_win.cc:135: if (root.value().empty() || ...
7 years, 11 months ago (2013-01-15 19:08:17 UTC) #57
Lei Zhang
https://chromiumcodereview.appspot.com/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://chromiumcodereview.appspot.com/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode113 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:113: } while ((read > 0) && SUCCEEDED(hr)); On 2013/01/15 ...
7 years, 11 months ago (2013-01-15 21:00:12 UTC) #58
Lei Zhang
https://chromiumcodereview.appspot.com/11297002/diff/213001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc File chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc (right): https://chromiumcodereview.appspot.com/11297002/diff/213001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode17 chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc:17: object_entry_iter_(object_entries_.begin()) { You should initialize |current_object_| to NULL. https://chromiumcodereview.appspot.com/11297002/diff/213001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode27 ...
7 years, 11 months ago (2013-01-15 22:35:50 UTC) #59
kmadhusu
thestig@: Addressed review comments. PTAL. Thanks. https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/178004/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode113 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:113: } while ((read ...
7 years, 11 months ago (2013-01-15 23:41:58 UTC) #60
Lei Zhang
lgtm https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc File chrome/browser/media_gallery/win/mtp_device_operations_util.cc (right): https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_operations_util.cc#newcode135 chrome/browser/media_gallery/win/mtp_device_operations_util.cc:135: (content_type == WPD_CONTENT_TYPE_FUNCTIONAL_OBJECT)); Can you add a comment ...
7 years, 11 months ago (2013-01-15 23:53:37 UTC) #61
Lei Zhang
https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc File chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc (right): https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode17 chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc:17: object_entry_iter_(object_entries_.begin()) { still need to initialize |current_object_|.
7 years, 11 months ago (2013-01-15 23:54:48 UTC) #62
kmadhusu
https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc File chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc (right): https://codereview.chromium.org/11297002/diff/222001/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode17 chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc:17: object_entry_iter_(object_entries_.begin()) { On 2013/01/15 23:54:48, Lei Zhang wrote: > ...
7 years, 11 months ago (2013-01-16 00:14:24 UTC) #63
kmadhusu
kinuko@: Please review webkit/* changes. Thanks.
7 years, 11 months ago (2013-01-16 00:15:35 UTC) #64
Lei Zhang
https://codereview.chromium.org/11297002/diff/234004/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc File chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc (right): https://codereview.chromium.org/11297002/diff/234004/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode34 chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc:34: if (current_object_) BTW, |current_object_| cannot be NULL.
7 years, 11 months ago (2013-01-16 00:34:46 UTC) #65
Lei Zhang
Also, new files are copyright 2013.
7 years, 11 months ago (2013-01-16 00:45:15 UTC) #66
kmadhusu
thestig: Updated copyright details. https://chromiumcodereview.appspot.com/11297002/diff/234004/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc File chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc (right): https://chromiumcodereview.appspot.com/11297002/diff/234004/chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc#newcode34 chrome/browser/media_gallery/win/mtp_device_object_enumerator.cc:34: if (current_object_) On 2013/01/16 00:34:46, ...
7 years, 11 months ago (2013-01-16 01:36:59 UTC) #67
kinuko
webkit/ changes lgtm
7 years, 11 months ago (2013-01-16 03:24:09 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/11297002/235004
7 years, 11 months ago (2013-01-16 03:32:00 UTC) #69
commit-bot: I haz the power
Presubmit check for 11297002-235004 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-16 03:32:12 UTC) #70
kmadhusu
brettw@: Can you do the OWNER's check for webkit/* changes? Thanks.
7 years, 11 months ago (2013-01-16 03:34:51 UTC) #71
tony
src/webkit LGTM. Why did the win trybot fail to compile?
7 years, 11 months ago (2013-01-17 01:00:17 UTC) #72
kmadhusu
On 2013/01/17 01:00:17, tony wrote: > src/webkit LGTM. Why did the win trybot fail to ...
7 years, 11 months ago (2013-01-17 01:03:08 UTC) #73
Ryan Sleevi
On 2013/01/17 01:00:17, tony wrote: > src/webkit LGTM. Why did the win trybot fail to ...
7 years, 11 months ago (2013-01-17 01:03:30 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/11297002/235004
7 years, 11 months ago (2013-01-17 01:07:01 UTC) #75
commit-bot: I haz the power
Failed to apply patch for chrome/browser/system_monitor/removable_storage_notifications.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-17 02:46:35 UTC) #76
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/11297002/229008
7 years, 11 months ago (2013-01-17 07:30:45 UTC) #77
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, check_deps, chrome_frame_net_tests, chrome_frame_unittests, ...
7 years, 11 months ago (2013-01-17 09:19:11 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/11297002/244008
7 years, 11 months ago (2013-01-17 18:35:10 UTC) #79
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-17 20:22:25 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/11297002/244008
7 years, 11 months ago (2013-01-17 20:26:43 UTC) #81
commit-bot: I haz the power
7 years, 11 months ago (2013-01-17 22:34:22 UTC) #82
Message was sent while issue was closed.
Change committed as 177517

Powered by Google App Engine
This is Rietveld 408576698