Index: chrome/browser/chromeos/drive/drive_file_system_util.h |
diff --git a/chrome/browser/chromeos/drive/drive_file_system_util.h b/chrome/browser/chromeos/drive/drive_file_system_util.h |
index 0255908486f9e9245b32e316bdb6d075f5dc73f3..d7ae144ecf698ef042bba836aa7628c7728ff0aa 100644 |
--- a/chrome/browser/chromeos/drive/drive_file_system_util.h |
+++ b/chrome/browser/chromeos/drive/drive_file_system_util.h |
@@ -89,10 +89,11 @@ const std::string& GetDriveMountPointPathAsString(); |
// Returns the 'local' root of remote file system as "/special". |
const base::FilePath& GetSpecialRemoteRootPath(); |
-// Returns the gdata file resource url formatted as |
-// chrome://drive/<resource_id>/<file_name>. |
-GURL GetFileResourceUrl(const std::string& resource_id, |
- const std::string& file_name); |
+// Returns the gdata file resource url formatted as "drive:<path>" |
+GURL FilePathToDriveURL(const base::FilePath& path); |
+ |
+// Converts a drive: URL back to a path that can be passed to DriveFileSystem. |
+base::FilePath DriveURLToFilePath(const GURL& url); |
// Given a profile and a drive_cache_path, return the file resource url. |
void ModifyDriveFileResourceUrl(Profile* profile, |