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

Unified Diff: chrome/browser/chromeos/gdata/gdata_files.h

Issue 10830071: gdata: Make GDataDirectory::FindChild() private (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698