blob: 196c25ae4cf5e24330c1db8db6adc91f1f21e53d [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_BROWSING_DATA_THIRD_PARTY_DATA_REMOVER_H_
#define CHROME_BROWSER_BROWSING_DATA_THIRD_PARTY_DATA_REMOVER_H_
#include "chrome/browser/browsing_data/third_party_data_remover.h"
#include "base/callback.h"
#include "content/public/browser/browser_context.h"
// This function clears cookies available in cross-site contexts (i.e.
// SameSite=None cookies) and clears any storage that was accessed in cross-site
// contexts if access context auditing is enabled. If access context auditing is
// disabled, the function will clear storage for any origin whose domain has a
// SameSite=None cookie.
void ClearThirdPartyData(base::OnceClosure closure,
content::BrowserContext* context);
#endif // CHROME_BROWSER_BROWSING_DATA_THIRD_PARTY_DATA_REMOVER_H_