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

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

Issue 10836354: Rename GData* to Drive* in gdata.proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for comments. Created 8 years, 4 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/gdata/gdata_cache.cc ('k') | chrome/browser/chromeos/gdata/gdata_cache_metadata.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_metadata.h
diff --git a/chrome/browser/chromeos/gdata/gdata_cache_metadata.h b/chrome/browser/chromeos/gdata/gdata_cache_metadata.h
index 281497a7bfda8414f4622e598fff48178d031a6f..1fea8118ae39c60614d050eb605167f4b8761c98 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache_metadata.h
+++ b/chrome/browser/chromeos/gdata/gdata_cache_metadata.h
@@ -23,11 +23,11 @@ class GDataCacheMetadata {
public:
// Callback for Iterate().
typedef base::Callback<void(const std::string& resource_id,
- const GDataCacheEntry& cache_entry)>
+ const DriveCacheEntry& cache_entry)>
IterateCallback;
// A map table of cache file's resource id to its CacheEntry* entry.
- typedef std::map<std::string, GDataCacheEntry> CacheMap;
+ typedef std::map<std::string, DriveCacheEntry> CacheMap;
virtual ~GDataCacheMetadata();
@@ -45,7 +45,7 @@ class GDataCacheMetadata {
// Adds a new cache entry corresponding to |resource_id| if it doesn't
// exist, otherwise update the existing entry.
virtual void AddOrUpdateCacheEntry(const std::string& resource_id,
- const GDataCacheEntry& cache_entry) = 0;
+ const DriveCacheEntry& cache_entry) = 0;
// Removes entry corresponding to |resource_id| from cache map.
virtual void RemoveCacheEntry(const std::string& resource_id) = 0;
@@ -57,7 +57,7 @@ class GDataCacheMetadata {
// extension and hence no md5.
virtual bool GetCacheEntry(const std::string& resource_id,
const std::string& md5,
- GDataCacheEntry* entry) = 0;
+ DriveCacheEntry* entry) = 0;
// Removes temporary files (files in CACHE_TYPE_TMP) from the cache map.
virtual void RemoveTemporaryFiles() = 0;
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_cache.cc ('k') | chrome/browser/chromeos/gdata/gdata_cache_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698