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

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

Issue 11946058: Add password sync for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 11 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.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index feca8f77a05f9d71045feea43dc2b92dc5feacfb..3167d2cff91c06b530c73b3bd61f1b598a7fc5aa 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -535,6 +535,12 @@ class ProfileSyncService : public ProfileSyncServiceBase,
// not account for types pending encryption.
virtual syncer::ModelTypeSet GetEncryptedDataTypes() const;
+#if defined(OS_ANDROID)
+ // Android does not display password prompts, passwords are only allowed to be
+ // synced, if Cryptographer can decrypt them.
Nicolas Zea 2013/01/18 00:05:11 nit: "if the Cryptographer has already been initia
shashi 2013/01/18 02:06:31 Done.
+ bool IsPasswordSyncEnabledForAndroid() const;
+#endif
+
// Returns true if the syncer is waiting for new datatypes to be encrypted.
virtual bool encryption_pending() const;

Powered by Google App Engine
This is Rietveld 408576698