Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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

Issue 11946058: Add password sync for Android. (Closed) Base URL:
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 ce0f293f094f804d5b2c8c4f24632e59c0fc3c25..ad5ca36f1235ac681fe624a3c66a33a5ba9e97dd 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -543,6 +543,13 @@ 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 has already been initialized and does not have
+ // pending keys.
+ bool ShouldEnablePasswordSyncForAndroid() const;
// Returns true if the syncer is waiting for new datatypes to be encrypted.
virtual bool encryption_pending() const;
« no previous file with comments | « chrome/browser/sync/ ('k') | chrome/browser/sync/ » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698