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

Unified Diff: extensions/browser/api/idle/idle_manager.cc

Issue 2133203002: [Extensions] Code cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 5 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: extensions/browser/api/idle/idle_manager.cc
diff --git a/extensions/browser/api/idle/idle_manager.cc b/extensions/browser/api/idle/idle_manager.cc
index 7122b6baa783f808916fc334f4af4f070cc3d986..715c98a59dcf21c6673bb6f97d8b38199edbb927 100644
--- a/extensions/browser/api/idle/idle_manager.cc
+++ b/extensions/browser/api/idle/idle_manager.cc
@@ -170,7 +170,7 @@ void IdleManager::OnListenerRemoved(const EventListenerInfo& details) {
}
}
-void IdleManager::QueryState(int threshold, QueryStateCallback notify) {
+void IdleManager::QueryState(int threshold, const QueryStateCallback& notify) {
DCHECK(thread_checker_.CalledOnValidThread());
idle_time_provider_->CalculateIdleState(threshold, notify);
}

Powered by Google App Engine
This is Rietveld 408576698