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

Unified Diff: components/offline_pages/archive_manager_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/offline_pages/archive_manager_unittest.cc
diff --git a/components/offline_pages/archive_manager_unittest.cc b/components/offline_pages/archive_manager_unittest.cc
index 5b5e59efd67aa1b2a02b34ecf97a193e4fe408fb..bc50b4f4175fb0bd8c5aacb3c30a78dd60e62dc5 100644
--- a/components/offline_pages/archive_manager_unittest.cc
+++ b/components/offline_pages/archive_manager_unittest.cc
@@ -45,7 +45,7 @@ class ArchiveManagerTest : public testing::Test {
const ArchiveManager::StorageStats& storage_sizes);
ArchiveManager* manager() { return manager_.get(); }
- const base::FilePath& temp_path() const { return temp_dir_.path(); }
+ const base::FilePath& temp_path() const { return temp_dir_.GetPath(); }
CallbackStatus callback_status() const { return callback_status_; }
const std::set<base::FilePath>& last_archive_paths() const {
return last_archvie_paths_;
@@ -73,7 +73,7 @@ ArchiveManagerTest::ArchiveManagerTest()
void ArchiveManagerTest::SetUp() {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- ResetManager(temp_dir_.path());
+ ResetManager(temp_dir_.GetPath());
}
void ArchiveManagerTest::PumpLoop() {

Powered by Google App Engine
This is Rietveld 408576698