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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 551843003: Persist Directory to disk when the app is backgrounded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use SyncBackendHost to get to the sync thread. Created 6 years, 3 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/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 1adc3685d695d704642f51b2b03176edfa506c7f..a1a0b3e758becec81e8186e31dac9ff0ad93de30 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -2788,3 +2788,7 @@ bool ProfileSyncService::NeedBackup() const {
base::Time ProfileSyncService::GetDeviceBackupTimeForTesting() const {
return backend_->GetSyncedDeviceTracker()->GetLocalDeviceBackupTime();
}
+
+void ProfileSyncService::FlushDirectory() {
+ backend_->FlushDirectory();
+}

Powered by Google App Engine
This is Rietveld 408576698