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

Unified Diff: base/timer_unittest.cc

Issue 249363004: Revert of Style cleanup in preparation for auto-linting base/. (Closed)
Patch Set: Created 6 years, 8 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 | « base/timer.h ('k') | base/trace_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/timer_unittest.cc
diff --git a/base/timer_unittest.cc b/base/timer_unittest.cc
index 9a77b026a4ba31a83249019f318c310ee0288972..8c18947b9b130910cf5d461e85d99214ebdd9e7c 100644
--- a/base/timer_unittest.cc
+++ b/base/timer_unittest.cc
@@ -34,7 +34,7 @@
class OneShotSelfDeletingTimerTester {
public:
- explicit OneShotSelfDeletingTimerTester(bool* did_run) :
+ OneShotSelfDeletingTimerTester(bool* did_run) :
did_run_(did_run),
timer_(new base::OneShotTimer<OneShotSelfDeletingTimerTester>()) {
}
@@ -54,10 +54,8 @@
class RepeatingTimerTester {
public:
- explicit RepeatingTimerTester(bool* did_run)
- : did_run_(did_run), counter_(10) {
- }
-
+ RepeatingTimerTester(bool* did_run) : did_run_(did_run), counter_(10) {
+ }
void Start() {
timer_.Start(TimeDelta::FromMilliseconds(10), this,
&RepeatingTimerTester::Run);
« no previous file with comments | « base/timer.h ('k') | base/trace_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698