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

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

Issue 10182012: gdata: Remove GDataFileSystem::GetFileFromCacheByResourceIdAndMd5Internal() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index f3ddd15f918e2e212c853c0ac7180034a68573d5..3a093376c8c6dbf5fd286524fead97f7540ba146 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -56,7 +56,6 @@ typedef base::Callback<void(base::PlatformFileError error,
typedef base::Callback<void(base::PlatformFileError error,
const std::string& resource_id,
const std::string& md5,
- const FilePath& gdata_file_path,
const FilePath& cache_file_path)>
GetFileFromCacheCallback;
@@ -1109,7 +1108,6 @@ class GDataFileSystem : public GDataFileSystemInterface,
void GetFileFromCacheOnIOThreadPool(
const std::string& resource_id,
const std::string& md5,
- const FilePath& gdata_file_path,
base::PlatformFileError* error,
FilePath* cache_file_path);
@@ -1215,12 +1213,11 @@ class GDataFileSystem : public GDataFileSystemInterface,
// Helper function for internally handling responses from
// GetFileFromCacheByResourceIdAndMd5() calls during processing of
- // GetFile() request.
+ // GetFileByPath() request.
void OnGetFileFromCache(const GetFileFromCacheParams& params,
base::PlatformFileError error,
const std::string& resource_id,
const std::string& md5,
- const FilePath& gdata_file_path,
const FilePath& cache_file_path);
// Frees up disk space to store the given number of bytes, while keeping
@@ -1250,14 +1247,6 @@ class GDataFileSystem : public GDataFileSystemInterface,
GDataRootDirectory::CacheSubDirectoryType sub_dir_type,
GDataRootDirectory::CacheMap* cache_map);
- // Called from GetFileFromCacheByResourceIdAndMd5() and
- // GetFileFromCacheByPath().
- void GetFileFromCacheByResourceIdAndMd5Internal(
- const std::string& resource_id,
- const std::string& md5,
- const FilePath& gdata_file_path,
- const GetFileFromCacheCallback& callback);
-
// Wrapper task around any sequenced task that runs on IO thread pool that
// makes sure |in_shutdown_| and |on_io_completed_| are handled properly in
// the right order.
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698