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

Issue 379743004: Add a method in DiskMountManager to refresh mount entries in addition to devices. (Closed)

Created:
6 years, 5 months ago by kinaba
Modified:
6 years, 5 months ago
Reviewers:
stevenjb, Ben Chan
CC:
chromium-reviews, nkostylev+watch_chromium.org, tbarzic+watch_chromium.org, yoshiki+watch_chromium.org, rginda+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add a DiskMountManager method to refresh mount entries in addition to devices. Lack of the info caused Chrome OS Files.app to fail finding external storages after browser-only restart (like that from about:flags or from browser crash.) BUG=356583 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282558

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed review comments + Fix up MockDiskMountManager. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -81 lines) Patch
M chrome/browser/chromeos/file_manager/fake_disk_mount_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.cc View 1 3 chunks +57 lines, -48 lines 0 comments Download
M chrome/browser/chromeos/imageburner/burn_device_handler_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chromeos/disks/disk_mount_manager.h View 1 2 chunks +8 lines, -2 lines 0 comments Download
M chromeos/disks/disk_mount_manager.cc View 1 6 chunks +74 lines, -26 lines 0 comments Download
M chromeos/disks/mock_disk_mount_manager.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M chromeos/disks/mock_disk_mount_manager.cc View 1 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
kinaba
Sorry for taking so long time but this is a continuation of http://crrev.com/270958. PTAL. @benchan: ...
6 years, 5 months ago (2014-07-09 23:17:07 UTC) #1
Ben Chan
https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc File chrome/browser/chromeos/file_manager/volume_manager.cc (right): https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc#newcode760 chrome/browser/chromeos/file_manager/volume_manager.cc:760: // Archives are mounted after other type of volumes. ...
6 years, 5 months ago (2014-07-10 00:07:12 UTC) #2
stevenjb
lgtm https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc File chrome/browser/chromeos/file_manager/volume_manager.cc (right): https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc#newcode773 chrome/browser/chromeos/file_manager/volume_manager.cc:773: // To check the condition correctly in DoMountEvent, ...
6 years, 5 months ago (2014-07-10 00:53:21 UTC) #3
kinaba
https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc File chrome/browser/chromeos/file_manager/volume_manager.cc (right): https://codereview.chromium.org/379743004/diff/1/chrome/browser/chromeos/file_manager/volume_manager.cc#newcode760 chrome/browser/chromeos/file_manager/volume_manager.cc:760: // Archives are mounted after other type of volumes. ...
6 years, 5 months ago (2014-07-10 01:36:32 UTC) #4
kinaba
@benchan: do you have anything else?
6 years, 5 months ago (2014-07-11 00:13:10 UTC) #5
Ben Chan
On 2014/07/11 00:13:10, kinaba wrote: > @benchan: do you have anything else? lgtm
6 years, 5 months ago (2014-07-11 01:16:24 UTC) #6
kinaba
The CQ bit was checked by kinaba@chromium.org
6 years, 5 months ago (2014-07-11 03:26:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/379743004/20001
6 years, 5 months ago (2014-07-11 03:27:59 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 05:16:39 UTC) #9
Message was sent while issue was closed.
Change committed as 282558

Powered by Google App Engine
This is Rietveld 408576698