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

Unified Diff: content/browser/media/webrtc_getusermedia_browsertest.cc

Issue 377763002: Revert of Temporarily adding timers to one WebRTC browsertest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/webrtc_getusermedia_browsertest.cc
diff --git a/content/browser/media/webrtc_getusermedia_browsertest.cc b/content/browser/media/webrtc_getusermedia_browsertest.cc
index ec9ed4c4ec77f4e98554cc414e432bf72e3f699a..8821d64f458ac2e53e5f538e02e86b63b89a544a 100644
--- a/content/browser/media/webrtc_getusermedia_browsertest.cc
+++ b/content/browser/media/webrtc_getusermedia_browsertest.cc
@@ -7,7 +7,6 @@
#include "base/json/json_reader.h"
#include "base/strings/stringprintf.h"
#include "base/test/trace_event_analyzer.h"
-#include "base/timer/elapsed_timer.h"
#include "base/values.h"
#include "content/browser/media/webrtc_internals.h"
#include "content/browser/web_contents/web_contents_impl.h"
@@ -81,14 +80,6 @@
public:
WebRtcGetUserMediaBrowserTest() : trace_log_(NULL) {}
virtual ~WebRtcGetUserMediaBrowserTest() {}
-
- virtual void TearDown() OVERRIDE {
- LOG(INFO) << "Entering teardown; " << timer_.Elapsed().InSeconds()
- << " seconds elapsed.";
- WebRtcContentBrowserTest::TearDown();
- LOG(INFO) << "Exiting teardown; " << timer_.Elapsed().InSeconds()
- << " seconds elapsed.";
- }
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
WebRtcContentBrowserTest::SetUpCommandLine(command_line);
@@ -245,10 +236,6 @@
ASSERT_FALSE(video_ids->empty());
}
- protected:
- // TODO(phoglund): Remove when done debugging https://crbug.com/387895.
- base::ElapsedTimer timer_;
-
private:
base::debug::TraceLog* trace_log_;
scoped_refptr<base::RefCountedString> recorded_trace_data_;
@@ -365,9 +352,6 @@
IN_PROC_BROWSER_TEST_P(WebRtcGetUserMediaBrowserTest,
GetUserMediaWithMandatorySourceID) {
ASSERT_TRUE(embedded_test_server()->InitializeAndWaitUntilReady());
-
- LOG(INFO) << "HTTP server ready; " << timer_.Elapsed().InSeconds()
- << " seconds elapsed.";
std::vector<std::string> audio_ids;
std::vector<std::string> video_ids;
@@ -387,12 +371,7 @@
*audio_it,
*video_it)));
}
- LOG(INFO) << "Tested one combination; " << timer_.Elapsed().InSeconds()
- << " seconds elapsed.";
- }
-
- LOG(INFO) << "End test body; " << timer_.Elapsed().InSeconds()
- << " seconds elapsed.";
+ }
}
IN_PROC_BROWSER_TEST_P(WebRtcGetUserMediaBrowserTest,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698