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

Unified Diff: chrome/renderer/resources/extensions/web_request_custom_bindings.js

Issue 10389168: Revert 137388 - Move declarative API into events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/renderer/resources/extensions/web_request_custom_bindings.js
===================================================================
--- chrome/renderer/resources/extensions/web_request_custom_bindings.js (revision 137393)
+++ chrome/renderer/resources/extensions/web_request_custom_bindings.js (working copy)
@@ -32,10 +32,9 @@
this.eventOptions_ = opt_eventOptions ||
{'supportsListeners': true, 'supportsRules': false};
- if (this.eventOptions_.supportsRules) {
+ if (this.eventOptions_.supportsRules)
this.eventForRules_ =
new chrome.Event(eventName, opt_argSchemas, opt_eventOptions);
- }
};
// Test if the given callback is registered for this event.
« no previous file with comments | « chrome/renderer/resources/extensions/utils.js ('k') | chrome/test/data/extensions/api_test/declarative/api/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698