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

Unified Diff: chrome/browser/memory/oom_priority_manager_delegate_chromeos.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/browser/memory/oom_priority_manager.h ('k') | chrome/browser/metrics/perf/perf_provider_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory/oom_priority_manager_delegate_chromeos.h
diff --git a/chrome/browser/memory/oom_priority_manager_delegate_chromeos.h b/chrome/browser/memory/oom_priority_manager_delegate_chromeos.h
index a9824b4ce5ed67bdfab25086dce5b54fdf8846fe..b8ce1fc718a702245b5cc91159e0c6478c1d3858 100644
--- a/chrome/browser/memory/oom_priority_manager_delegate_chromeos.h
+++ b/chrome/browser/memory/oom_priority_manager_delegate_chromeos.h
@@ -65,7 +65,7 @@ class OomPriorityManagerDelegate : public content::NotificationObserver {
// Registrar to receive renderer notifications.
content::NotificationRegistrar registrar_;
// Timer to guarantee that the tab is focused for a certain amount of time.
- base::OneShotTimer<OomPriorityManagerDelegate> focus_tab_score_adjust_timer_;
+ base::OneShotTimer focus_tab_score_adjust_timer_;
// This lock is for |oom_score_map_| and |focused_tab_process_info_|.
base::Lock oom_score_lock_;
// Map maintaining the child process host id - oom_score mapping.
« no previous file with comments | « chrome/browser/memory/oom_priority_manager.h ('k') | chrome/browser/metrics/perf/perf_provider_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698