Chromium Code Reviews| 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..23ca103e2c914393503c05b9d5ab16c12e0c629b 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 file entry with the same resource id as |fresh_entry| with its |
| + // fresh value |fresh_entry|. |
| + void RefreshFile(scoped_ptr<GDataEntry> fresh_entry); |
|
satorux1
2012/05/31 19:41:07
scoped_ptr<GDataFile> ?
tbarzic
2012/05/31 20:03:54
Done.
|
| + |
| // Serializes/Parses to/from string via proto classes. |
| void SerializeToString(std::string* serialized_proto) const; |
| bool ParseFromString(const std::string& serialized_proto); |