OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017 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_SUBRESOURCE_FILTER_NAVIGATION_THROTTLE_UTIL_H_ |
| 6 #define CHROME_BROWSER_SUBRESOURCE_FILTER_NAVIGATION_THROTTLE_UTIL_H_ |
| 7 |
| 8 #include "content/public/browser/navigation_throttle.h" |
| 9 |
| 10 namespace safe_browsing { |
| 11 class SafeBrowsingService; |
| 12 } |
| 13 |
| 14 // Creates the CreateSubresourceFilterNavigationThrottle for the main frame and |
| 15 // the |safe_browsing_service| supporting pver4, |safe_browsing_service| can be |
| 16 // a nullptr. |
| 17 content::NavigationThrottle* MaybeCreateSubresourceFilterNavigationThrottle( |
| 18 content::NavigationHandle* navigation_handle, |
| 19 safe_browsing::SafeBrowsingService* safe_browsing_service); |
| 20 |
| 21 #endif // CHROME_BROWSER_SUBRESOURCE_FILTER_NAVIGATION_THROTTLE_UTIL_H_ |
OLD | NEW |