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

Unified Diff: ash/accelerators/exit_warning_handler.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
Index: ash/accelerators/exit_warning_handler.h
diff --git a/ash/accelerators/exit_warning_handler.h b/ash/accelerators/exit_warning_handler.h
index b99681cb4359c82190d5953f7549cfe104f11f5b..7de5fc8edb61c99afdb47cdaedcdc1de724e8767 100644
--- a/ash/accelerators/exit_warning_handler.h
+++ b/ash/accelerators/exit_warning_handler.h
@@ -73,7 +73,7 @@ class ASH_EXPORT ExitWarningHandler {
State state_;
scoped_ptr<views::Widget> widget_;
- base::OneShotTimer<ExitWarningHandler> timer_;
+ base::OneShotTimer timer_;
// Flag to suppress starting the timer for testing. For test we call
// TimerAction() directly to simulate the expiration of the timer.
« no previous file with comments | « android_webview/renderer/aw_render_view_ext.h ('k') | ash/desktop_background/desktop_background_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698