From 8c3eb804c56b7173f00e58e040f47fe867dabda7 Mon Sep 17 00:00:00 2001 From: danakj Date: Thu, 24 Sep 2015 00:53:00 -0700 Subject: base: Template methods on Timer classes instead of the classes themselves. The base class for OneShotTimer and DelayedTimer is templated but only the Start method needs to be (which has a TODO to make it go away entirely too). The DelayedTimer class is also templated but only its constructor needs to be, and the type can be inferred at the callsite, so less typing all around. R=thakis@chromium.org TBR=sky,brettw BUG=148832 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1355063004 Cr-Commit-Position: refs/heads/master@{#350496} --- extensions/shell/browser/shell_network_controller_chromeos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/shell') diff --git a/extensions/shell/browser/shell_network_controller_chromeos.h b/extensions/shell/browser/shell_network_controller_chromeos.h index 4945c80..36b73d7 100644 --- a/extensions/shell/browser/shell_network_controller_chromeos.h +++ b/extensions/shell/browser/shell_network_controller_chromeos.h @@ -71,7 +71,7 @@ class ShellNetworkController : public chromeos::NetworkStateHandlerObserver { State state_; // Invokes RequestScan() periodically. - base::RepeatingTimer scan_timer_; + base::RepeatingTimer scan_timer_; // Optionally-supplied name of the preferred network. std::string preferred_network_name_; -- cgit v1.1