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

Unified Diff: chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.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_cloud_policy_store_chromeos_unittest.cc
diff --git a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
index ed4127ed4636a6b1ef78d6f5f0fa1465caafb1a9..2d6ba4f3bd9d167843c777922c069260c044e076 100644
--- a/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
+++ b/chrome/browser/chromeos/policy/user_cloud_policy_store_chromeos_unittest.cc
@@ -204,7 +204,7 @@ class UserCloudPolicyStoreChromeOSTest : public testing::Test {
}
base::FilePath user_policy_dir() {
- return tmp_dir_.path().AppendASCII("var_run_user_policy");
+ return tmp_dir_.GetPath().AppendASCII("var_run_user_policy");
}
base::FilePath user_policy_key_file() {
@@ -213,11 +213,11 @@ class UserCloudPolicyStoreChromeOSTest : public testing::Test {
}
base::FilePath token_file() {
- return tmp_dir_.path().AppendASCII("token");
+ return tmp_dir_.GetPath().AppendASCII("token");
}
base::FilePath policy_file() {
- return tmp_dir_.path().AppendASCII("policy");
+ return tmp_dir_.GetPath().AppendASCII("policy");
}
base::MessageLoopForUI loop_;
« no previous file with comments | « chrome/browser/chromeos/policy/extension_cache_unittest.cc ('k') | chrome/browser/chromeos/policy/user_policy_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698