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

Issue 10827262: gdata: Remove use of FindEntryByPathSync() from MoveEntryFromRootDirectory() (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 MoveEntryFromRootDirectory() The number of calles of FindEntryByPathSync() is reduced from 13 to 11. BUG=137694, 126634, 139446 TEST=Moving a file to another directory and renaming in the same directory work as before from file manager. also copying of a hosted document works as before Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151040

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -15 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 chunk +37 lines, -15 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
satorux1
8 years, 4 months ago (2012-08-09 22:18:56 UTC) #1
achuithb
8 years, 4 months ago (2012-08-10 08:46:42 UTC) #2
lgtm

https://chromiumcodereview.appspot.com/10827262/diff/1/chrome/browser/chromeo...
File chrome/browser/chromeos/gdata/gdata_file_system.cc (right):

https://chromiumcodereview.appspot.com/10827262/diff/1/chrome/browser/chromeo...
chrome/browser/chromeos/gdata/gdata_file_system.cc:1268:
scoped_ptr<GDataEntryProto> src_proto = result->first.proto.Pass();
I would've used GDataEntryProto* instead of scoped_ptr here, but I guess this is
fine.

Powered by Google App Engine
This is Rietveld 408576698