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

Unified Diff: chrome/browser/chromeos/gdata/gdata_cache.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.proto ('k') | 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 2c67f0ea21e9ee98e7677bbf3f9ea482d3622541..c9ecd4039eeb9dcaa5ce47dced16ecabbe2dc344 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache.h
+++ b/chrome/browser/chromeos/gdata/gdata_cache.h
@@ -27,7 +27,7 @@ class SequencedTaskRunner;
namespace gdata {
-class GDataCacheEntry;
+class DriveCacheEntry;
class GDataCacheMetadata;
// Callback for SetMountedStateOnUIThread and ClearAllOnUIThread.
@@ -62,7 +62,7 @@ typedef base::Callback<void(const std::vector<std::string>& resource_ids)>
// |success| indicates if the operation was successful.
// |cache_entry| is the obtained cache entry. On failure, |cache_state| is
// set to TEST_CACHE_STATE_NONE.
-typedef base::Callback<void(bool success, const GDataCacheEntry& cache_entry)>
+typedef base::Callback<void(bool success, const DriveCacheEntry& cache_entry)>
GetCacheEntryCallback;
// GDataCache is used to maintain cache states of GDataFileSystem.
@@ -285,7 +285,7 @@ class GDataCache {
// extension and hence no md5.
bool GetCacheEntry(const std::string& resource_id,
const std::string& md5,
- GDataCacheEntry* entry);
+ DriveCacheEntry* entry);
// Factory methods for GDataCache.
// |pool| and |sequence_token| are used to assert that the functions are
@@ -318,7 +318,7 @@ class GDataCache {
// Returns the type of the sub directory where the cache file is stored.
static CacheSubDirectoryType GetSubDirectoryType(
- const GDataCacheEntry& cache_entry);
+ const DriveCacheEntry& cache_entry);
private:
GDataCache(const FilePath& cache_root_path,
@@ -434,7 +434,7 @@ class GDataCache {
void GetCacheEntryHelper(const std::string& resource_id,
const std::string& md5,
bool* success,
- GDataCacheEntry* cache_entry);
+ DriveCacheEntry* 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 | « chrome/browser/chromeos/gdata/gdata.proto ('k') | chrome/browser/chromeos/gdata/gdata_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698