Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_important_sites_util.h |
| diff --git a/chrome/browser/browsing_data/browsing_data_important_sites_util.h b/chrome/browser/browsing_data/browsing_data_important_sites_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0d08f9115043114dbcc09bb8d926121fec9a0724 |
| --- /dev/null |
| +++ b/chrome/browser/browsing_data/browsing_data_important_sites_util.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2017 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_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ |
| +#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ |
| + |
| +#include "chrome/browser/browsing_data/browsing_data_remover.h" |
| +#include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" |
| +#include "components/browsing_data/core/browsing_data_utils.h" |
| + |
| +namespace content { |
| +class BrowsingDataFilterBuilder; |
| +} |
| + |
| +namespace browsing_data_important_sites_util { |
| + |
| +// Deletes the types protected by Important Sites with a filter, and the rest |
|
dschuyler
2017/04/27 23:10:25
Does this delete the types that 'are' or 'are not'
dullweber
2017/04/28 12:34:03
This deletes data from types that are considered i
|
| +// completely. The observer will be called twice. |
| +void Remove(int remove_mask, |
| + int origin_mask, |
| + browsing_data::TimePeriod time_period, |
| + std::unique_ptr<content::BrowsingDataFilterBuilder> filter_builder, |
| + BrowsingDataRemover* remover, |
| + BrowsingDataRemover::Observer* observer); |
| + |
| +} // namespace browsing_data_important_sites_util |
| + |
| +#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ |