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

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 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;
+#endif
+
// 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/profile_sync_components_factory_impl.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698