#ifndef COMPONENTS_UPDATE_CLIENT_PERSISTED_DATA_H_
#define COMPONENTS_UPDATE_CLIENT_PERSISTED_DATA_H_
#include <memory>
#include <set>
#include <string>
#include <vector>
#include "base/functional/callback_forward.h"
#include "base/values.h"
namespace base {
class Time;
class Version;
}
class PrefService;
class PrefRegistrySimple;
namespace update_client {
extern const char kPersistedDataPreference[];
extern const char kLastUpdateCheckErrorPreference[];
extern const char kLastUpdateCheckErrorCategoryPreference[];
extern const char kLastUpdateCheckErrorExtraCode1Preference[];
class ActivityDataService;
struct CategorizedError;
class PersistedData { … };
std::unique_ptr<PersistedData> CreatePersistedData(
PrefService* pref_service,
std::unique_ptr<ActivityDataService> activity_data_service);
void RegisterPersistedDataPrefs(PrefRegistrySimple* registry);
}
#endif