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

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

Issue 10736045: gdata: Remove GDataCacheEntry::set_cache_entry() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « 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_entry.h
diff --git a/chrome/browser/chromeos/gdata/gdata_cache_entry.h b/chrome/browser/chromeos/gdata/gdata_cache_entry.h
index e3c0185ed67fd9f76f86632e92e593ce241d8da8..a831eac1ab39ad7509f6951381e20e6a9f3ac08a 100644
--- a/chrome/browser/chromeos/gdata/gdata_cache_entry.h
+++ b/chrome/browser/chromeos/gdata/gdata_cache_entry.h
@@ -34,13 +34,12 @@ class GDataCacheEntry {
// The MD5 of the cache file. This can be "local" if the file is
// locally modified.
const std::string& md5() const { return md5_; }
+ void set_md5(const std::string& md5) { md5_ = md5; }
// The cache state represented as a bitmask of GDataCacheState.
+ // TODO(satorux): Remove this: crrev.com/136921
int cache_state() const { return cache_state_; }
- void set_md5(const std::string& md5) { md5_ = md5; }
- void set_cache_state(int cache_state) { cache_state_ = cache_state; }
-
// Returns true if the file is present locally.
bool IsPresent() const { return cache_state_ & CACHE_STATE_PRESENT; }
« 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