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

Unified Diff: chrome/browser/profiles/profile_manager_browsertest.cc

Issue 2827523003: Move BrowsingDataRemover to content/ (Closed)
Patch Set: Addressed some 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: chrome/browser/profiles/profile_manager_browsertest.cc
diff --git a/chrome/browser/profiles/profile_manager_browsertest.cc b/chrome/browser/profiles/profile_manager_browsertest.cc
index b9eb5d5393c868e753caa84e7431ca31e3fbcaae..bfb4cdc394a7b7aedbca8d9e411f92adb98be0e5 100644
--- a/chrome/browser/profiles/profile_manager_browsertest.cc
+++ b/chrome/browser/profiles/profile_manager_browsertest.cc
@@ -12,8 +12,6 @@
#include "base/stl_util.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
-#include "chrome/browser/browsing_data/browsing_data_remover.h"
-#include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
#include "chrome/browser/lifetime/keep_alive_types.h"
#include "chrome/browser/lifetime/scoped_keep_alive.h"
#include "chrome/browser/password_manager/password_store_factory.h"
@@ -32,6 +30,7 @@
#include "components/password_manager/core/browser/password_store.h"
#include "components/password_manager/core/browser/password_store_consumer.h"
#include "components/prefs/pref_service.h"
+#include "content/public/browser/browsing_data_remover.h"
#include "content/public/test/test_utils.h"
#if defined(OS_CHROMEOS)
@@ -85,7 +84,7 @@ class MultipleProfileDeletionObserver
OnBrowsingDataRemoverWouldComplete,
base::Unretained(this));
for (Profile* profile : profile_manager->GetLoadedProfiles()) {
- BrowsingDataRemoverFactory::GetForBrowserContext(profile)
+ content::BrowserContext::GetBrowsingDataRemover(profile)
->SetWouldCompleteCallbackForTesting(would_complete_callback);
}
}

Powered by Google App Engine
This is Rietveld 408576698