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

Unified Diff: chrome/browser/component_updater/sth_set_component_installer_unittest.cc

Issue 2317993003: //chrome/browser and //components A-E: 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: chrome/browser/component_updater/sth_set_component_installer_unittest.cc
diff --git a/chrome/browser/component_updater/sth_set_component_installer_unittest.cc b/chrome/browser/component_updater/sth_set_component_installer_unittest.cc
index d965fc0ad2a246676d97b670daaea4c2d70869e4..4ab1c10767f12b85d0d62a518e5d3b6f51200fc8 100644
--- a/chrome/browser/component_updater/sth_set_component_installer_unittest.cc
+++ b/chrome/browser/component_updater/sth_set_component_installer_unittest.cc
@@ -55,7 +55,7 @@ class STHSetComponentInstallerTest : public PlatformTest {
}
base::FilePath GetSTHsDir() {
- return temp_dir_.path()
+ return temp_dir_.GetPath()
.Append(FILE_PATH_LITERAL("_platform_specific"))
.Append(FILE_PATH_LITERAL("all"))
.Append(FILE_PATH_LITERAL("sths"));
@@ -63,13 +63,13 @@ class STHSetComponentInstallerTest : public PlatformTest {
void CreateSTHsDir(const base::DictionaryValue& manifest,
const base::FilePath& sths_dir) {
- ASSERT_FALSE(traits_->VerifyInstallation(manifest, temp_dir_.path()));
+ ASSERT_FALSE(traits_->VerifyInstallation(manifest, temp_dir_.GetPath()));
ASSERT_TRUE(base::CreateDirectory(sths_dir));
}
void LoadSTHs(const base::DictionaryValue& manifest,
const base::FilePath& sths_dir) {
- ASSERT_TRUE(traits_->VerifyInstallation(manifest, temp_dir_.path()));
+ ASSERT_TRUE(traits_->VerifyInstallation(manifest, temp_dir_.GetPath()));
const base::Version v("1.0");
traits_->LoadSTHsFromDisk(sths_dir, v);

Powered by Google App Engine
This is Rietveld 408576698