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

Unified Diff: chrome/browser/sync/test/integration/status_change_checker.cc

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
Index: chrome/browser/sync/test/integration/status_change_checker.cc
diff --git a/chrome/browser/sync/test/integration/status_change_checker.cc b/chrome/browser/sync/test/integration/status_change_checker.cc
index 7ad6d6b88335f99c59711136aa81af0f7af4b7b5..4ebefa0e8b23d06c7b1ceaa0559ef7ff898baa49 100644
--- a/chrome/browser/sync/test/integration/status_change_checker.cc
+++ b/chrome/browser/sync/test/integration/status_change_checker.cc
@@ -22,7 +22,7 @@ base::TimeDelta StatusChangeChecker::GetTimeoutDuration() {
}
void StatusChangeChecker::StartBlockingWait() {
- base::OneShotTimer<StatusChangeChecker> timer;
+ base::OneShotTimer timer;
timer.Start(FROM_HERE,
GetTimeoutDuration(),
base::Bind(&StatusChangeChecker::OnTimeout,
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync_file_system/local/local_file_sync_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698