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 9f581391e401952e19a137fae1a2ad4a055d66a7..e53102a140e14b73c00c6ccbd7921454e1172d23 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_files.h |
+++ b/chrome/browser/chromeos/gdata/gdata_files.h |
@@ -33,6 +33,7 @@ class GDataEntryProto; |
class GDataFileProto; |
class GDataDirectoryProto; |
class GDataRootDirectoryProto; |
+class PlatformFileInfoProto; |
// Directory content origin. |
enum ContentOrigin { |
@@ -81,6 +82,16 @@ class GDataEntry { |
static scoped_ptr<GDataEntry> FromProtoString( |
const std::string& serialized_proto); |
+ // Converts the proto representation to the platform file. |
+ static void ConvertProtoToPlatformFileInfo( |
+ const PlatformFileInfoProto& proto, |
+ base::PlatformFileInfo* file_info); |
+ |
+ // Converts the platform file info to the proto representation. |
+ static void ConvertPlatformFileInfoToProto( |
+ const base::PlatformFileInfo& file_info, |
+ PlatformFileInfoProto* proto); |
+ |
// Converts to/from proto. |
void FromProto(const GDataEntryProto& proto); |
void ToProto(GDataEntryProto* proto) const; |