#include "components/services/app_service/public/cpp/preferred_apps_converter.h"
#include <memory>
#include <string>
#include <utility>
#include "base/logging.h"
#include "base/values.h"
#include "components/services/app_service/public/cpp/intent_filter.h"
#include "components/services/app_service/public/cpp/intent_filter_util.h"
namespace {
constexpr int kVersionInitial = …;
constexpr int kVersionSupportsSharing = …;
}
namespace apps {
const char kAppIdKey[] = …;
const char kIntentFilterKey[] = …;
const char kPreferredAppsKey[] = …;
const char kVersionKey[] = …;
base::Value ConvertPreferredAppsToValue(const PreferredApps& preferred_apps) { … }
PreferredApps ParseValueToPreferredApps(
const base::Value& preferred_apps_value) { … }
void UpgradePreferredApps(PreferredApps& preferred_apps) { … }
bool IsUpgradedForSharing(const base::Value& preferred_apps_value) { … }
}