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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store_unittest.cc

Issue 2316043002: //content: 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: content/browser/indexed_db/indexed_db_backing_store_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
index 38f117bfbf47c0c7b1427b2d3289cb2e65b96276..f9ce90c6ba0f6e4401c9396f4a3b35640b9072bc 100644
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
@@ -242,7 +242,7 @@ class IndexedDBBackingStoreTest : public testing::Test {
special_storage_policy_->SetAllUnlimited(true);
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
idb_context_ = new IndexedDBContextImpl(
- temp_dir_.path(), special_storage_policy_.get(),
+ temp_dir_.GetPath(), special_storage_policy_.get(),
quota_manager_proxy_.get(), task_runner_.get());
idb_factory_ = new TestIDBFactory(idb_context_.get());
backing_store_ = idb_factory_->OpenBackingStoreForTest(
@@ -1073,7 +1073,7 @@ TEST_F(IndexedDBBackingStoreTest, ReadCorruptionInfo) {
EXPECT_TRUE(message.empty());
message.clear();
- const base::FilePath path_base = temp_dir_.path();
+ const base::FilePath path_base = temp_dir_.GetPath();
const Origin origin(GURL("http://www.google.com/"));
ASSERT_FALSE(path_base.empty());
ASSERT_TRUE(PathIsWritable(path_base));

Powered by Google App Engine
This is Rietveld 408576698