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

Unified Diff: chrome/browser/ui/webui/options/clear_browser_data_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/ui/webui/options/clear_browser_data_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/clear_browser_data_browsertest.cc b/chrome/browser/ui/webui/options/clear_browser_data_browsertest.cc
index 6d497025a9eb534ed06c55020d99ad314694d9ea..78063231dd43a45246bd82707f0fa59e98a7b6dd 100644
--- a/chrome/browser/ui/webui/options/clear_browser_data_browsertest.cc
+++ b/chrome/browser/ui/webui/options/clear_browser_data_browsertest.cc
@@ -6,15 +6,14 @@
#include "base/macros.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/browsing_data/browsing_data_remover_test_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
#include "chrome/common/url_constants.h"
#include "components/prefs/pref_service.h"
+#include "content/public/browser/browsing_data_remover.h"
#include "content/public/test/browser_test_utils.h"
+#include "content/public/test/browsing_data_remover_test_util.h"
namespace options {
@@ -59,8 +58,8 @@ class ClearBrowserDataBrowserTest : public OptionsUIBrowserTest {
IN_PROC_BROWSER_TEST_F(ClearBrowserDataBrowserTest,
MAYBE_CommitButtonDisabledWhileDeletionInProgress) {
const char kCommitButtonId[] = "#clear-browser-data-commit";
- BrowsingDataRemoverCompletionInhibitor completion_inhibitor(
- BrowsingDataRemoverFactory::GetForBrowserContext(browser()->profile()));
+ content::BrowsingDataRemoverCompletionInhibitor completion_inhibitor(
+ content::BrowserContext::GetBrowsingDataRemover(browser()->profile()));
// Navigate to the Clear Browsing Data dialog to ensure that the commit button
// is initially enabled, usable, and gets disabled after having been pressed.

Powered by Google App Engine
This is Rietveld 408576698