1 /*************************************************************************
6 * [2011] - [2015] Realm Inc
9 * NOTICE: All information contained herein is, and remains
10 * the property of Realm Incorporated and its suppliers,
11 * if any. The intellectual and technical concepts contained
12 * herein are proprietary to Realm Incorporated
13 * and its suppliers and may be covered by U.S. and Foreign Patents,
14 * patents in process, and are protected by trade secret or copyright law.
15 * Dissemination of this information or reproduction of this material
16 * is strictly forbidden unless prior written permission is obtained
17 * from Realm Incorporated.
19 **************************************************************************/
21 #include <realm/sync/history.hpp>
23 #ifndef REALM_SYNC_CHANGESET_COOKER_HPP
24 #define REALM_SYNC_CHANGESET_COOKER_HPP
29 /// Copy raw changesets unmodified.
30 class TrivialChangesetCooker: public ClientHistory::ChangesetCooker {
32 bool cook_changeset(const Group&, const char* changeset,
33 std::size_t changeset_size,
34 util::AppendBuffer<char>&) override;
40 #endif // REALM_SYNC_CHANGESET_COOKER_HPP