Index: chrome/browser/profiles/profiles_state.cc |
diff --git a/chrome/browser/profiles/profiles_state.cc b/chrome/browser/profiles/profiles_state.cc |
index 005c922adf028df6b252cb0a7e880f8e8b5a3d5d..609a3ce6a7a00c52de8709200df06f49f21b3a16 100644 |
--- a/chrome/browser/profiles/profiles_state.cc |
+++ b/chrome/browser/profiles/profiles_state.cc |
@@ -13,6 +13,7 @@ |
#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" |
#include "chrome/browser/profiles/profile.h" |
@@ -248,7 +249,8 @@ void RemoveBrowsingDataForProfile(const base::FilePath& profile_path) { |
BrowsingDataRemoverFactory::GetForBrowserContext(profile)->Remove( |
base::Time(), base::Time::Max(), |
- BrowsingDataRemover::REMOVE_WIPE_PROFILE, BrowsingDataHelper::ALL); |
+ ChromeBrowsingDataRemoverDelegate::WIPE_PROFILE, |
+ ChromeBrowsingDataRemoverDelegate::ALL_ORIGIN_TYPES); |
} |
void SetLastUsedProfile(const std::string& profile_dir) { |