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

Unified Diff: chrome/browser/media/webrtc/webrtc_log_uploader_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_log_uploader_unittest.cc
diff --git a/chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc b/chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc
index 45a840e55d993b0ef84a526fe5388953fb357dab..568d2470587f0ef88a5461a10dbc91672ad1b03d 100644
--- a/chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc
+++ b/chrome/browser/media/webrtc/webrtc_log_uploader_unittest.cc
@@ -262,8 +262,8 @@ TEST_F(WebRtcLogUploaderTest, AddRtpDumpsToPostedData) {
webrtc_log_uploader->OverrideUploadWithBufferForTesting(&post_data);
// Create the fake dump files.
- const base::FilePath incoming_dump = temp_dir.path().AppendASCII("recv");
- const base::FilePath outgoing_dump = temp_dir.path().AppendASCII("send");
+ const base::FilePath incoming_dump = temp_dir.GetPath().AppendASCII("recv");
+ const base::FilePath outgoing_dump = temp_dir.GetPath().AppendASCII("send");
const std::string incoming_dump_content = "dummy incoming";
const std::string outgoing_dump_content = "dummy outgoing";
@@ -275,7 +275,7 @@ TEST_F(WebRtcLogUploaderTest, AddRtpDumpsToPostedData) {
outgoing_dump_content.size());
WebRtcLogUploadDoneData upload_done_data;
- upload_done_data.log_path = temp_dir.path().AppendASCII("log");
+ upload_done_data.log_path = temp_dir.GetPath().AppendASCII("log");
std::unique_ptr<Profile> profile(new TestingProfile());
scoped_refptr<WebRtcLoggingHandlerHost> host(new WebRtcLoggingHandlerHost(

Powered by Google App Engine
This is Rietveld 408576698