| Index: chrome/browser/chromeos/gdata/gdata_file_system.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
|
| index 2ee2ec838075f51c4878afc93ec4370acf71e671..0568695226955006850823e6bae1a74b0707b0fc 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_file_system.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
|
| @@ -846,6 +846,30 @@ class GDataFileSystem : public GDataFileSystemInterface,
|
| GDataFileError error,
|
| scoped_ptr<GDataEntryProto> entry_proto);
|
|
|
| + // Part of GetEntryByResourceId and GetEntryByPath. Checks whether there is a
|
| + // local dirty cache for the entry, and if there is, replace the
|
| + // PlatformFileInfo part of the entry_proto with the locally modified info.
|
| + void ReflectLocalModificationToGDataEntryProto(
|
| + const GetEntryInfoCallback& callback,
|
| + scoped_ptr<GDataEntryProto> entry_proto);
|
| + void OnGetCacheEntryForReflectLocalModification(
|
| + const GetEntryInfoCallback& callback,
|
| + scoped_ptr<GDataEntryProto> entry_proto,
|
| + bool success,
|
| + const GDataCacheEntry& cache_entry);
|
| + void OnGetCacheFileForReflectLocalModification(
|
| + const GetEntryInfoCallback& callback,
|
| + scoped_ptr<GDataEntryProto> entry_proto,
|
| + GDataFileError error,
|
| + const std::string& resource_id,
|
| + const std::string& md5,
|
| + const FilePath& local_cache_path);
|
| + void OnGetFileInfoForReflectLocalModification(
|
| + const GetEntryInfoCallback& callback,
|
| + scoped_ptr<GDataEntryProto> entry_proto,
|
| + base::PlatformFileInfo* file_info,
|
| + bool* get_file_info_result);
|
| +
|
| // All members should be accessed only on UI thread. Do not post tasks to
|
| // other threads with base::Unretained(this).
|
| scoped_ptr<GDataDirectoryService> directory_service_;
|
|
|