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

Unified Diff: chrome/browser/sync/protocol/nigori_specifics.proto

Issue 6465005: [Sync] Initial support for encrypting any datatype (no UI hookup yet). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + small fix Created 9 years, 10 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/protocol/nigori_specifics.proto
diff --git a/chrome/browser/sync/protocol/nigori_specifics.proto b/chrome/browser/sync/protocol/nigori_specifics.proto
index 98ee1b704796adc092e855bb3a4727e244d316c1..4e8b8752cfdf6c3f14e86365d60713ef6e2e7045 100644
--- a/chrome/browser/sync/protocol/nigori_specifics.proto
+++ b/chrome/browser/sync/protocol/nigori_specifics.proto
@@ -34,6 +34,18 @@ message NigoriSpecifics {
// True if |encrypted| is encrypted using a passphrase
// explicitly set by the user.
optional bool using_explicit_passphrase = 2;
+
+ // Booleans corresponding to whether a datatype should be encrypted.
+ // Passwords are always encrypted, so we don't need a field here.
+ optional bool encrypt_bookmarks = 3;
+ optional bool encrypt_preferences = 4;
+ optional bool encrypt_autofill_profile = 5;
+ optional bool encrypt_autofill = 6;
+ optional bool encrypt_themes = 7;
+ optional bool encrypt_typed_urls = 8;
+ optional bool encrypt_extensions = 9;
+ optional bool encrypt_sessions = 10;
+ optional bool encrypt_apps = 11;
}
extend EntitySpecifics {
« no previous file with comments | « chrome/browser/sync/profile_sync_service_session_unittest.cc ('k') | chrome/browser/sync/protocol/sync.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698