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

Side by Side Diff: extensions/browser/extension_navigation_throttle.h

Issue 2042483002: Fix web_accesible_resources enforcement for Site Isolation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for code review, removed filter exceptions. Created 4 years, 6 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 2016 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 EXTENSIONS_BROWSER_EXTENSION_NAVIGATION_THROTTLE_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_NAVIGATION_THROTTLE_H_
7
8 #include "base/macros.h"
9 #include "content/public/browser/navigation_throttle.h"
10
11 namespace content {
12 class NavigationHandle;
13 }
14
15 namespace extensions {
16
17 class NavigationParams;
18
19 // This class allows the extensions subsystem to have control over navigations
20 // and optionally cancel/block them. This is a UI thread class.
21 class ExtensionNavigationThrottle : public content::NavigationThrottle {
22 public:
23 explicit ExtensionNavigationThrottle(
24 content::NavigationHandle* navigation_handle);
25 ~ExtensionNavigationThrottle() override;
26
27 // content::NavigationThrottle implementation:
28 ThrottleCheckResult WillStartRequest() override;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(ExtensionNavigationThrottle);
32 };
33
34 } // namespace extensions
35
36 #endif // EXTENSIONS_BROWSER_EXTENSION_NAVIGATION_THROTTLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698