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

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

Issue 2827523003: Move BrowsingDataRemover to content/ (Closed)
Patch Set: Addressed comments, fixed Win compilation 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/chrome_browser_main_extra_parts_profiles.cc
diff --git a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
index 539c6d2ab1f927e28e9ae85b52c046fac83e8769..aea27246ce68f4f74a70d82e6ebaafb2370b6689 100644
--- a/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
+++ b/chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
@@ -13,7 +13,7 @@
#include "chrome/browser/autofill/personal_data_manager_factory.h"
#include "chrome/browser/background/background_contents_service_factory.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
-#include "chrome/browser/browsing_data/browsing_data_remover_factory.h"
+#include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_factory.h"
#include "chrome/browser/chrome_browser_main.h"
#include "chrome/browser/content_settings/cookie_settings_factory.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
@@ -199,7 +199,6 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
#endif
BookmarkModelFactory::GetInstance();
BookmarkUndoServiceFactory::GetInstance();
- BrowsingDataRemoverFactory::GetInstance();
#if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
CaptivePortalServiceFactory::GetInstance();
#endif
@@ -212,6 +211,7 @@ EnsureBrowserContextKeyedServiceFactoriesBuilt() {
CloudPrintProxyServiceFactory::GetInstance();
#endif
CookieSettingsFactory::GetInstance();
+ ChromeBrowsingDataRemoverDelegateFactory::GetInstance();
Bernhard Bauer 2017/04/19 12:39:38 Nit: Move this further up, before CloudPrintProxy
msramek 2017/04/19 13:39:18 Yeah... binary search insert into an array that is
#if !defined(OS_ANDROID)
ChromeCryptAuthServiceFactory::GetInstance();
#endif

Powered by Google App Engine
This is Rietveld 408576698