Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3669)

Unified Diff: chrome/browser/chromeos/policy/user_policy_test_helper.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Address comment and also remove non-trivial cases Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/policy/user_policy_test_helper.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_test_helper.cc b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
index eca47178928e8cee7dd1ccfd9b850b36602a1237..cbc2504bc4a80a71a7cf2c919a5079d57f91b048 100644
--- a/chrome/browser/chromeos/policy/user_policy_test_helper.cc
+++ b/chrome/browser/chromeos/policy/user_policy_test_helper.cc
@@ -144,7 +144,7 @@ void UserPolicyTestHelper::WritePolicyFile(
}
base::FilePath UserPolicyTestHelper::PolicyFilePath() const {
- return temp_dir_.path().AppendASCII("policy.json");
+ return temp_dir_.GetPath().AppendASCII("policy.json");
}
} // namespace policy

Powered by Google App Engine
This is Rietveld 408576698