| 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 77%
|
| rename from chrome/browser/browsing_data/browsing_data_remover_delegate.h
|
| rename to content/public/browser/browsing_data_remover_delegate.h
|
| index 4483fd79f7b2e2e63afeb3292b0aaf2f511e4189..eaf0b9411bee6e1f6872066a2bccc13ae3884b1a 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover_delegate.h
|
| +++ b/content/public/browser/browsing_data_remover_delegate.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_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"
|
|
|
| @@ -13,14 +13,14 @@ namespace base {
|
| class Time;
|
| }
|
|
|
| -namespace content {
|
| -class BrowsingDataFilterBuilder;
|
| -}
|
| -
|
| namespace storage {
|
| class SpecialStoragePolicy;
|
| }
|
|
|
| +namespace content {
|
| +
|
| +class BrowsingDataFilterBuilder;
|
| +
|
| class BrowsingDataRemoverDelegate {
|
| public:
|
| // Determines whether |origin| matches |origin_type_mask| given
|
| @@ -39,14 +39,19 @@ class BrowsingDataRemoverDelegate {
|
| // being called on the UI and IO thread.
|
| virtual EmbedderOriginTypeMatcher GetOriginTypeMatcher() const = 0;
|
|
|
| + // Whether the embedder allows the removal of download history.
|
| + virtual bool MayRemoveDownloadHistory() const = 0;
|
| +
|
| // Removes embedder-specific data.
|
| virtual void RemoveEmbedderData(
|
| 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;
|
| };
|
|
|
| -#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_DELEGATE_H_
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_
|
|
|