Searched refs:consent_file_ (Results 1 – 5 of 5) sorted by relevance
38 ASSERT_EQ(base::WriteFile(lib_.consent_file_, "", 0), 0); in SetMetricsConsent()40 ASSERT_TRUE(base::DeleteFile(lib_.consent_file_, false)); in SetMetricsConsent()
148 cached_enabled_ = stat(consent_file_.value().data(), &stat_buffer) >= 0; in AreMetricsEnabled()155 consent_file_ = dir.Append(metrics::kConsentFileName); in Init()167 consent_file_ = metrics_directory.Append(metrics::kConsentFileName); in InitForTest()
59 consent_file_ = shared_metrics_directory.Append(metrics::kConsentFileName); in UploadService()254 return base::PathExists(consent_file_); in AreMetricsEnabled()
176 base::FilePath consent_file_; variable
170 base::FilePath consent_file_; variable