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

Unified Diff: chrome/browser/extensions/extension_idle_api.cc

Issue 10514013: Filtered events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add API permission check to filtered events :-| Created 8 years, 6 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: chrome/browser/extensions/extension_idle_api.cc
diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc
index 8df6ac84892dff692f8a462bf05c0b96435e92d1..87ce7641ce56291ff96a6dba86677042d0e0c230 100644
--- a/chrome/browser/extensions/extension_idle_api.cc
+++ b/chrome/browser/extensions/extension_idle_api.cc
@@ -145,7 +145,7 @@ void ExtensionIdleEventRouter::OnIdleStateChange(Profile* profile,
base::JSONWriter::Write(&args, &json_args);
profile->GetExtensionEventRouter()->DispatchEventToRenderers(
- keys::kOnStateChanged, json_args, profile, GURL());
+ keys::kOnStateChanged, json_args, profile, GURL(), EventFilteringInfo());
}
bool ExtensionIdleQueryStateFunction::RunImpl() {

Powered by Google App Engine
This is Rietveld 408576698