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

Unified Diff: net/disk_cache/disk_cache_test_util.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: . 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
Index: net/disk_cache/disk_cache_test_util.h
diff --git a/net/disk_cache/disk_cache_test_util.h b/net/disk_cache/disk_cache_test_util.h
index 0f40f5e44d4fdba027eebe73af4ae9fe42f5a31c..7191874348bee0a681826264665427488b0d949b 100644
--- a/net/disk_cache/disk_cache_test_util.h
+++ b/net/disk_cache/disk_cache_test_util.h
@@ -64,7 +64,7 @@ class MessageLoopHelper {
// Called periodically to test if WaitUntilCacheIoFinished should return.
void TimerExpired();
- base::RepeatingTimer<MessageLoopHelper> timer_;
+ base::RepeatingTimer timer_;
int num_callbacks_;
int num_iterations_;
int last_;

Powered by Google App Engine
This is Rietveld 408576698