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

Unified Diff: blimp/common/proto/helium.proto

Issue 2400303002: Add LwwRegister CRDT (Closed)
Patch Set: Add LwwRegister and tests to build 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
« no previous file with comments | « no previous file | blimp/net/BUILD.gn » ('j') | blimp/net/helium/lww_register.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/proto/helium.proto
diff --git a/blimp/common/proto/helium.proto b/blimp/common/proto/helium.proto
index 0b215f4f222de6d76350f1a268b8f2cd68f9a144..6d41238713463a390d681acaf69d525ad1576ea6 100644
--- a/blimp/common/proto/helium.proto
+++ b/blimp/common/proto/helium.proto
@@ -25,12 +25,20 @@ message TestChangesetMessage {
int32 value2 = 2;
}
+message LwwRegisterChangesetMessage {
+ oneof register {
+ int32 integer_value = 1;
scf 2016/10/10 19:45:46 rename to something that convey the size: |i32_val
steimel 2016/10/11 16:39:16 Gotcha. If we end up keeping with protos instead o
+ string string_value = 2;
+ }
+}
+
// A union of serializable Changeset types. There will be one for each Helium
// Object that requires serialization.
message ChangesetMessage {
oneof payload {
// Sample message for the test
TestChangesetMessage test = 1;
+ LwwRegisterChangesetMessage lww_register = 2;
};
}
« no previous file with comments | « no previous file | blimp/net/BUILD.gn » ('j') | blimp/net/helium/lww_register.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698