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

Unified Diff: chrome/browser/chromeos/drive/change_list_processor.cc

Issue 16107004: drive: Stop returning FilePath from GetResourceEntryById (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/dummy_file_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/change_list_processor.cc
diff --git a/chrome/browser/chromeos/drive/change_list_processor.cc b/chrome/browser/chromeos/drive/change_list_processor.cc
index 8979ed5533ff64e1b1853f1eacd16697eae6b0e5..91a530c1a72e46749bf237a253598c19e1d34d65 100644
--- a/chrome/browser/chromeos/drive/change_list_processor.cc
+++ b/chrome/browser/chromeos/drive/change_list_processor.cc
@@ -163,8 +163,9 @@ void ChangeListProcessor::ApplyEntryMap(
void ChangeListProcessor::ApplyEntry(const ResourceEntry& entry) {
// Lookup the entry.
- FileError error =
- resource_metadata_->GetResourceEntryById(entry.resource_id(), NULL, NULL);
+ ResourceEntry existing_entry;
+ FileError error = resource_metadata_->GetResourceEntryById(
+ entry.resource_id(), &existing_entry);
if (error == FILE_ERROR_OK) {
if (entry.deleted()) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/dummy_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698