// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_MODEL_METADATA_CHANGE_LIST_H_ #define COMPONENTS_SYNC_MODEL_METADATA_CHANGE_LIST_H_ #include <string> namespace sync_pb { class DataTypeState; class EntityMetadata; } // namespace sync_pb namespace syncer { // Interface used by the processor and service to communicate about metadata. // The purpose of the interface is to record changes to data type global and // per entity metadata for the purpose of propagating changes to the datatype // specific storage implementation. // The implementation of the interface is supposed to keep the record of all // updated / deleted metadata records and provide a mechanism to enumerate // them. If there are multiple UpdateMetadata / ClearMetadata calls made for the // same metadata record the last one is supposed to win. class MetadataChangeList { … }; } // namespace syncer #endif // COMPONENTS_SYNC_MODEL_METADATA_CHANGE_LIST_H_