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

Side by Side Diff: blimp/helium/syncable_common.h

Issue 2602103002: Delete blimp/helium and remove references to it from dependent targets (Closed)
Patch Set: . Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « blimp/helium/syncable.h ('k') | blimp/helium/syncable_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_HELIUM_SYNCABLE_COMMON_H_
6 #define BLIMP_HELIUM_SYNCABLE_COMMON_H_
7
8 #include "blimp/helium/blimp_helium_export.h"
9
10 namespace blimp {
11 namespace helium {
12
13 enum class Peer { CLIENT, ENGINE };
14
15 enum class Bias { LOCAL, REMOTE };
16
17 // Determines whether a Syncable should be biased toward local or remote
18 // mutations in the event of a conflict.
19 Bias BLIMP_HELIUM_EXPORT ComputeBias(Peer owner, Peer running_as);
20
21 } // namespace helium
22 } // namespace blimp
23
24 #endif // BLIMP_HELIUM_SYNCABLE_COMMON_H_
OLDNEW
« no previous file with comments | « blimp/helium/syncable.h ('k') | blimp/helium/syncable_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698