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

Unified Diff: chrome/browser/media/webrtc/webrtc_rtp_dump_handler_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: chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc
diff --git a/chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc b/chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc
index f5a6e8c65a14f88e622b239a68db7bcf2c77b240..5ad0ee67805e4be61ebda09631ce3611afa45496 100644
--- a/chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc
+++ b/chrome/browser/media/webrtc/webrtc_rtp_dump_handler_unittest.cc
@@ -270,10 +270,10 @@ TEST_F(WebRtcRtpDumpHandlerTest, StartBothThenStopIncomingStopOutgoing) {
TEST_F(WebRtcRtpDumpHandlerTest, DumpsCleanedUpIfNotReleased) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- ResetDumpHandler(temp_dir.path(), true);
+ ResetDumpHandler(temp_dir.GetPath(), true);
base::FilePath incoming_dump, outgoing_dump;
- WriteFakeDumpFiles(temp_dir.path(), &incoming_dump, &outgoing_dump);
+ WriteFakeDumpFiles(temp_dir.GetPath(), &incoming_dump, &outgoing_dump);
std::string error;
EXPECT_TRUE(handler_->StartDump(RTP_DUMP_BOTH, &error));
@@ -296,10 +296,10 @@ TEST_F(WebRtcRtpDumpHandlerTest, DumpDeletedIfEndDumpFailed) {
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Make the writer return failure on EndStream.
- ResetDumpHandler(temp_dir.path(), false);
+ ResetDumpHandler(temp_dir.GetPath(), false);
base::FilePath incoming_dump, outgoing_dump;
- WriteFakeDumpFiles(temp_dir.path(), &incoming_dump, &outgoing_dump);
+ WriteFakeDumpFiles(temp_dir.GetPath(), &incoming_dump, &outgoing_dump);
std::string error;
EXPECT_TRUE(handler_->StartDump(RTP_DUMP_BOTH, &error));

Powered by Google App Engine
This is Rietveld 408576698