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

Unified Diff: components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc

Issue 2317123002: c/browser, c/common, components O-P: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased 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: components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc
diff --git a/components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc b/components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc
index eb15922132688e2ffc669c51c17e88e78ae51763..7a136086447138201cc68955c6a068d67d8e4f58 100644
--- a/components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc
+++ b/components/policy/core/common/cloud/user_cloud_policy_store_unittest.cc
@@ -88,11 +88,11 @@ class UserCloudPolicyStoreTest : public testing::Test {
}
base::FilePath policy_file() {
- return tmp_dir_.path().AppendASCII("policy");
+ return tmp_dir_.GetPath().AppendASCII("policy");
}
base::FilePath key_file() {
- return tmp_dir_.path().AppendASCII("policy_key");
+ return tmp_dir_.GetPath().AppendASCII("policy_key");
}
// Verifies that store_->policy_map() has the appropriate entries.

Powered by Google App Engine
This is Rietveld 408576698