Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(929)

Unified Diff: chrome/browser/chromeos/gdata/gdata_util.h

Issue 10116044: gdata: Support mounting archive files in GData cache. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: gdata: Support mounting archive files in GData cache. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/gdata/gdata_util.h
diff --git a/chrome/browser/chromeos/gdata/gdata_util.h b/chrome/browser/chromeos/gdata/gdata_util.h
index a7f5cd86ebc68d9ae30d359f96764de67a8f10cd..143e4d54231d7245448241b198722ec8351ae54a 100644
--- a/chrome/browser/chromeos/gdata/gdata_util.h
+++ b/chrome/browser/chromeos/gdata/gdata_util.h
@@ -62,6 +62,12 @@ void SetPermissionsForGDataCacheFiles(Profile* profile,
// Returns true if gdata is currently active with the specified profile.
bool IsGDataAvailable(Profile* profile);
+
+// Extracts resource_id, md5, and extra_suffix from cache path.
satorux1 2012/04/20 21:46:10 would be nice to add some example of input and out
+void ParseCacheFilePath(const FilePath& path,
+ std::string* resource_id,
+ std::string* md5,
+ std::string* extra_suffix);
satorux1 2012/04/20 21:46:10 i suggested "suffix", but "extension" would be bet
satorux1 2012/04/20 23:05:39 missed this comment?
} // namespace util
} // namespace gdata

Powered by Google App Engine
This is Rietveld 408576698