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

Issue 677413007: Add a has_media flag to VolumeMetadata. (Closed)

Created:
6 years, 1 month ago by Ben Kwa
Modified:
6 years, 1 month ago
Reviewers:
mkearney1, kenobi, mtomasz
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M chrome/browser/chromeos/extensions/file_manager/file_manager_private_apitest.cc View 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_manager/volume_manager.cc View 1 2 6 chunks +8 lines, -1 line 0 comments Download
M chrome/common/extensions/api/file_manager_private.idl View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/file_browser/mount_test/test.js View 1 6 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Ben Kwa
Re-landing issue 668013004. This is basically the same change with a fix to the VolumeInfo ...
6 years, 1 month ago (2014-10-28 20:30:18 UTC) #2
mtomasz
Please add TEST= line. lgtm with one nit. https://codereview.chromium.org/677413007/diff/20001/chrome/browser/chromeos/file_manager/volume_manager.cc File chrome/browser/chromeos/file_manager/volume_manager.cc (right): https://codereview.chromium.org/677413007/diff/20001/chrome/browser/chromeos/file_manager/volume_manager.cc#newcode229 chrome/browser/chromeos/file_manager/volume_manager.cc:229: is_read_only(false) ...
6 years, 1 month ago (2014-10-29 00:50:42 UTC) #3
kenobi
https://codereview.chromium.org/677413007/diff/20001/chrome/browser/chromeos/file_manager/volume_manager.cc File chrome/browser/chromeos/file_manager/volume_manager.cc (right): https://codereview.chromium.org/677413007/diff/20001/chrome/browser/chromeos/file_manager/volume_manager.cc#newcode229 chrome/browser/chromeos/file_manager/volume_manager.cc:229: is_read_only(false) { On 2014/10/29 00:50:42, mtomasz wrote: > Please ...
6 years, 1 month ago (2014-10-29 14:56:33 UTC) #5
mkearney1
lgtm
6 years, 1 month ago (2014-10-30 18:53:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/677413007/40001
6 years, 1 month ago (2014-10-30 22:16:30 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-30 23:11:19 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 23:12:09 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/da43a4428324e8869d06d6ef8aac849328402dd6
Cr-Commit-Position: refs/heads/master@{#302186}

Powered by Google App Engine
This is Rietveld 408576698