Searched refs:consent_file (Results 1 – 1 of 1) sorted by relevance
21 FilePath consent_file; in GetCollectStatsConsent() local22 PathService::Get(chrome::DIR_USER_DATA, &consent_file); in GetCollectStatsConsent()23 consent_file = consent_file.Append(kConsentToSendStats); in GetCollectStatsConsent()25 bool consented = file_util::ReadFileToString(consent_file, &tmp_guid); in GetCollectStatsConsent()38 FilePath consent_file = consent_dir.AppendASCII(kConsentToSendStats); in SetCollectStatsConsent() local40 if ((!file_util::PathExists(consent_file)) || in SetCollectStatsConsent()41 (file_util::PathExists(consent_file) && in SetCollectStatsConsent()45 return file_util::WriteFile(consent_file, c_str, size) == size; in SetCollectStatsConsent()49 return file_util::Delete(consent_file, false); in SetCollectStatsConsent()