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

Unified Diff: chrome/browser/sync/profile_sync_service_android.h

Issue 551843003: Persist Directory to disk when the app is backgrounded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a thread check and fix a comment. 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_android.h
diff --git a/chrome/browser/sync/profile_sync_service_android.h b/chrome/browser/sync/profile_sync_service_android.h
index 66e859cbd4f602240359be47f2cb26e4a449f5c6..84c27bb67d6849f1aeef61d290944f4ae90ffe60 100644
--- a/chrome/browser/sync/profile_sync_service_android.h
+++ b/chrome/browser/sync/profile_sync_service_android.h
@@ -60,6 +60,9 @@ class ProfileSyncServiceAndroid : public ProfileSyncServiceObserver {
// Called from Java when the user signs out of Chrome
void SignOutSync(JNIEnv* env, jobject obj);
+ // Called from Java when we get a signal that the Directory should be saved.
+ void FlushDirectory(JNIEnv* env, jobject obj);
+
// Returns a string version of browser_sync::SyncBackendHost::StatusSummary
base::android::ScopedJavaLocalRef<jstring> QuerySyncStatusSummary(
JNIEnv* env, jobject obj);

Powered by Google App Engine
This is Rietveld 408576698