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

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: Review fix (#10) 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..932c1cb3187eb5ed4f9afb8caa5f65ee96d37680 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_files_remover_;
+
ObserverList<GDataFileSystemInterface::Observer> observers_;
scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698