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..2cd16275632b831bd8061814fb22987f6779dda5 100644 |
--- a/chrome/browser/profiles/profiles_state.cc |
+++ b/chrome/browser/profiles/profiles_state.cc |
@@ -6,6 +6,8 @@ |
#include <stddef.h> |
+#include <set> |
+ |
#include "base/files/file_path.h" |
#include "base/strings/utf_string_conversions.h" |
#include "build/build_config.h" |
@@ -13,6 +15,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_types.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" |
@@ -247,8 +250,8 @@ void RemoveBrowsingDataForProfile(const base::FilePath& profile_path) { |
profile = profile->GetOffTheRecordProfile(); |
BrowsingDataRemoverFactory::GetForBrowserContext(profile)->Remove( |
- base::Time(), base::Time::Max(), |
- BrowsingDataRemover::REMOVE_WIPE_PROFILE, BrowsingDataHelper::ALL); |
+ base::Time(), base::Time::Max(), BrowsingDataTypeSetWipeProfile(), |
+ BrowsingDataHelper::ALL); |
} |
void SetLastUsedProfile(const std::string& profile_dir) { |