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

Issue 778123006: Include MTP devices in Cloud Import happiness. (Closed)

Created:
6 years ago by Steve McKay
Modified:
6 years ago
Reviewers:
mtomasz
CC:
chromium-reviews, tfarina, yoshiki+watch_chromium.org, rginda+watch_chromium.org, mtomasz+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Include MTP devices in Cloud Import happiness. Nuke "VolumeManager.isType". Add test coverage of importer_common methods. Make all "DCIM" dir-name matching case-insensitive. BUG=420680 TEST=browser_test: FileManagerJsTest.* Committed: https://crrev.com/15d1aae4da7783607df3fac2d38198e817cf6fa0 Cr-Commit-Position: refs/heads/master@{#308414}

Patch Set 1 #

Patch Set 2 : Nuke VolumeInfo.isType method. #

Patch Set 3 : Add tests for importer common code. #

Total comments: 8

Patch Set 4 : Respond to review comments. #

Patch Set 5 : Add test files missing from CL. #

Total comments: 6

Patch Set 6 : Respond to review comments. #

Total comments: 4

Patch Set 7 : Update tests in wake of test file music chairs. Fix tests in wake of responding to review commnents. #

Patch Set 8 : Add test files missing after move. #

Patch Set 9 : Include VolumeManagerCommon in device handler test as it depends on import common. #

Patch Set 10 : Include MTP devices when determining eligibility for Cloud Import. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -42 lines) Patch
M chrome/browser/chromeos/file_manager/file_manager_jstest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/compiled_resources.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/device_handler_unittest.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ui/file_manager/file_manager/background/js/media_scanner_unittest.html View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/background/js/volume_manager.js View 1 1 chunk +0 lines, -9 lines 0 comments Download
M ui/file_manager/file_manager/common/js/importer_common.js View 1 2 3 4 5 6 5 chunks +42 lines, -17 lines 0 comments Download
A + ui/file_manager/file_manager/common/js/importer_common_unittest.html View 1 2 3 4 5 6 7 1 chunk +10 lines, -10 lines 0 comments Download
A ui/file_manager/file_manager/common/js/importer_common_unittest.js View 1 2 3 4 5 6 7 1 chunk +110 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/compiled_resources.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/foreground/js/main_scripts.js View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/main.html View 1 chunk +1 line, -1 line 0 comments Download
M ui/file_manager/file_manager/manifest.json View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (10 generated)
Steve McKay
Nuke VolumeInfo.isType method.
6 years ago (2014-12-05 22:32:31 UTC) #1
Steve McKay
Add tests for importer common code.
6 years ago (2014-12-06 00:37:47 UTC) #2
mtomasz
lgtm with nits https://codereview.chromium.org/778123006/diff/40001/ui/file_manager/file_manager/common/js/importer_common.js File ui/file_manager/file_manager/common/js/importer_common.js (right): https://codereview.chromium.org/778123006/diff/40001/ui/file_manager/file_manager/common/js/importer_common.js#newcode34 ui/file_manager/file_manager/common/js/importer_common.js:34: entry.fullPath.toUpperCase().indexOf('/DCIM/') === 0; AFAIR existence of ...
6 years ago (2014-12-08 00:41:50 UTC) #4
Steve McKay
Respond to review comments.
6 years ago (2014-12-08 17:17:25 UTC) #5
Steve McKay
Thanks! https://codereview.chromium.org/778123006/diff/40001/ui/file_manager/file_manager/common/js/importer_common.js File ui/file_manager/file_manager/common/js/importer_common.js (right): https://codereview.chromium.org/778123006/diff/40001/ui/file_manager/file_manager/common/js/importer_common.js#newcode34 ui/file_manager/file_manager/common/js/importer_common.js:34: entry.fullPath.toUpperCase().indexOf('/DCIM/') === 0; On 2014/12/08 00:41:50, mtomasz wrote: ...
6 years ago (2014-12-08 17:17:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778123006/60001
6 years ago (2014-12-08 17:18:56 UTC) #8
Steve McKay
Add test files missing from CL.
6 years ago (2014-12-08 17:38:09 UTC) #10
Steve McKay
Looks like the test files were missing from the CL. Added. Holding off on submit ...
6 years ago (2014-12-08 17:38:23 UTC) #11
mtomasz
On 2014/12/08 17:38:23, Steve McKay wrote: > Looks like the test files were missing from ...
6 years ago (2014-12-11 01:45:15 UTC) #12
mtomasz
lgtm with nits. https://codereview.chromium.org/778123006/diff/80001/chrome/test/data/file_manager/unit_tests/importer_common_unittest.html File chrome/test/data/file_manager/unit_tests/importer_common_unittest.html (right): https://codereview.chromium.org/778123006/diff/80001/chrome/test/data/file_manager/unit_tests/importer_common_unittest.html#newcode11 chrome/test/data/file_manager/unit_tests/importer_common_unittest.html:11: <script src="../../../../../ui/webui/resources/js/cr/event_target.js"></script> nit: I think some ...
6 years ago (2014-12-11 01:51:52 UTC) #13
Steve McKay
Respond to review comments.
6 years ago (2014-12-11 02:12:02 UTC) #14
Steve McKay
Thanks. Dones. Submitting. https://codereview.chromium.org/778123006/diff/80001/chrome/test/data/file_manager/unit_tests/importer_common_unittest.html File chrome/test/data/file_manager/unit_tests/importer_common_unittest.html (right): https://codereview.chromium.org/778123006/diff/80001/chrome/test/data/file_manager/unit_tests/importer_common_unittest.html#newcode11 chrome/test/data/file_manager/unit_tests/importer_common_unittest.html:11: <script src="../../../../../ui/webui/resources/js/cr/event_target.js"></script> On 2014/12/11 01:51:52, mtomasz ...
6 years ago (2014-12-11 02:12:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778123006/100001
6 years ago (2014-12-11 02:14:24 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/6691)
6 years ago (2014-12-11 03:30:26 UTC) #19
mtomasz
https://codereview.chromium.org/778123006/diff/100001/ui/file_manager/file_manager/common/js/importer_common.js File ui/file_manager/file_manager/common/js/importer_common.js (right): https://codereview.chromium.org/778123006/diff/100001/ui/file_manager/file_manager/common/js/importer_common.js#newcode56 ui/file_manager/file_manager/common/js/importer_common.js:56: console.assert(volumeInfoProvider != null); nit: !==. Please git diff master ...
6 years ago (2014-12-12 03:35:12 UTC) #20
Steve McKay
Update tests in wake of test file music chairs. Fix tests in wake of responding ...
6 years ago (2014-12-12 21:25:18 UTC) #21
Steve McKay
Thanks! Fixed the test issues (prob was due to test files being moved). Submitting. https://codereview.chromium.org/778123006/diff/100001/ui/file_manager/file_manager/common/js/importer_common.js ...
6 years ago (2014-12-12 21:28:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778123006/120001
6 years ago (2014-12-12 21:29:48 UTC) #24
Steve McKay
Add test files missing after move.
6 years ago (2014-12-12 21:36:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778123006/140001
6 years ago (2014-12-12 21:36:58 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/7496)
6 years ago (2014-12-13 00:24:40 UTC) #30
Steve McKay
Include VolumeManagerCommon in device handler test as it depends on import common.
6 years ago (2014-12-15 20:16:56 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778123006/160001
6 years ago (2014-12-15 20:18:22 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
6 years ago (2014-12-15 21:07:18 UTC) #34
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/15d1aae4da7783607df3fac2d38198e817cf6fa0 Cr-Commit-Position: refs/heads/master@{#308414}
6 years ago (2014-12-15 21:08:09 UTC) #35
samuong
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/807583003/ by samuong@chromium.org. ...
6 years ago (2014-12-15 22:24:28 UTC) #36
Steve McKay
6 years ago (2014-12-15 22:57:37 UTC) #37
Message was sent while issue was closed.
On 2014/12/15 22:24:28, samuong wrote:
> A revert of this CL (patchset #9 id:160001) has been created in
> https://codereview.chromium.org/807583003/ by mailto:samuong@chromium.org.
> 
> The reason for reverting is: seems to be causing crashes on chrome os:
> 
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%...
>
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%...
> .

Looks like there was a race between two of my CLs. Thanks for keeping the tree
open. Tomasz, I'll resend the CL separately with the (one-liner) fix.

Powered by Google App Engine
This is Rietveld 408576698