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

Unified Diff: chrome/test/remoting/waiter.h

Issue 1355063004: Template methods on Timer classes instead of the classes themselves. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: timer: fixcaller Created 5 years, 3 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 | « chrome/test/base/tracing.cc ('k') | chromeos/audio/cras_audio_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/remoting/waiter.h
diff --git a/chrome/test/remoting/waiter.h b/chrome/test/remoting/waiter.h
index 9201d77e70755a6c42e75647f0df174c85a2891f..ba5183d40877c1558d17a3ed0e057aafc2fcbc2d 100644
--- a/chrome/test/remoting/waiter.h
+++ b/chrome/test/remoting/waiter.h
@@ -33,7 +33,7 @@ class TimeoutWaiter {
// Callback used to cancel the TimeoutWaiter::Wait.
void CancelWaitCallback();
- base::OneShotTimer<TimeoutWaiter> timeout_timer_;
+ base::OneShotTimer timeout_timer_;
base::TimeDelta timeout_;
scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
@@ -63,7 +63,7 @@ class ConditionalTimeoutWaiter : public TimeoutWaiter {
base::TimeDelta interval_;
Predicate callback_;
- base::RepeatingTimer<ConditionalTimeoutWaiter> condition_timer_;
+ base::RepeatingTimer condition_timer_;
bool success_;
DISALLOW_COPY_AND_ASSIGN(ConditionalTimeoutWaiter);
« no previous file with comments | « chrome/test/base/tracing.cc ('k') | chromeos/audio/cras_audio_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698