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

Unified Diff: base/simple_thread_unittest.cc

Issue 552004: Style cleanup in preparation for auto-linting base/. (Closed)
Patch Set: Created 10 years, 11 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/sha2.h ('k') | base/spin_wait.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/simple_thread_unittest.cc
diff --git a/base/simple_thread_unittest.cc b/base/simple_thread_unittest.cc
index 639eeaeb6acfb9aea1f3cc90a70bd6d492c06794..8bb267dc7a097bfd35fb05b5f498bfcca04450ba 100644
--- a/base/simple_thread_unittest.cc
+++ b/base/simple_thread_unittest.cc
@@ -27,7 +27,7 @@ class SetIntRunner : public base::DelegateSimpleThread::Delegate {
class WaitEventRunner : public base::DelegateSimpleThread::Delegate {
public:
- WaitEventRunner(base::WaitableEvent* event) : event_(event) { }
+ explicit WaitEventRunner(base::WaitableEvent* event) : event_(event) { }
~WaitEventRunner() { }
virtual void Run() {
@@ -41,7 +41,7 @@ class WaitEventRunner : public base::DelegateSimpleThread::Delegate {
class SeqRunner : public base::DelegateSimpleThread::Delegate {
public:
- SeqRunner(base::AtomicSequenceNumber* seq) : seq_(seq) { }
+ explicit SeqRunner(base::AtomicSequenceNumber* seq) : seq_(seq) { }
virtual void Run() {
seq_->GetNext();
}
« no previous file with comments | « base/sha2.h ('k') | base/spin_wait.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698