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

Side by Side Diff: content/browser/webrtc/webrtc_audio_debug_recordings_browsertest.cc

Issue 2205423002: webrtc content_browsetests file/class naming cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/process/process_handle.h" 7 #include "base/process/process_handle.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 return base_file.AddExtension(IntToStringType(render_process_id)) 59 return base_file.AddExtension(IntToStringType(render_process_id))
60 .AddExtension(FILE_PATH_LITERAL("source_input")) 60 .AddExtension(FILE_PATH_LITERAL("source_input"))
61 .AddExtension(IntToStringType(kExpectedStreamId)) 61 .AddExtension(IntToStringType(kExpectedStreamId))
62 .AddExtension(FILE_PATH_LITERAL("wav")); 62 .AddExtension(FILE_PATH_LITERAL("wav"));
63 } 63 }
64 64
65 } // namespace 65 } // namespace
66 66
67 namespace content { 67 namespace content {
68 68
69 class WebRtcAudioDebugRecordingsBrowserTest : public WebRtcContentBrowserTest { 69 class WebRtcAudioDebugRecordingsBrowserTest
70 : public WebRtcContentBrowserTestBase {
70 public: 71 public:
71 WebRtcAudioDebugRecordingsBrowserTest() { 72 WebRtcAudioDebugRecordingsBrowserTest() {
72 // Automatically grant device permission. 73 // Automatically grant device permission.
73 AppendUseFakeUIForMediaStreamFlag(); 74 AppendUseFakeUIForMediaStreamFlag();
74 } 75 }
75 ~WebRtcAudioDebugRecordingsBrowserTest() override {} 76 ~WebRtcAudioDebugRecordingsBrowserTest() override {}
76 }; 77 };
77 78
78 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY) 79 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && defined(ARCH_CPU_ARM_FAMILY)
79 // Timing out on ARM linux bot: http://crbug.com/238490 80 // Timing out on ARM linux bot: http://crbug.com/238490
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 file_size = 0; 271 file_size = 0;
271 EXPECT_TRUE(base::GetFileSize(input_audio_file, &file_size)); 272 EXPECT_TRUE(base::GetFileSize(input_audio_file, &file_size));
272 EXPECT_GT(file_size, 0); 273 EXPECT_GT(file_size, 0);
273 274
274 base::DeleteFile(input_audio_file, false); 275 base::DeleteFile(input_audio_file, false);
275 } 276 }
276 base::ThreadRestrictions::SetIOAllowed(prev); 277 base::ThreadRestrictions::SetIOAllowed(prev);
277 } 278 }
278 279
279 } // namespace content 280 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/webrtc/webrtc_audio_browsertest.cc ('k') | content/browser/webrtc/webrtc_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698