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

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

Issue 9694016: Extend and refactor GDataFileBase and derived classes. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 9 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_unittest.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.cc
===================================================================
--- chrome/browser/chromeos/gdata/gdata_file_system.cc (revision 126341)
+++ chrome/browser/chromeos/gdata/gdata_file_system.cc (working copy)
@@ -873,7 +873,7 @@
return cache_file_path;
GDataFile* file = file_base->AsGDataFile();
- resource = file->resource();
+ resource = file->resource_id();
md5 = file->file_md5();
}
@@ -1081,7 +1081,7 @@
// If it's a file (only files have resource), remove it from cache.
if (file->AsGDataFile()) {
- RemoveFromCache(file->AsGDataFile()->resource(),
+ RemoveFromCache(file->AsGDataFile()->resource_id(),
base::Bind(&GDataFileSystem::OnRemovedFromCache,
weak_ptr_factory_.GetWeakPtr()));
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698