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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host.cc

Issue 523137: Also match against the query string if present. (Closed)
Patch Set: updates Created 10 years, 11 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/renderer_host/resource_dispatcher_host.cc
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc
index 417ceb144e3dcdd089cdbcf88e74a709d3b033f0..62d31f48e0d773748dac87d5e3eed4150644723c 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -1099,7 +1099,7 @@ bool ResourceDispatcherHost::CompleteResponseStarted(URLRequest* request) {
const BlacklistManager* blacklist_manager =
request_info->GetBlacklistManager();
const Blacklist* blacklist = blacklist_manager->GetCompiledBlacklist();
- scoped_ptr<Blacklist::Match> match(blacklist->findMatch(request->url()));
+ scoped_ptr<Blacklist::Match> match(blacklist->FindMatch(request->url()));
if (match.get() && match->attributes() & Blacklist::kBlockByType) {
if (match->MatchType(response->response_head.mime_type))
return false; // TODO(idanan): Generate a replacement response.

Powered by Google App Engine
This is Rietveld 408576698