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

Issue 10834328: ChromeOS: Fix DCHECK failure after file copying in Drive folder. (Closed)

Created:
8 years, 4 months ago by kinaba
Modified:
8 years, 4 months ago
Reviewers:
achuithb, kochi
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, achuithb
Visibility:
Public.

Description

ChromeOS: Fix DCHECK failure after file copying in Drive folder. This is due to multiple callback calls in GDataFileSystem::AddUploadedFileToCache. It should be called exactly once on every code path. BUG=none TEST=Manual: open Drive folder, select a file, ctrl-C and then ctrl-V. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151713

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
kinaba
Kochi-san, could you give a quick look?
8 years, 4 months ago (2012-08-15 07:27:00 UTC) #1
kochi
http://codereview.chromium.org/10834328/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10834328/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3086 chrome/browser/chromeos/gdata/gdata_file_system.cc:3086: params->callback.Run(); What does it make sense for after NOTREACHED()? ...
8 years, 4 months ago (2012-08-15 07:34:44 UTC) #2
kinaba
http://codereview.chromium.org/10834328/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10834328/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode3086 chrome/browser/chromeos/gdata/gdata_file_system.cc:3086: params->callback.Run(); On 2012/08/15 07:34:44, Takayoshi Kochi wrote: > What ...
8 years, 4 months ago (2012-08-15 07:52:42 UTC) #3
kochi
lgtm
8 years, 4 months ago (2012-08-15 07:55:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/10834328/7001
8 years, 4 months ago (2012-08-15 09:13:58 UTC) #5
achuithb
lgtm. This was my mistake - thanks for fixing it.
8 years, 4 months ago (2012-08-15 09:40:07 UTC) #6
commit-bot: I haz the power
Try job failure for 10834328-7001 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-15 10:50:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kinaba@chromium.org/10834328/7001
8 years, 4 months ago (2012-08-15 13:21:47 UTC) #8
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 17:32:35 UTC) #9
Change committed as 151713

Powered by Google App Engine
This is Rietveld 408576698