summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/system/system_api.cc
diff options
context:
space:
mode:
authordharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 20:24:32 +0000
committerdharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-03 20:24:32 +0000
commitb12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3 (patch)
tree44b3fdcdfd9858c2ac1a884181bbde6c7a245ac5 /chrome/browser/extensions/system/system_api.cc
parent8cca9621a858256226dfc6d7588a2fda32ad2daf (diff)
downloadchromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.zip
chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.gz
chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.bz2
Revert 145145 - Filtered events.
Check bug 134977 for details Makes web_navigation events support filters, eg: chrome.webNavigation.onBeforeCommitted.addListener(callback, {url: [{hostSuffix: 'google.com'}]}); Now callback will only be called when the event has a URL with a host suffix of google.com. BUG=121479 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143872 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143874 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143896 Review URL: https://chromiumcodereview.appspot.com/10514013 TBR=koz@chromium.org Review URL: https://chromiumcodereview.appspot.com/10700092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/system/system_api.cc')
-rw-r--r--chrome/browser/extensions/system/system_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/system/system_api.cc b/chrome/browser/extensions/system/system_api.cc
index 042eb35..b80538f 100644
--- a/chrome/browser/extensions/system/system_api.cc
+++ b/chrome/browser/extensions/system/system_api.cc
@@ -60,7 +60,7 @@ void DispatchEvent(const std::string& event_name, const ListValue& args) {
std::string json_args;
base::JSONWriter::Write(&args, &json_args);
extension_event_router->DispatchEventToRenderers(
- event_name, json_args, NULL, GURL(), extensions::EventFilteringInfo());
+ event_name, json_args, NULL, GURL());
}
} // namespace