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 "content/public/browser/navigation_throttle.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 class DataUrlNavigationThrottle : public NavigationThrottle { |
| 15 public: |
| 16 DataUrlNavigationThrottle(NavigationHandle* navigation_handle); |
| 17 ~DataUrlNavigationThrottle() override; |
| 18 |
| 19 // NavigationThrottle method: |
| 20 ThrottleCheckResult WillProcessResponse() override; |
| 21 |
| 22 static std::unique_ptr<NavigationThrottle> CreateThrottleForNavigation( |
| 23 NavigationHandle* navigation_handle); |
| 24 }; |
| 25 |
| 26 } // namespace content |
| 27 |
| 28 #endif // CONTENT_BROWSER_FRAME_HOST_DATA_URL_NAVIGATION_THROTTLE_ |
OLD | NEW |