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

Unified Diff: components/nacl/browser/pnacl_host_unittest.cc

Issue 2318033002: c/browser, c/common, components M-N: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix ItunesFileUtilTest 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/nacl/browser/pnacl_host_unittest.cc
diff --git a/components/nacl/browser/pnacl_host_unittest.cc b/components/nacl/browser/pnacl_host_unittest.cc
index 37cdadbd85887d7323b5f5a4e600ad563d6a3a3a..90780bdc35e6af3d330f6d7cfb1e907118d2a046 100644
--- a/components/nacl/browser/pnacl_host_unittest.cc
+++ b/components/nacl/browser/pnacl_host_unittest.cc
@@ -43,7 +43,7 @@ class PnaclHostTest : public testing::Test {
void SetUp() override {
host_ = PnaclHost::GetInstance();
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- host_->InitForTest(temp_dir_.path(), true);
+ host_->InitForTest(temp_dir_.GetPath(), true);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(PnaclHost::CacheReady, host_->cache_state_);
}
@@ -59,7 +59,7 @@ class PnaclHostTest : public testing::Test {
return host_->cache_state_ == PnaclHost::CacheReady;
}
void ReInitBackend() {
- host_->InitForTest(temp_dir_.path(), true);
+ host_->InitForTest(temp_dir_.GetPath(), true);
base::RunLoop().RunUntilIdle();
EXPECT_EQ(PnaclHost::CacheReady, host_->cache_state_);
}
@@ -442,7 +442,7 @@ class PnaclHostTestDisk : public PnaclHostTest {
void SetUp() override {
host_ = PnaclHost::GetInstance();
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- host_->InitForTest(temp_dir_.path(), false);
+ host_->InitForTest(temp_dir_.GetPath(), false);
EXPECT_EQ(PnaclHost::CacheInitializing, host_->cache_state_);
}
void DeInit() {

Powered by Google App Engine
This is Rietveld 408576698