| Index: chrome/browser/profiles/profiles_state.cc
|
| diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc
|
| index 1edfad6ed4f2f087f4a2058912a3e26e6d3a2bd9..2d86e393d702d98e8baeb416b892a48ea5910b03 100644
|
| --- a/chrome/browser/profiles/profiles_state.cc
|
| +++ b/chrome/browser/profiles/profiles_state.cc
|
| @@ -11,8 +11,7 @@
|
| #include "build/build_config.h"
|
| #include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/browsing_data/browsing_data_helper.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/chrome_browsing_data_remover_delegate.h"
|
| #include "chrome/browser/profiles/gaia_info_update_service.h"
|
| #include "chrome/browser/profiles/gaia_info_update_service_factory.h"
|
| @@ -30,6 +29,7 @@
|
| #include "components/prefs/pref_service.h"
|
| #include "components/signin/core/browser/profile_oauth2_token_service.h"
|
| #include "components/signin/core/common/signin_pref_names.h"
|
| +#include "content/public/browser/browsing_data_remover.h"
|
| #include "content/public/browser/resource_dispatcher_host.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/text_elider.h"
|
| @@ -235,7 +235,7 @@ void RemoveBrowsingDataForProfile(const base::FilePath& profile_path) {
|
| if (profile->IsGuestSession())
|
| profile = profile->GetOffTheRecordProfile();
|
|
|
| - BrowsingDataRemoverFactory::GetForBrowserContext(profile)->Remove(
|
| + content::BrowserContext::GetBrowsingDataRemover(profile)->Remove(
|
| base::Time(), base::Time::Max(),
|
| ChromeBrowsingDataRemoverDelegate::WIPE_PROFILE,
|
| ChromeBrowsingDataRemoverDelegate::ALL_ORIGIN_TYPES);
|
|
|