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

Unified Diff: components/policy/core/common/cloud/resource_cache_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/resource_cache_unittest.cc
diff --git a/components/policy/core/common/cloud/resource_cache_unittest.cc b/components/policy/core/common/cloud/resource_cache_unittest.cc
index f81f0030c5d719fe45ccc7f2b73a4a25ff44ed96..2da745749b0c3a898e3ac13c3e50e628c6433505 100644
--- a/components/policy/core/common/cloud/resource_cache_unittest.cc
+++ b/components/policy/core/common/cloud/resource_cache_unittest.cc
@@ -35,7 +35,7 @@ bool Matches(const std::string& expected, const std::string& subkey) {
TEST(ResourceCacheTest, StoreAndLoad) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- ResourceCache cache(temp_dir.path(),
+ ResourceCache cache(temp_dir.GetPath(),
make_scoped_refptr(new base::TestSimpleTaskRunner));
// No data initially.
@@ -117,7 +117,7 @@ TEST(ResourceCacheTest, StoreAndLoad) {
TEST(ResourceCacheTest, FilterSubkeys) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- ResourceCache cache(temp_dir.path(),
+ ResourceCache cache(temp_dir.GetPath(),
make_scoped_refptr(new base::TestSimpleTaskRunner));
// Store some data.

Powered by Google App Engine
This is Rietveld 408576698