blob: 2f6b9e5089ac6f9a6b156eb0e74a289e7bd85526 [file] [log] [blame]
Marlon Faceyed4b8c62024-07-18 16:46:201// Copyright 2024 The Chromium Authors
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 COMPONENTS_URL_DEDUPLICATION_URL_STRIP_HANDLER_H_
6#define COMPONENTS_URL_DEDUPLICATION_URL_STRIP_HANDLER_H_
7
8class GURL;
9
Marlon Facey3cd673a152024-07-26 16:16:1310namespace url_deduplication {
11
Marlon Faceyed4b8c62024-07-18 16:46:2012// Class to handle various methods of stripping URLs.
13class URLStripHandler {
14 public:
Marlon Facey3cd673a152024-07-26 16:16:1315 virtual ~URLStripHandler() = default;
16
Marlon Faceyed4b8c62024-07-18 16:46:2017 // Strips params that are not useful for disambiguating urls.
Marlon Facey3cd673a152024-07-26 16:16:1318 virtual GURL StripExtraParams(GURL) = 0;
Marlon Faceyed4b8c62024-07-18 16:46:2019};
20
Marlon Facey3cd673a152024-07-26 16:16:1321} // namespace url_deduplication
22
Marlon Faceyed4b8c62024-07-18 16:46:2023#endif // COMPONENTS_URL_DEDUPLICATION_URL_STRIP_HANDLER_H_