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

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

Issue 2400303002: Add LwwRegister CRDT (Closed)
Patch Set: Update LwwRegister to use Coded(In/Out)putStream. LwwRegisterSerializer -> SyncablePrimitiveSeriali… 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/bias.h
diff --git a/blimp/common/blob_cache/mock_blob_cache.cc b/blimp/net/helium/bias.h
similarity index 59%
copy from blimp/common/blob_cache/mock_blob_cache.cc
copy to blimp/net/helium/bias.h
index 4cf10522588b680929bcbe0a751f6e8dbff32b4f..d5b646ec1ec892d624e9f655fcd131873120e111 100644
--- a/blimp/common/blob_cache/mock_blob_cache.cc
+++ b/blimp/net/helium/bias.h
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "blimp/common/blob_cache/mock_blob_cache.h"
+#ifndef BLIMP_NET_HELIUM_BIAS_H
Kevin M 2016/10/13 22:03:36 We'll need a home for RunningAs, too. How about sy
steimel 2016/10/17 21:45:59 Done.
scf 2016/10/17 22:09:51 sgtm
+#define BLIMP_NET_HELIUM_BIAS_H
namespace blimp {
-MockBlobCache::MockBlobCache() {}
-
-MockBlobCache::~MockBlobCache() {}
+enum class Bias { ClientWins, EngineWins };
} // namespace blimp
+
+#endif // BLIMP_NET_HELIUM_BIAS_H
« no previous file with comments | « blimp/net/DEPS ('k') | blimp/net/helium/lww_register.h » ('j') | blimp/net/helium/lww_register.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698