OLD | NEW |
| (Empty) |
1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_INTERCEPTOR_H_ | |
6 #define CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_INTERCEPTOR_H_ | |
7 | |
8 #include "net/url_request/url_request.h" | |
9 | |
10 // Intercepts requests matched by a privacy blacklist. | |
11 class BlacklistInterceptor : public URLRequest::Interceptor { | |
12 public: | |
13 BlacklistInterceptor(); | |
14 ~BlacklistInterceptor(); | |
15 | |
16 // URLRequest::Interceptor: | |
17 virtual URLRequestJob* MaybeIntercept(URLRequest* request); | |
18 | |
19 private: | |
20 DISALLOW_COPY_AND_ASSIGN(BlacklistInterceptor); | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_PRIVACY_BLACKLIST_BLACKLIST_INTERCEPTOR_H_ | |
OLD | NEW |