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

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: Self review 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 e7458c65e90999be7a704047e7dda8de183b67eb..8435d1896ecd7f52f9c80fc0bf64a7bb5190d989 100644
--- a/chrome/browser/sync/protocol/nigori_specifics.proto
+++ b/chrome/browser/sync/protocol/nigori_specifics.proto
@@ -31,6 +31,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.
+ optional bool encrypt_bookmarks = 3;
+ optional bool encrypt_preferences = 4;
+ optional bool encrypt_passwords = 5;
+ optional bool encrypt_autofill_profile = 6;
+ optional bool encrypt_autofill = 7;
+ optional bool encrypt_themes = 8;
+ optional bool encrypt_typed_urls = 9;
+ optional bool encrypt_extensions = 10;
+ optional bool encrypt_sessions = 11;
+ optional bool encrypt_apps = 12;
}
extend EntitySpecifics {

Powered by Google App Engine
This is Rietveld 408576698