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

Unified Diff: components/sync/protocol/sync.proto

Issue 2380143002: [Sync] Enable Compression from Client to Server by experiment (Closed)
Patch Set: use experience to control compression Created 4 years, 2 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: components/sync/protocol/sync.proto
diff --git a/components/sync/protocol/sync.proto b/components/sync/protocol/sync.proto
index f29afb31f34cdff5feee41dc1a52bf45962e6322..bb60605facf803320a6f367de8acfb7b282af49e 100644
--- a/components/sync/protocol/sync.proto
+++ b/components/sync/protocol/sync.proto
@@ -431,6 +431,10 @@ message CommitMessage {
// Set of optional per-client datatype contexts.
repeated DataTypeContext client_contexts = 5;
+
+ // This field need to be 256 bytes if set. This attempts to mitigate CRIME
+ // attacks when sync communicate from client to server.
Nicolas Zea 2016/10/18 20:23:08 Call out that this is a 256 byte random string. A
Gang Wu 2016/10/19 00:06:14 Done.
+ optional string padding = 6;
};
// This message communicates additional per-type information related to
« components/sync/engine_impl/commit.cc ('K') | « components/sync/engine_impl/commit.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698