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

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

Issue 2862041: Remove abonded privacy blacklist implementation. (Closed)
Patch Set: fix unit tests Created 10 years, 6 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 24d493f797aca8a372fd46e66851ae4c1d410fe1..998ad96dac935781cc72c111cd63534276009970 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -28,8 +28,6 @@
#include "chrome/browser/net/chrome_url_request_context.h"
#include "chrome/browser/net/url_request_tracking.h"
#include "chrome/browser/plugin_service.h"
-#include "chrome/browser/privacy_blacklist/blacklist.h"
-#include "chrome/browser/privacy_blacklist/blacklist_request_info.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/renderer_host/async_resource_handler.h"
#include "chrome/browser/renderer_host/buffered_resource_handler.h"
@@ -481,14 +479,6 @@ void ResourceDispatcherHost::BeginRequest(
request, context ? context->appcache_service() : NULL, child_id,
request_data.appcache_host_id, request_data.resource_type);
- // Associate Privacy Blacklist information with the request.
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnablePrivacyBlacklists)) {
- request->SetUserData(&BlacklistRequestInfo::kURLRequestDataKey,
- new BlacklistRequestInfo(request_data.url, request_data.resource_type,
- context ? context->GetPrivacyBlacklist() : NULL));
- }
-
BeginRequestInternal(request);
}
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host.h ('k') | chrome/browser/renderer_host/resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698