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

Unified Diff: chrome/browser/privacy_blacklist/blacklist_ui.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/privacy_blacklist/blacklist_ui.cc
diff --git a/chrome/browser/privacy_blacklist/blacklist_ui.cc b/chrome/browser/privacy_blacklist/blacklist_ui.cc
deleted file mode 100644
index 0c5537f2dd66051a601fc6df6e60a04b9fe43d2c..0000000000000000000000000000000000000000
--- a/chrome/browser/privacy_blacklist/blacklist_ui.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/privacy_blacklist/blacklist_ui.h"
-
-#include "chrome/browser/chrome_thread.h"
-#include "chrome/browser/privacy_blacklist/blacklist_request_info.h"
-#include "chrome/browser/renderer_host/resource_dispatcher_host.h"
-#include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h"
-
-// static
-void BlacklistUI::OnNonvisualContentBlocked(const URLRequest* /*request*/) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
-
- // TODO
-
- /* This code will probably be useful when this function is implemented.
- BlacklistRequestInfo* request_info =
- BlacklistRequestInfo::FromURLRequest(request);
- const Blacklist* blacklist = request_info->GetBlacklist();
- scoped_ptr<Blacklist::Match> match(blacklist->FindMatch(request->url()));
- const ResourceDispatcherHostRequestInfo* info =
- ResourceDispatcherHost::InfoForRequest(request);
- */
-}
« no previous file with comments | « chrome/browser/privacy_blacklist/blacklist_ui.h ('k') | chrome/browser/privacy_blacklist/blacklist_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698