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

Issue 2556413002: Remove spam log when querying free/total size. (Closed)

Created:
4 years ago by mtomasz
Modified:
4 years ago
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove spam log when querying free/total size. Some mount points are virtual, and do not store bytes on the local file system. TEST=None BUG=653593 Committed: https://crrev.com/4e6ad92801908ff7c689f327f445bde810f521a8 Cr-Commit-Position: refs/heads/master@{#438758}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reverted accidential change. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 1 chunk +8 lines, -2 lines 1 comment Download

Messages

Total messages: 19 (12 generated)
mtomasz
@atwilson: PTAL. Thanks.
4 years ago (2016-12-12 07:51:08 UTC) #7
Andrew T Wilson (Slow)
LGTM except for one (unintentional?) comment change you should revert. https://codereview.chromium.org/2556413002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2556413002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc#newcode302 ...
4 years ago (2016-12-14 16:09:25 UTC) #8
mtomasz
https://codereview.chromium.org/2556413002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc File chrome/browser/chromeos/policy/device_status_collector.cc (right): https://codereview.chromium.org/2556413002/diff/1/chrome/browser/chromeos/policy/device_status_collector.cc#newcode302 chrome/browser/chromeos/policy/device_status_collector.cc:302: // reference to the instance of this class, so ...
4 years ago (2016-12-15 05:17:30 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2556413002/20001
4 years ago (2016-12-15 05:18:22 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-15 05:49:17 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/4e6ad92801908ff7c689f327f445bde810f521a8 Cr-Commit-Position: refs/heads/master@{#438758}
4 years ago (2016-12-15 05:52:03 UTC) #17
Wez
4 years ago (2016-12-15 19:27:57 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/2556413002/diff/20001/chrome/browser/chromeos...
File chrome/browser/chromeos/policy/device_status_collector.cc (right):

https://codereview.chromium.org/2556413002/diff/20001/chrome/browser/chromeos...
chrome/browser/chromeos/policy/device_status_collector.cc:115: if
(mount_point.empty() || !base::PathExists(mount_path))
nit: It'd be more readable to check mount_path.empty() here.

If a mount point isn't on the local filesystem then should we even be going so
far as to create a FilePath for it?  Is there some cleaner way to check, e.g.
some standard non-local filesystem prefix..?

Powered by Google App Engine
This is Rietveld 408576698