OLD | NEW |
| (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 } | |
OLD | NEW |