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

Issue 950423003: Files.app: Fix a bug in content hash computation. (Closed)

Created:
5 years, 10 months ago by Ben Kwa
Modified:
5 years, 10 months ago
Reviewers:
mtomasz
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files.app: Fix a bug in content hash computation. Break a circular reference which was causing FileManagerPrivateComputeChecksumFunction to never be cleaned up. This, in turn, was holding open one file stream for every file for which a content checksum was requested. BUG=458624 Committed: https://crrev.com/78bb0f4b1c59602c67281bcbafb96eae90367040 Cr-Commit-Position: refs/heads/master@{#317997}

Patch Set 1 #

Patch Set 2 : Also rename a local var to fit coding standard. #

Total comments: 2

Patch Set 3 : Fix header file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -17 lines) Patch
M chrome/browser/drive/drive_api_util.h View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/drive/drive_api_util.cc View 1 1 chunk +16 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Ben Kwa
5 years, 10 months ago (2015-02-24 18:22:19 UTC) #2
mtomasz
lgtm with nit https://codereview.chromium.org/950423003/diff/20001/chrome/browser/drive/drive_api_util.h File chrome/browser/drive/drive_api_util.h (right): https://codereview.chromium.org/950423003/diff/20001/chrome/browser/drive/drive_api_util.h#newcode97 chrome/browser/drive/drive_api_util.h:97: void OnChunkRead(const ResultCallback& callback, int bytesRead); ...
5 years, 10 months ago (2015-02-25 05:02:00 UTC) #3
Ben Kwa
Done. Thanks! https://codereview.chromium.org/950423003/diff/20001/chrome/browser/drive/drive_api_util.h File chrome/browser/drive/drive_api_util.h (right): https://codereview.chromium.org/950423003/diff/20001/chrome/browser/drive/drive_api_util.h#newcode97 chrome/browser/drive/drive_api_util.h:97: void OnChunkRead(const ResultCallback& callback, int bytesRead); On ...
5 years, 10 months ago (2015-02-25 05:07:08 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/950423003/40001
5 years, 10 months ago (2015-02-25 05:08:12 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-25 06:24:49 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 06:25:14 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/78bb0f4b1c59602c67281bcbafb96eae90367040
Cr-Commit-Position: refs/heads/master@{#317997}

Powered by Google App Engine
This is Rietveld 408576698