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

Unified Diff: net/http/transport_security_persister_unittest.cc

Issue 2319513003: //[chrome/browser/]net: 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
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/log/bounded_file_net_log_observer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/transport_security_persister_unittest.cc
diff --git a/net/http/transport_security_persister_unittest.cc b/net/http/transport_security_persister_unittest.cc
index 9d93601e950c66bb1777705c4dfb6c33ac40760a..c48f3c0ef03ad7ccf54dd0ae67c436889ff0dea2 100644
--- a/net/http/transport_security_persister_unittest.cc
+++ b/net/http/transport_security_persister_unittest.cc
@@ -38,7 +38,8 @@ class TransportSecurityPersisterTest : public testing::Test {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
ASSERT_TRUE(base::MessageLoopForIO::IsCurrent());
persister_.reset(new TransportSecurityPersister(
- &state_, temp_dir_.path(), base::ThreadTaskRunnerHandle::Get(), false));
+ &state_, temp_dir_.GetPath(), base::ThreadTaskRunnerHandle::Get(),
+ false));
}
protected:
@@ -142,7 +143,7 @@ TEST_F(TransportSecurityPersisterTest, SerializeData3) {
// ImportantFileWriter, which has an asynchronous commit interval rather
// than block.) Use a different basename just for cleanliness.
base::FilePath path =
- temp_dir_.path().AppendASCII("TransportSecurityPersisterTest");
+ temp_dir_.GetPath().AppendASCII("TransportSecurityPersisterTest");
EXPECT_TRUE(base::WriteFile(path, serialized.c_str(), serialized.size()));
// Read the data back.
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/log/bounded_file_net_log_observer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698