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

Unified Diff: base/event_trace_consumer_win_unittest.cc

Issue 3800006: Fix event tracing for windows test flakyness.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | base/event_trace_controller_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/event_trace_consumer_win_unittest.cc
===================================================================
--- base/event_trace_consumer_win_unittest.cc (revision 62730)
+++ base/event_trace_consumer_win_unittest.cc (working copy)
@@ -72,7 +72,8 @@
class EtwTraceConsumerBaseTest: public testing::Test {
public:
virtual void SetUp() {
- EtwTraceController::Stop(kTestSessionName, NULL);
+ EtwTraceProperties ignore;
+ EtwTraceController::Stop(kTestSessionName, &ignore);
}
};
@@ -245,14 +246,16 @@
}
virtual void SetUp() {
- EtwTraceController::Stop(kTestSessionName, NULL);
+ EtwTraceProperties prop;
+ EtwTraceController::Stop(kTestSessionName, &prop);
// Construct a temp file name.
ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_));
}
virtual void TearDown() {
EXPECT_TRUE(file_util::Delete(temp_file_, false));
- EtwTraceController::Stop(kTestSessionName, NULL);
+ EtwTraceProperties ignore;
+ EtwTraceController::Stop(kTestSessionName, &ignore);
}
HRESULT LogEventToTempSession(PEVENT_TRACE_HEADER header) {
« no previous file with comments | « no previous file | base/event_trace_controller_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698