Index: chrome/browser/chromeos/gdata/gdata_files.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_files.h b/chrome/browser/chromeos/gdata/gdata_files.h |
index cc0ed9ed3b3838d4ef15ed6cfc4b404c949af7c2..78ef14ccd78cd5e082dcf8c7ca841fb079d3bf0d 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_files.h |
+++ b/chrome/browser/chromeos/gdata/gdata_files.h |
@@ -290,9 +290,6 @@ class GDataDirectory : public GDataEntry { |
// Takes over all entries from |dir|. |
bool TakeOverEntries(GDataDirectory* dir); |
- // Find a child by its name. |
- GDataEntry* FindChild(const FilePath::StringType& file_name) const; |
- |
// Removes the entry from its children list and destroys the entry instance. |
bool RemoveEntry(GDataEntry* entry); |
@@ -308,6 +305,12 @@ class GDataDirectory : public GDataEntry { |
} |
private: |
+ friend class GDataDirectoryService; |
+ |
+ // Find a child by its name. |
+ // TODO(satorux): Remove this. crbug.com/139649 |
+ GDataEntry* FindChild(const FilePath::StringType& file_name) const; |
+ |
// Add |entry| to children. |
void AddChild(GDataEntry* entry); |