OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 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 CONTENT_BROWSER_FRAME_HOST_DATA_URL_NAVIGATION_THROTTLE_ | |
6 #define CONTENT_BROWSER_FRAME_HOST_DATA_URL_NAVIGATION_THROTTLE_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/macros.h" | |
11 #include "content/public/browser/navigation_throttle.h" | |
12 | |
13 namespace content { | |
14 | |
15 class DataUrlNavigationThrottle : public NavigationThrottle { | |
16 public: | |
17 DataUrlNavigationThrottle(NavigationHandle* navigation_handle); | |
kinuko
2017/04/19 07:07:44
nit: explicit
meacer
2017/04/21 01:31:21
Done.
| |
18 ~DataUrlNavigationThrottle() override; | |
19 | |
20 // NavigationThrottle method: | |
21 ThrottleCheckResult WillProcessResponse() override; | |
22 | |
23 static std::unique_ptr<NavigationThrottle> CreateThrottleForNavigation( | |
24 NavigationHandle* navigation_handle); | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(DataUrlNavigationThrottle); | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_BROWSER_FRAME_HOST_DATA_URL_NAVIGATION_THROTTLE_ | |
OLD | NEW |