Index: chrome/browser/chromeos/gdata/gdata_file_system.cc |
diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.cc b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
index 0809dc3dcd25a69f3784ad301e4537e33929888e..a2bbd93321fccd3297ac5e7bebf4a21797f713d2 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
@@ -26,6 +26,7 @@ |
#include "chrome/browser/chromeos/gdata/gdata_system_service.h" |
#include "chrome/browser/chromeos/gdata/gdata_uploader.h" |
#include "chrome/browser/chromeos/gdata/gdata_util.h" |
+#include "chrome/browser/chromeos/gdata/stale_cache_files_remover.h" |
#include "chrome/browser/chromeos/gdata/task_util.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -444,6 +445,7 @@ void GDataFileSystem::Initialize() { |
cache_, |
blocking_task_runner_)); |
feed_loader_->AddObserver(this); |
+ stale_cache_files_remover_.reset(new StaleCacheFilesRemover(this, cache_)); |
PrefService* pref_service = profile_->GetPrefs(); |
hide_hosted_docs_ = pref_service->GetBoolean(prefs::kDisableGDataHostedFiles); |