#ifndef SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
#define SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
#include <string>
namespace sync_pb {
class EntitySpecifics;
class PasswordSpecificsData;
}
namespace syncer {
class Cryptographer;
sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics(
const sync_pb::EntitySpecifics& specifics,
Cryptographer* crypto);
void SyncAPINameToServerName(const std::string& syncer_name,
std::string* out);
bool IsNameServerIllegalAfterTrimming(const std::string& name);
bool AreSpecificsEqual(const Cryptographer* cryptographer,
const sync_pb::EntitySpecifics& left,
const sync_pb::EntitySpecifics& right);
}
#endif