chromium/components/safe_browsing/core/browser/password_protection/request_canceler.h

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

#ifndef COMPONENTS_SAFE_BROWSING_CORE_BROWSER_PASSWORD_PROTECTION_REQUEST_CANCELER_H_
#define COMPONENTS_SAFE_BROWSING_CORE_BROWSER_PASSWORD_PROTECTION_REQUEST_CANCELER_H_

#include "base/memory/weak_ptr.h"

namespace content {
class WebContents;
}

namespace web {
class WebState;
}

namespace safe_browsing {

// An interface-only pure abstract base class for a request that can be
// canceled.
class CancelableRequest {};

// An object that cancels a request when it is no longer valid.
class RequestCanceler {};

}  // namespace safe_browsing

#endif  // COMPONENTS_SAFE_BROWSING_CORE_BROWSER_PASSWORD_PROTECTION_REQUEST_CANCELER_H_