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

Unified Diff: chrome/browser/extensions/api/browsing_data/browsing_data_api.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/extensions/api/browsing_data/browsing_data_api.h
diff --git a/chrome/browser/extensions/api/browsing_data/browsing_data_api.h b/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
index 8ffab0f25df8fa83f747f9f5e7fa4554bc09cdfa..ac01ad0801f04290c827537ab3ffca942bf25b95 100644
--- a/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
+++ b/chrome/browser/extensions/api/browsing_data/browsing_data_api.h
@@ -12,8 +12,8 @@
#include <string>
#include "base/scoped_observer.h"
-#include "chrome/browser/browsing_data/browsing_data_remover.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
+#include "content/public/browser/browsing_data_remover.h"
class PluginPrefs;
class PrefService;
@@ -84,8 +84,9 @@ class BrowsingDataSettingsFunction : public UIThreadExtensionFunction {
//
// Each child class must implement GetRemovalMask(), which returns the bitmask
// of data types to remove.
-class BrowsingDataRemoverFunction : public ChromeAsyncExtensionFunction,
- public BrowsingDataRemover::Observer {
+class BrowsingDataRemoverFunction
+ : public ChromeAsyncExtensionFunction,
+ public content::BrowsingDataRemover::Observer {
public:
BrowsingDataRemoverFunction();
@@ -122,7 +123,9 @@ class BrowsingDataRemoverFunction : public ChromeAsyncExtensionFunction,
base::Time remove_since_;
int removal_mask_;
int origin_type_mask_;
- ScopedObserver<BrowsingDataRemover, BrowsingDataRemover::Observer> observer_;
+ ScopedObserver<content::BrowsingDataRemover,
+ content::BrowsingDataRemover::Observer>
+ observer_;
};
class BrowsingDataRemoveAppcacheFunction : public BrowsingDataRemoverFunction {
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_helper.cc ('k') | chrome/browser/extensions/api/browsing_data/browsing_data_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698