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

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

Issue 2827523003: Move BrowsingDataRemover to content/ (Closed)
Patch Set: Rebase over codereview.chromium.org/2815913005 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: chrome/browser/browsing_data/browsing_data_remover_delegate.h
diff --git a/chrome/browser/browsing_data/browsing_data_remover_delegate.h b/chrome/browser/browsing_data/browsing_data_remover_delegate.h
deleted file mode 100644
index 4483fd79f7b2e2e63afeb3292b0aaf2f511e4189..0000000000000000000000000000000000000000
--- a/chrome/browser/browsing_data/browsing_data_remover_delegate.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2016 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_REMOVER_DELEGATE_H_
-#define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_DELEGATE_H_
-
-#include "base/callback_forward.h"
-
-class GURL;
-
-namespace base {
-class Time;
-}
-
-namespace content {
-class BrowsingDataFilterBuilder;
-}
-
-namespace storage {
-class SpecialStoragePolicy;
-}
-
-class BrowsingDataRemoverDelegate {
- public:
- // Determines whether |origin| matches |origin_type_mask| given
- // the |special_storage_policy|.
- typedef base::Callback<bool(int origin_type_mask,
- const GURL& origin,
- storage::SpecialStoragePolicy* policy)>
- EmbedderOriginTypeMatcher;
-
- virtual ~BrowsingDataRemoverDelegate() {}
-
- // Returns a MaskMatcherFunction to match embedder's origin types.
- // This MaskMatcherFunction will be called with an |origin_type_mask|
- // parameter containing ONLY embedder-defined origin types, and must be able
- // to handle ALL embedder-defined typed. It must be static and support
- // being called on the UI and IO thread.
- virtual EmbedderOriginTypeMatcher GetOriginTypeMatcher() 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,
- int origin_type_mask,
- const base::Closure& callback) = 0;
-};
-
-#endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698