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

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

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.h
diff --git a/extensions/browser/api/idle/idle_manager.h b/extensions/browser/api/idle/idle_manager.h
index 770dcc06fb911b43e043ac4c977d9ab6738e9596..d8ff5a03ccd835e036ffc9a331bac2444ebc447a 100644
--- a/extensions/browser/api/idle/idle_manager.h
+++ b/extensions/browser/api/idle/idle_manager.h
@@ -89,7 +89,7 @@ class IdleManager : public ExtensionRegistryObserver,
void OnListenerAdded(const EventListenerInfo& details) override;
void OnListenerRemoved(const EventListenerInfo& details) override;
- void QueryState(int threshold, QueryStateCallback notify);
+ void QueryState(int threshold, const QueryStateCallback& notify);
void SetThreshold(const std::string& extension_id, int threshold);
static std::unique_ptr<base::StringValue> CreateIdleValue(
ui::IdleState idle_state);

Powered by Google App Engine
This is Rietveld 408576698