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

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

Issue 9809011: GData save package support with MHTML. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add comments and TODOs Created 8 years, 9 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_download_observer.h
===================================================================
--- chrome/browser/chromeos/gdata/gdata_download_observer.h (revision 128956)
+++ chrome/browser/chromeos/gdata/gdata_download_observer.h (working copy)
@@ -54,6 +54,12 @@
// progress is unknown, returns -1.
static int PercentComplete(content::DownloadItem* download);
+ // Create a temporary file |gdata_tmp_download_path| in
+ // |gdata_tmp_download_dir|. Must be called on a thread that allows file
+ // operations.
+ static void GetGDataTempDownloadPath(const FilePath& gdata_tmp_download_dir,
+ FilePath* gdata_tmp_download_path);
+
private:
// Gets the gdata_path from external data in |download|.
// GetGDataPath may return an empty path in case SetGDataPath was not

Powered by Google App Engine
This is Rietveld 408576698