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

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

Issue 10735049: gdata: Take GDataCache::CacheEntry as parameters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: polish Created 8 years, 5 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_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/gdata/gdata_cache.h
diff --git a/chrome/browser/chromeos/gdata/gdata_cache.h b/chrome/browser/chromeos/gdata/gdata_cache.h
index e3280ae4c6ab74e2d626d1ccb82f66a2a77897ea..217de686ce2b25550f654878f17e7bf1a5a4bd14 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache.h
+++ b/chrome/browser/chromeos/gdata/gdata_cache.h
@@ -482,11 +482,11 @@ class GDataCache {
GDataCache::CacheEntry* cache_entry);
// Wrapper around GDataCacheMetadata::UpdateCache(). This function takes
- // |sub_dir_type| and modifies |cache_state| per the sub directory type.
- void UpdateCacheWithSubDirectoryType(const std::string& resource_id,
- const std::string& md5,
- CacheSubDirectoryType sub_dir_type,
- int cache_state);
+ // |sub_dir_type| and updates the cache per |cache_entry| and |sub_dir_type|.
+ void UpdateCacheWithSubDirectoryType(
+ const std::string& resource_id,
+ CacheSubDirectoryType sub_dir_type,
+ const CacheEntry& cache_entry);
// The root directory of the cache (i.e. <user_profile_dir>/GCache/v1).
const FilePath cache_root_path_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698