#include "chrome/browser/extensions/extension_sync_data.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/version.h"
#include "components/sync/model/string_ordinal.h"
#include "components/sync/protocol/app_specifics.pb.h"
#include "components/sync/protocol/entity_specifics.pb.h"
#include "components/sync/protocol/extension_specifics.pb.h"
#include "extensions/browser/disable_reason.h"
#include "extensions/common/extension.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace extensions {
namespace {
const char kValidId[] = …;
const char kVersion[] = …;
const char kValidUpdateUrl[] = …;
const int kValidDisableReasons = …;
void ProtobufToSyncDataEqual(const sync_pb::EntitySpecifics& entity) { … }
void SyncDataToProtobufEqual(const ExtensionSyncData& input) { … }
}
class ExtensionSyncDataTest : public testing::Test { … };
TEST_F(ExtensionSyncDataTest, ExtensionSyncDataForExtension) { … }
class AppSyncDataTest : public testing::Test { … };
TEST_F(AppSyncDataTest, SyncDataToExtensionSyncDataForApp) { … }
TEST_F(AppSyncDataTest, ExtensionSyncDataToSyncDataForApp) { … }
TEST_F(AppSyncDataTest, ExtensionSyncDataInvalidOrdinal) { … }
}