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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system.h

Issue 13772005: chromeos: Stop directly downloading files to the cache directory from DriveFileSystem::GetResolvedF… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DCHECK Created 7 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
« no previous file with comments | « chrome/browser/chromeos/drive/drive_cache.cc ('k') | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h
index 62a82dbce2460fa80b47a7046fd34c3b966bf2e9..b1fe42aa7befd2772877a5050ea8e70270960062 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -354,10 +354,15 @@ class DriveFileSystem : public DriveFileSystemInterface,
DriveFileError error,
const base::FilePath& drive_file_path,
scoped_ptr<DriveEntryProto> entry_proto);
- void GetResolvedFileByPathAfterFreeDiskSpacePreliminarily(
+ void GetResolvedFileByPathAfterFreeDiskSpace(
scoped_ptr<GetResolvedFileParams> params,
const GURL& download_url,
bool has_enough_space);
+ void GetResolveFileByPathAfterCreateTemporaryFile(
+ scoped_ptr<GetResolvedFileParams> params,
+ const GURL& download_url,
+ base::FilePath* temp_file,
+ bool success);
void GetResolvedFileByPathAfterDownloadFile(
scoped_ptr<GetResolvedFileParams> params,
google_apis::GDataErrorCode status,
@@ -367,10 +372,14 @@ class DriveFileSystem : public DriveFileSystemInterface,
const std::string& md5,
bool success,
const DriveCacheEntry& cache_entry);
- void GetResolvedFileByPathAfterFreeDiskSpace(
+ void GetResolvedFileByPathAfterStore(
scoped_ptr<GetResolvedFileParams> params,
const base::FilePath& downloaded_file_path,
- bool has_enough_space);
+ DriveFileError error);
+ void GetResolvedFileByPathAfterGetFile(
+ scoped_ptr<GetResolvedFileParams> params,
+ DriveFileError error,
+ const base::FilePath& cache_file);
// Loads the file system from the cache or the server via change lists if
// the file system is not yet loaded. Runs |callback| upon the completion
« no previous file with comments | « chrome/browser/chromeos/drive/drive_cache.cc ('k') | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698