#ifndef SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
#define SYNC_INTERNAL_API_SYNCAPI_INTERNAL_H_
#include <string>
#include "sync/base/sync_export.h"
namespace sync_pb {
class EntitySpecifics;
class PasswordSpecificsData;
}
namespace syncer {
class Cryptographer;
sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics(
const sync_pb::EntitySpecifics& specifics,
Cryptographer* crypto);
SYNC_EXPORT void SyncAPINameToServerName(const std::string& syncer_name,
std::string* out);
SYNC_EXPORT void ServerNameToSyncAPIName(const std::string& server_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