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

Unified Diff: content/public/browser/browsing_data_filter_builder.h

Issue 2657453006: Move BrowsingDataFilterBuilder[Impl] to content/ (Closed)
Patch Set: Rebased Created 3 years, 10 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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browsing_data_filter_builder.h
diff --git a/chrome/browser/browsing_data/browsing_data_filter_builder.h b/content/public/browser/browsing_data_filter_builder.h
similarity index 91%
rename from chrome/browser/browsing_data/browsing_data_filter_builder.h
rename to content/public/browser/browsing_data_filter_builder.h
index 835721f8774cd8fc10ad7222f655bb96a844cd0d..e5d49fe835611931dc50a337403b5fad95173c3e 100644
--- a/chrome/browser/browsing_data/browsing_data_filter_builder.h
+++ b/content/public/browser/browsing_data_filter_builder.h
@@ -2,8 +2,8 @@
// 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_FILTER_BUILDER_H_
-#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILTER_BUILDER_H_
+#ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_FILTER_BUILDER_H_
+#define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_FILTER_BUILDER_H_
#include <memory>
#include <ostream>
@@ -12,6 +12,7 @@
#include <vector>
#include "base/callback_forward.h"
+#include "content/common/content_export.h"
class GURL;
@@ -23,6 +24,8 @@ namespace url {
class Origin;
}
+namespace content {
+
// An class that builds GURL->bool predicates to filter browsing data.
// These filters can be of two modes - a whitelist or a blacklist. The filter
// entries can be origins or registrable domains.
@@ -31,7 +34,7 @@ class Origin;
// data. |BuildGeneralFilter()| is useful for most browsing data storage
// backends, but some backends, such as website settings and cookies, use
// other formats of filter.
-class BrowsingDataFilterBuilder {
+class CONTENT_EXPORT BrowsingDataFilterBuilder {
public:
enum Mode {
// This means that only the origins given will be deleted.
@@ -95,4 +98,6 @@ class BrowsingDataFilterBuilder {
virtual bool operator==(const BrowsingDataFilterBuilder& other) const = 0;
};
-#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_FILTER_BUILDER_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_BROWSING_DATA_FILTER_BUILDER_H_
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698