| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 6f4e66500156f32a069b4792e265a539281612c8..3010f5a6c9b67e9eb7839e20d5c54b91c92a1e55 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -391,6 +391,10 @@
|
| #include "chrome/browser/metrics/leak_detector/leak_detector_remote_controller.h"
|
| #endif
|
|
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| +#include "chrome/browser/supervised_user/supervised_user_navigation_throttle.h"
|
| +#endif
|
| +
|
| using base::FileDescriptor;
|
| using content::BrowserThread;
|
| using content::BrowserURLHandler;
|
| @@ -3374,6 +3378,13 @@ ChromeContentBrowserClient::CreateThrottlesForNavigation(
|
| throttles.push_back(std::move(flash_url_throttle));
|
| #endif
|
|
|
| +#if BUILDFLAG(ENABLE_SUPERVISED_USERS)
|
| + std::unique_ptr<content::NavigationThrottle> supervised_user_throttle =
|
| + SupervisedUserNavigationThrottle::MaybeCreateThrottleFor(handle);
|
| + if (supervised_user_throttle)
|
| + throttles.push_back(std::move(supervised_user_throttle));
|
| +#endif
|
| +
|
| #if defined(OS_ANDROID)
|
| // TODO(davidben): This is insufficient to integrate with prerender properly.
|
| // https://crbug.com/370595
|
|
|