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 e52546500c80ed5edb44b65a8f2b3a1edc4015f1..4e27e19fe2d6c86e32dc5b429a550ac6d14f4e88 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_file_system.cc |
+++ b/chrome/browser/chromeos/gdata/gdata_file_system.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/chromeos/gdata/gdata_protocol_handler.h" |
#include "chrome/browser/chromeos/gdata/gdata_system_service.h" |
#include "chrome/browser/chromeos/gdata/gdata_util.h" |
+#include "chrome/browser/chromeos/gdata/stale_cache_files_remover.h" |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -537,6 +538,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); |