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

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

Issue 10832241: Drive: Removes unused cache files after the initial feed fetch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding scoped_ptr<StaleCacheFilesRemover> to GDataFileSystem 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
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 452f6b10a625085b42e4b4d0bbf9f28796e01a7e..a4b510d5cdee37eb8b040dd8ee001a13a175021e 100644
--- a/chrome/browser/chromeos/gdata/gdata_file_system.h
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.h
@@ -35,6 +35,7 @@ namespace gdata {
class DocumentsServiceInterface;
class DriveWebAppsRegistryInterface;
class GDataWapiFeedLoader;
+class StaleCacheFilesRemover;
struct UploadFileInfo;
// The production implementation of GDataFileSystemInterface.
@@ -857,6 +858,9 @@ class GDataFileSystem : public GDataFileSystemInterface,
// The loader is used to load the feeds.
scoped_ptr<GDataWapiFeedLoader> feed_loader_;
+ // The remover is used to remove stale cache files.
+ scoped_ptr<StaleCacheFilesRemover> stale_cache_file_remover_;
+
ObserverList<GDataFileSystemInterface::Observer> observers_;
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698