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

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

Issue 10535145: chromeos: Stop calling gdata::GDataCache::GetCacheEntry on UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 8 years, 6 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
Index: chrome/browser/chromeos/gdata/gdata_file_system.h
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h
index a5c90470cae236d86bd2549e57766dae217ce801..56a9bd7b22ba29b493b9b3c43bd45709833be77a 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -841,6 +841,10 @@ class GDataFileSystem : public GDataFileSystemInterface,
const GURL& content_url,
const FilePath& downloaded_file_path);
+ // Unpins file if cache entry is pinned.
+ void UnpinIfPinned(const FilePath& file_path,
+ scoped_ptr<GDataCache::CacheEntry>* cache_entry);
+
// Similar to OnFileDownloaded() but takes |has_enough_space| so we report
// an error in case we don't have enough disk space.
void OnFileDownloadedAndSpaceChecked(

Powered by Google App Engine
This is Rietveld 408576698