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

Unified Diff: blimp/net/helium/syncable_common.h

Issue 2400303002: Add LwwRegister CRDT (Closed)
Patch Set: Refactor Serializer to use overloaded methods and add unit tests. Refactor LwwRegister to not be te… 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: blimp/net/helium/syncable_common.h
diff --git a/blimp/net/helium/syncable_common.h b/blimp/net/helium/syncable_common.h
new file mode 100644
index 0000000000000000000000000000000000000000..d7b83c72a95117709780fbabdfaec5c350772345
--- /dev/null
+++ b/blimp/net/helium/syncable_common.h
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef BLIMP_NET_HELIUM_SYNCABLE_COMMON_H_
+#define BLIMP_NET_HELIUM_SYNCABLE_COMMON_H_
+
+namespace blimp {
+
+enum class Bias { ClientWins, EngineWins };
Kevin M 2016/10/17 22:19:45 Recommend renaming these to Client, Engine. If thi
steimel 2016/10/18 23:53:20 Done.
+enum class RunningAs { Client, Engine };
+
+} // namespace blimp
+
+#endif // BLIMP_NET_HELIUM_SYNCABLE_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698