#include "chrome/installer/util/google_update_settings.h"
#include "base/files/file_util.h"
#include "base/lazy_instance.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/lock.h"
#include "base/task/lazy_thread_pool_task_runner.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/common/chrome_paths.h"
#include "components/crash/core/app/crashpad.h"
namespace …
base::SequencedTaskRunner*
GoogleUpdateSettings::CollectStatsConsentTaskRunner() { … }
bool GoogleUpdateSettings::GetCollectStatsConsentFromDir(
const base::FilePath& consent_dir) { … }
bool GoogleUpdateSettings::GetCollectStatsConsent() { … }
bool GoogleUpdateSettings::SetCollectStatsConsent(bool consented) { … }
std::unique_ptr<metrics::ClientInfo>
GoogleUpdateSettings::LoadMetricsClientInfo() { … }
void GoogleUpdateSettings::StoreMetricsClientInfo(
const metrics::ClientInfo& client_info) { … }
int GoogleUpdateSettings::GetLastRunTime() { … }
bool GoogleUpdateSettings::SetLastRunTime() { … }