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

Issue 2304523002: arc: Fix thread unsafe behavior of ArcDownloadsWatcherService (Closed)

Created:
4 years, 3 months ago by hashimoto
Modified:
4 years, 3 months ago
Reviewers:
hidehiko
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Fix thread unsafe behavior of ArcDownloadsWatcherService ArcBridgeService is not thread-safe. WeakPtr should be defererenced only on the thread to which the factory belongs. BUG=643059 Committed: https://crrev.com/3c74f1cb2742e9b050fbc830f1ac0e06163c2370 Cr-Commit-Position: refs/heads/master@{#416194}

Patch Set 1 #

Patch Set 2 : move #

Patch Set 3 : Less busy UI thread #

Total comments: 5

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M chrome/browser/chromeos/arc/arc_downloads_watcher_service.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc View 1 2 3 3 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
hashimoto
https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc File chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc (right): https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc#newcode38 chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc:38: std::vector<std::string> CollectChangedPaths( Semantically, base::FilePath suits better than std::string here, ...
4 years, 3 months ago (2016-09-01 07:34:20 UTC) #2
hidehiko
Thank you for quick fix. https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc File chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc (right): https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc#newcode38 chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc:38: std::vector<std::string> CollectChangedPaths( On 2016/09/01 ...
4 years, 3 months ago (2016-09-01 17:05:45 UTC) #7
hashimoto
https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc File chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc (right): https://codereview.chromium.org/2304523002/diff/40001/chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc#newcode38 chrome/browser/chromeos/arc/arc_downloads_watcher_service.cc:38: std::vector<std::string> CollectChangedPaths( On 2016/09/01 17:05:45, hidehiko wrote: > On ...
4 years, 3 months ago (2016-09-02 03:56:01 UTC) #8
hidehiko
lgtm
4 years, 3 months ago (2016-09-02 04:43:44 UTC) #13
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/2304523002/60001
4 years, 3 months ago (2016-09-02 05:27:03 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-02 05:30:50 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-09-02 05:33:18 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3c74f1cb2742e9b050fbc830f1ac0e06163c2370
Cr-Commit-Position: refs/heads/master@{#416194}

Powered by Google App Engine
This is Rietveld 408576698