Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ | |
| 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ | |
| 7 | |
| 8 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" | |
| 9 #include "components/browsing_data/core/browsing_data_utils.h" | |
| 10 #include "content/public/browser/browsing_data_remover.h" | |
| 11 | |
| 12 namespace content { | |
| 13 class BrowsingDataFilterBuilder; | |
| 14 } | |
| 15 | |
| 16 namespace browsing_data_important_sites_util { | |
| 17 | |
| 18 // Deletes the types protected by Important Sites with the filter from | |
| 19 // |filter_builder|, the other types are deleted completely. | |
| 20 // The observer will be called twice. | |
| 21 void Remove(int remove_mask, | |
|
msramek
2017/05/05 09:12:59
When I call a method and pass it an |observer|, my
dullweber
2017/05/05 11:51:54
I moved the Observer class to the util file and pa
| |
| 22 int origin_mask, | |
| 23 browsing_data::TimePeriod time_period, | |
| 24 std::unique_ptr<content::BrowsingDataFilterBuilder> filter_builder, | |
| 25 content::BrowsingDataRemover* remover, | |
| 26 content::BrowsingDataRemover::Observer* observer); | |
| 27 | |
| 28 } // namespace browsing_data_important_sites_util | |
| 29 | |
| 30 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_ | |
| OLD | NEW |