Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: chrome/browser/browsing_data/browsing_data_important_sites_util.h

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: fix comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5eca44652e2c20187974ff82539c4226bd4a5432
--- /dev/null
+++ b/chrome/browser/browsing_data/browsing_data_important_sites_util.h
@@ -0,0 +1,30 @@
+// 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/chrome_browsing_data_remover_delegate.h"
+#include "components/browsing_data/core/browsing_data_utils.h"
+#include "content/public/browser/browsing_data_remover.h"
+
+namespace content {
+class BrowsingDataFilterBuilder;
+}
+
+namespace browsing_data_important_sites_util {
+
+// Deletes the types protected by Important Sites with the filter from
+// |filter_builder|, the other types are deleted completely.
+// The observer will be called twice.
+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
+ int origin_mask,
+ browsing_data::TimePeriod time_period,
+ std::unique_ptr<content::BrowsingDataFilterBuilder> filter_builder,
+ content::BrowsingDataRemover* remover,
+ content::BrowsingDataRemover::Observer* observer);
+
+} // namespace browsing_data_important_sites_util
+
+#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_IMPORTANT_SITES_UTIL_H_
« no previous file with comments | « chrome/browser/android/chrome_feature_list.cc ('k') | chrome/browser/browsing_data/browsing_data_important_sites_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698