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

Side by Side Diff: net/curvecp/curvecp_transfer_unittest.cc

Issue 10779040: Initialize StatisticsRecorder in Child Process to hold (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <poll.h> 5 #include <poll.h>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/metrics/statistics_recorder.h" 9 #include "base/metrics/statistics_recorder.h"
10 #include "net/base/net_test_suite.h" 10 #include "net/base/net_test_suite.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 TEST_F(CurveCPTransferTest, MinTimer) { 300 TEST_F(CurveCPTransferTest, MinTimer) {
301 PollTimerTester tester; 301 PollTimerTester tester;
302 MessageLoop::current()->Run(); 302 MessageLoop::current()->Run();
303 } 303 }
304 304
305 */ 305 */
306 306
307 } // namespace net 307 } // namespace net
308 308
309 int main(int argc, char**argv) { 309 int main(int argc, char**argv) {
310 base::StatisticsRecorder recorder; 310 base::StatisticsRecorder::Initialize();
311 NetTestSuite test_suite(argc, argv); 311 NetTestSuite test_suite(argc, argv);
312 return test_suite.Run(); 312 return test_suite.Run();
313 } 313 }
OLDNEW
« no previous file with comments | « net/base/run_all_unittests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698