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

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

Issue 2827523003: Move BrowsingDataRemover to content/ (Closed)
Patch Set: Addressed comments. Created 3 years, 8 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: content/public/browser/browsing_data_remover_delegate.h
diff --git a/chrome/browser/browsing_data/browsing_data_remover_delegate.h b/content/public/browser/browsing_data_remover_delegate.h
similarity index 78%
rename from chrome/browser/browsing_data/browsing_data_remover_delegate.h
rename to content/public/browser/browsing_data_remover_delegate.h
index 4483fd79f7b2e2e63afeb3292b0aaf2f511e4189..2f20267fa3ebfc26ba40a463e494efc6b2fe78a5 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_delegate.h
+++ b/content/public/browser/browsing_data_remover_delegate.h
@@ -2,10 +2,11 @@
// 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_DELEGATE_H_
-#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_DELEGATE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
+#define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
#include "base/callback_forward.h"
+#include "content/common/content_export.h"
class GURL;
@@ -13,15 +14,15 @@ namespace base {
class Time;
}
-namespace content {
-class BrowsingDataFilterBuilder;
-}
-
namespace storage {
class SpecialStoragePolicy;
}
-class BrowsingDataRemoverDelegate {
+namespace content {
+
+class BrowsingDataFilterBuilder;
+
+class CONTENT_EXPORT BrowsingDataRemoverDelegate {
jam 2017/04/20 00:39:48 ditto re export
msramek 2017/04/21 15:22:12 Done.
public:
// Determines whether |origin| matches |origin_type_mask| given
// the |special_storage_policy|.
@@ -44,9 +45,11 @@ class BrowsingDataRemoverDelegate {
const base::Time& delete_begin,
const base::Time& delete_end,
int remove_mask,
- const content::BrowsingDataFilterBuilder& filter_builder,
+ const BrowsingDataFilterBuilder& filter_builder,
int origin_type_mask,
const base::Closure& callback) = 0;
jam 2017/04/20 00:39:48 if the first method is removed, can this one also
msramek 2017/04/21 15:22:12 Yes. Please see the above answer.
};
-#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_DELEGATE_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698