Descriptiongdata cleanup: Make GDataFileSystem::AddUploadedFile() take scoped_ptr<DocumentEntry>.
Previously this function takes a DocumentEntry* pointer obtained from UploadFileInfo.
This implicitly requires caller to keep the DocumentEntry object (or the UploadFileInfo
struct) alive until the call is complete.
Changing this argument to a scoped pointer makes ownership transfer explicit.
BUG=none
TEST=unit_tests (GData*), lumpy
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146190
Patch Set 1 #
Total comments: 4
Patch Set 2 : Achuith's comment. #Patch Set 3 : Rebase @ revision 146183. #
Messages
Total messages: 5 (0 generated)
|