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

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

Issue 10444082: Refresh drive file system metadata for entries in search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
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 2922ebc108e4851d370c6d02d20e66691cae96b1..db245808567c721d544f1e8966ebe81894080a06 100644
--- a/chrome/browser/chromeos/gdata/gdata_files.h
+++ b/chrome/browser/chromeos/gdata/gdata_files.h
@@ -379,6 +379,10 @@ class GDataRootDirectory : public GDataDirectory {
// Returns the GDataEntry* with the corresponding |resource_id|.
GDataEntry* GetEntryByResourceId(const std::string& resource_id);
+ // Replaces entry with the same resource id as |fresh_entry| with its fresh
+ // value |fresh_entry|.
+ void RefreshEntry(scoped_ptr<GDataEntry> fresh_entry);
satorux1 2012/05/31 15:56:01 can you add a unit test for this in gdata_files_un
tbarzic 2012/05/31 19:25:17 Done.
+
// Serializes/Parses to/from string via proto classes.
void SerializeToString(std::string* serialized_proto) const;
bool ParseFromString(const std::string& serialized_proto);

Powered by Google App Engine
This is Rietveld 408576698