Index: chrome/browser/chromeos/drive/resource_entry_conversion.cc |
diff --git a/chrome/browser/chromeos/drive/resource_entry_conversion.cc b/chrome/browser/chromeos/drive/resource_entry_conversion.cc |
index 871a2c3454864cfb5a16ffd4c8c94c7d13183614..eab965272f9aa6dd0436a72b4ea71208127641e5 100644 |
--- a/chrome/browser/chromeos/drive/resource_entry_conversion.cc |
+++ b/chrome/browser/chromeos/drive/resource_entry_conversion.cc |
@@ -39,6 +39,9 @@ DriveEntryProto ConvertResourceEntryToDriveEntryProto( |
const google_apis::Link* parent_link = |
entry.GetLinkByType(google_apis::Link::LINK_PARENT); |
if (parent_link) { |
+ // TODO(haruki): Apply mapping from an empty parent to special dummy |
+ // directory. See http://crbug.com/174233. Until we implement it, |
+ // ChangeListProcessor ignores such "no parent" entries. |
entry_proto.set_parent_resource_id( |
util::ExtractResourceIdFromUrl(parent_link->href())); |
} |