Chromium Code Reviews| Index: chrome/browser/browsing_data/browsing_data_remover_util.h |
| diff --git a/chrome/browser/browsing_data/browsing_data_remover_util.h b/chrome/browser/browsing_data/browsing_data_remover_util.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bfa60b54493c5d4937b419e4318047dac00d7ea9 |
| --- /dev/null |
| +++ b/chrome/browser/browsing_data/browsing_data_remover_util.h |
| @@ -0,0 +1,25 @@ |
| +// 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_REMOVER_UTIL_H_ |
| +#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_UTIL_H_ |
| + |
| +#include <vector> |
| + |
| +#include "chrome/browser/browsing_data/browsing_data_remover.h" |
| +#include "components/browsing_data/core/browsing_data_utils.h" |
| + |
| +class BrowsingDataRemoverUtil { |
|
msramek
2017/03/06 15:37:34
The style guide discourages pure static classes an
dullweber
2017/03/13 14:53:23
Done.
|
| + public: |
| + // Deletes the types protected by Important Sites with a filter, and the rest |
| + // completely. The observer will be called twice. |
| + static void Remove(int remove_mask, |
| + int origin_mask, |
| + browsing_data::TimePeriod time_period, |
| + const std::vector<std::string>& excluded_domains, |
| + BrowsingDataRemover* remover, |
| + BrowsingDataRemover::Observer* observer); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_UTIL_H_ |