DescriptionAdd a has_media flag to VolumeMetadata.
The new flag carries the has_media status of a volume through from the DiskMountManager, so the information is available to chrome.fileManagerPrivate.onMountCompleted javascript listeners.
This is a re-land of issue 668013004, which fixes some initialization problems in VolumeInfo, which were causing flakey behaviour in tests.
BUG=420680
TEST=browser_tests: FileManagerPrivateApiTest.* FileManagerJsTest.*
Committed: https://crrev.com/da43a4428324e8869d06d6ef8aac849328402dd6
Cr-Commit-Position: refs/heads/master@{#302186}
Patch Set 1 #Patch Set 2 : Fix has_media flags on unittest. #
Total comments: 2
Patch Set 3 : Add missing VolumeInfo initializer. #
Messages
Total messages: 10 (3 generated)
|