Index: chrome/browser/drive/drive_api_util.h |
diff --git a/chrome/browser/drive/drive_api_util.h b/chrome/browser/drive/drive_api_util.h |
index 2c9991d7db8679fedad17270fc1fc42d2b043802..afeb2c3c61533536d7c956865f0a9985ebb4f30b 100644 |
--- a/chrome/browser/drive/drive_api_util.h |
+++ b/chrome/browser/drive/drive_api_util.h |
@@ -17,6 +17,11 @@ namespace base { |
class Value; |
} // namespace base |
+namespace google_apis { |
+class FileResource; |
+class ResourceEntry; |
+} // namespace google_apis |
+ |
namespace drive { |
namespace util { |
@@ -62,6 +67,10 @@ void ParseShareUrlAndRun(const google_apis::GetShareUrlCallback& callback, |
google_apis::GDataErrorCode error, |
scoped_ptr<base::Value> value); |
+// Converts ResourceEntry to FileResource. |
+scoped_ptr<google_apis::FileResource> |
+ConvertResourceEntryToFileResource(const google_apis::ResourceEntry& entry); |
+ |
// The resource ID for the root directory for WAPI is defined in the spec: |
// https://developers.google.com/google-apps/documents-list/ |
extern const char kWapiRootDirectoryResourceId[]; |