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

Issue 10880075: drive: Fix a crash caused by an empty edit URL (Closed)

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

Description

drive: Fix a crash caused by an empty edit URL For some reason, edit URL can be null in some entries, which causes a crash. Along the way, make |callback| parameter of DriveFilesystemInterface::Remove() mandatory. The only caller in gdata_file_system_proxy.cc passes a non-null callback. BUG=144993 TEST=remove operation works as before Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153603

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Patch Set 3 : minor fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M chrome/browser/chromeos/gdata/drive_file_system.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/drive_file_system.cc View 1 4 chunks +14 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/gdata/drive_file_system_interface.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
satorux1
8 years, 3 months ago (2012-08-27 20:25:30 UTC) #1
achuithb
On 2012/08/27 20:25:30, satorux1 wrote: This is going to cause merge conflicts with http://codereview.chromium.org/10876075/, but ...
8 years, 3 months ago (2012-08-27 21:10:09 UTC) #2
achuithb
On 2012/08/27 21:10:09, achuith.bhandarkar wrote: > On 2012/08/27 20:25:30, satorux1 wrote: > > This is ...
8 years, 3 months ago (2012-08-27 21:11:58 UTC) #3
achuithb
http://codereview.chromium.org/10880075/diff/1/chrome/browser/chromeos/gdata/drive_file_system.cc File chrome/browser/chromeos/gdata/drive_file_system.cc (right): http://codereview.chromium.org/10880075/diff/1/chrome/browser/chromeos/gdata/drive_file_system.cc#newcode1273 chrome/browser/chromeos/gdata/drive_file_system.cc:1273: GURL(), What's this?
8 years, 3 months ago (2012-08-27 21:13:36 UTC) #4
satorux1
http://codereview.chromium.org/10880075/diff/1/chrome/browser/chromeos/gdata/drive_file_system.cc File chrome/browser/chromeos/gdata/drive_file_system.cc (right): http://codereview.chromium.org/10880075/diff/1/chrome/browser/chromeos/gdata/drive_file_system.cc#newcode1273 chrome/browser/chromeos/gdata/drive_file_system.cc:1273: GURL(), On 2012/08/27 21:13:36, achuith.bhandarkar wrote: > What's this? ...
8 years, 3 months ago (2012-08-27 22:07:23 UTC) #5
achuithb
lgtm
8 years, 3 months ago (2012-08-27 22:17:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/10880075/2002
8 years, 3 months ago (2012-08-27 22:54:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satorux@chromium.org/10880075/12001
8 years, 3 months ago (2012-08-27 23:03:08 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-08-28 01:32:34 UTC) #9
Change committed as 153603

Powered by Google App Engine
This is Rietveld 408576698