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

Side by Side Diff: chrome/browser/privacy_blacklist/blacklist_ui.cc

Issue 2862041: Remove abonded privacy blacklist implementation. (Closed)
Patch Set: fix unit tests Created 10 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/privacy_blacklist/blacklist_ui.h"
6
7 #include "chrome/browser/chrome_thread.h"
8 #include "chrome/browser/privacy_blacklist/blacklist_request_info.h"
9 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
10 #include "chrome/browser/renderer_host/resource_dispatcher_host_request_info.h"
11
12 // static
13 void BlacklistUI::OnNonvisualContentBlocked(const URLRequest* /*request*/) {
14 DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
15
16 // TODO
17
18 /* This code will probably be useful when this function is implemented.
19 BlacklistRequestInfo* request_info =
20 BlacklistRequestInfo::FromURLRequest(request);
21 const Blacklist* blacklist = request_info->GetBlacklist();
22 scoped_ptr<Blacklist::Match> match(blacklist->FindMatch(request->url()));
23 const ResourceDispatcherHostRequestInfo* info =
24 ResourceDispatcherHost::InfoForRequest(request);
25 */
26 }
OLDNEW
« 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