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

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

Issue 371063: Integrate BlacklistManager with Profile. (Closed)
Patch Set: trybot fixes Created 11 years, 1 month 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7203cd9e9d7aa193548ca46cb4b968298bd007f6..036d907318b37d0ea174839ed9e8ecfd56d51306 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -421,8 +421,8 @@ void ResourceDispatcherHost::BeginRequest(
std::string url = request_data.url.spec();
// Note that context can still be NULL here when running unit tests.
- Blacklist::Match* match = context && context->blacklist() ?
- context->blacklist()->findMatch(request_data.url) : NULL;
+ Blacklist::Match* match = context && context->GetBlacklist() ?
+ context->GetBlacklist()->findMatch(request_data.url) : NULL;
if (match && match->IsBlocked(request_data.url)) {
// This is a special path where calling happens without the URLRequest
// being created, so we must delete the match ourselves. Ensures this
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698