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

Issue 10828219: gdata: Remove use of FindEntryByPathSync() from CopyOnUIThread() (Closed)

Created:
8 years, 4 months ago by satorux1
Modified:
8 years, 4 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

gdata: Remove use of FindEntryByPathSync() from CopyOnUIThread() The number of calles of FindEntryByPathSync() is reduced from 17 to 15. BUG=10831212, 126634 TEST=Copying a file (and a hosted document) on Drive works before from file manager Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150824

Patch Set 1 #

Total comments: 11

Patch Set 2 : rebased #

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : reworked #

Total comments: 1

Patch Set 6 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -31 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 4 chunks +42 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_interface.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
satorux1
8 years, 4 months ago (2012-08-08 23:53:52 UTC) #1
achuithb
http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode955 chrome/browser/chromeos/gdata/gdata_file_system.cc:955: bool src_file_is_hosted_document = false; These auto vars seem unnecessary ...
8 years, 4 months ago (2012-08-09 00:29:27 UTC) #2
satorux1
http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode955 chrome/browser/chromeos/gdata/gdata_file_system.cc:955: bool src_file_is_hosted_document = false; On 2012/08/09 00:29:28, achuith.bhandarkar wrote: ...
8 years, 4 months ago (2012-08-09 08:33:03 UTC) #3
achuithb
lgtm http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode955 chrome/browser/chromeos/gdata/gdata_file_system.cc:955: bool src_file_is_hosted_document = false; On 2012/08/09 08:33:03, satorux1 ...
8 years, 4 months ago (2012-08-09 11:16:46 UTC) #4
satorux1
http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/10828219/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode955 chrome/browser/chromeos/gdata/gdata_file_system.cc:955: bool src_file_is_hosted_document = false; On 2012/08/09 11:16:46, achuith.bhandarkar wrote: ...
8 years, 4 months ago (2012-08-09 16:51:50 UTC) #5
satorux1
8 years, 4 months ago (2012-08-09 17:07:29 UTC) #6
http://codereview.chromium.org/10828219/diff/7004/chrome/browser/chromeos/gda...
File chrome/browser/chromeos/gdata/gdata_file_system.cc (right):

http://codereview.chromium.org/10828219/diff/7004/chrome/browser/chromeos/gda...
chrome/browser/chromeos/gdata/gdata_file_system.cc:1008: if
(!callback.is_null())
this was wrong! fixed.

Powered by Google App Engine
This is Rietveld 408576698