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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 10257006: Move Declarative Web Request API out of experimental and make it a feature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT 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/browser/extensions/api/web_request/web_request_api.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api.cc b/chrome/browser/extensions/api/web_request/web_request_api.cc
index b63108b24469b5bb808f54b2fd5da94e98aae9db..fe7400758ad4a2af3170c0b62c1245e72d044864 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api.cc
@@ -1373,6 +1373,9 @@ bool ExtensionWebRequestEventRouter::ProcessDeclarativeRules(
base::Time start = base::Time::Now();
+ // TODO(battre): Annotate deltas with extension IDs, so that we can
+ // - Sort deltas by precedence
+ // - Check whether extensions have host permissions.
std::list<linked_ptr<helpers::EventResponseDelta> > result =
rules_registry_->CreateDeltas(request, request_stage);
« no previous file with comments | « chrome/browser/extensions/api/declarative_webrequest/webrequest_constants.cc ('k') | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698