summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_system_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/drive/file_system_util.h')
-rw-r--r--chrome/browser/chromeos/drive/file_system_util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/drive/file_system_util.h b/chrome/browser/chromeos/drive/file_system_util.h
index d2a3f85..b45820b 100644
--- a/chrome/browser/chromeos/drive/file_system_util.h
+++ b/chrome/browser/chromeos/drive/file_system_util.h
@@ -148,6 +148,10 @@ std::string EscapeUtf8FileName(const std::string& input);
// Extracts resource_id out of edit url.
std::string ExtractResourceIdFromUrl(const GURL& url);
+// Gets the cache root path (i.e. <user_profile_dir>/GCache/v1) from the
+// profile.
+base::FilePath GetCacheRootPath(Profile* profile);
+
// Extracts resource_id, md5, and extra_extension from cache path.
// Case 1: Pinned and outgoing symlinks only have resource_id.
// Example: path="/user/GCache/v1/pinned/pdf:a1b2" =>