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

Side by Side Diff: chrome/browser/subresource_filter/navigation_throttle_util.h

Issue 2858483003: [subresource_filter] Move throttle insertion into the client (Closed)
Patch Set: fix rebase Created 3 years, 7 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) 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698