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

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

Issue 11227020: Set root resource ID upon full feed update. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add a comment. Created 8 years, 2 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
Index: chrome/browser/chromeos/drive/drive_feed_processor.cc
diff --git a/chrome/browser/chromeos/drive/drive_feed_processor.cc b/chrome/browser/chromeos/drive/drive_feed_processor.cc
index f8fe8bd4f188a96ddf098df83192401a53ff7e53..7822dd40173b91a4c13af9d6d847aa9538edd35b 100644
--- a/chrome/browser/chromeos/drive/drive_feed_processor.cc
+++ b/chrome/browser/chromeos/drive/drive_feed_processor.cc
@@ -89,6 +89,7 @@ void DriveFeedProcessor::ApplyFeedFromFileUrlMap(
scoped_ptr<DriveResourceMetadata> orphaned_resources(
new DriveResourceMetadata);
+ orphaned_resources->InitializeRootEntry("orphanedroot");
// Go through all entries generated by the feed and apply them to the local
// snapshot of the file system.
for (FileResourceIdMap::iterator it = file_map->begin();

Powered by Google App Engine
This is Rietveld 408576698