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

Unified Diff: components/sync/base/node_ordinal.h

Issue 2240613002: [Sync] Convert sync to a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try getting rid of sync_core source set. Created 4 years, 4 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 | « components/sync/base/nigori.h ('k') | components/sync/base/progress_marker_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/node_ordinal.h
diff --git a/components/sync/base/node_ordinal.h b/components/sync/base/node_ordinal.h
index 60813288c535d639691ea673a7637ae56bfcdd50..385ef040e1f9400b9f4299783e413e1793c681ba 100644
--- a/components/sync/base/node_ordinal.h
+++ b/components/sync/base/node_ordinal.h
@@ -9,7 +9,6 @@
#include <stdint.h>
#include "components/sync/base/ordinal.h"
-#include "components/sync/base/sync_export.h"
namespace syncer {
@@ -44,13 +43,13 @@ static_assert(NodeOrdinal::kRadix == 256, "NodeOrdinal has incorrect radix");
// field of SyncEntity) to a NodeOrdinal. This transformation
// preserves the ordering relation: a < b under integer ordering if
// and only if Int64ToNodeOrdinal(a) < Int64ToNodeOrdinal(b).
-SYNC_EXPORT NodeOrdinal Int64ToNodeOrdinal(int64_t x);
+NodeOrdinal Int64ToNodeOrdinal(int64_t x);
// The inverse of Int64ToNodeOrdinal. This conversion is, in general,
// lossy: NodeOrdinals can have arbitrary fidelity, while numeric
// positions contain only 64 bits of information (in fact, this is the
// reason we've moved away from them).
-SYNC_EXPORT int64_t NodeOrdinalToInt64(const NodeOrdinal& ordinal);
+int64_t NodeOrdinalToInt64(const NodeOrdinal& ordinal);
} // namespace syncer
« no previous file with comments | « components/sync/base/nigori.h ('k') | components/sync/base/progress_marker_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698