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

Unified Diff: chrome/browser/sync/protocol/sync.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: Comments. Rest of unit tests. 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/sync.proto
diff --git a/chrome/browser/sync/protocol/sync.proto b/chrome/browser/sync/protocol/sync.proto
index e60d209d5deec19d0102fe669fdc5216e3bc2b06..e065ab83139fe0709c3a191728bfddb39e60ec4d 100644
--- a/chrome/browser/sync/protocol/sync.proto
+++ b/chrome/browser/sync/protocol/sync.proto
@@ -14,6 +14,8 @@ option retain_unknown_fields = true;
package sync_pb;
+import "encryption.proto";
+
// Used for inspecting how long we spent performing operations in different
// backends. All times must be in millis.
message ProfilingData {
@@ -26,6 +28,8 @@ message ProfilingData {
}
message EntitySpecifics {
+ optional EncryptedData encrypted = 1;
+
// To add new datatype-specific fields to the protocol, extend
// EntitySpecifics. First, pick a non-colliding tag number by
// picking a revision number of one of your past commits

Powered by Google App Engine
This is Rietveld 408576698