chromium/chrome/browser/enterprise/profile_management/profile_management_navigation_throttle.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_ENTERPRISE_PROFILE_MANAGEMENT_PROFILE_MANAGEMENT_NAVIGATION_THROTTLE_H_
#define CHROME_BROWSER_ENTERPRISE_PROFILE_MANAGEMENT_PROFILE_MANAGEMENT_NAVIGATION_THROTTLE_H_

#include <memory>

#include "base/containers/flat_map.h"
#include "base/memory/weak_ptr.h"
#include "content/public/browser/navigation_throttle.h"

class GURL;

namespace content {
class NavigationHandle;
}  // namespace content

namespace profile_management {

class SAMLResponseParser;

// This throttle looks for profile management data in certain HTTP responses
// from supported hosts. If a response from a supported host is received, the
// navigation is deferred while trying to retrieve the data from the response
// body. If profile management data is found, this throttle triggers signin
// interception.
class ProfileManagementNavigationThrottle : public content::NavigationThrottle {};

}  // namespace profile_management

#endif  // CHROME_BROWSER_ENTERPRISE_PROFILE_MANAGEMENT_PROFILE_MANAGEMENT_NAVIGATION_THROTTLE_H_