Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index bb8a7557554ea261270e17ea527822bee0cde027..5482720dae6514f4bfc3b40b750c6d0592dfdc50 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -19,6 +19,8 @@ |
#include "chrome/browser/background_sync/background_sync_controller_factory.h" |
#include "chrome/browser/background_sync/background_sync_controller_impl.h" |
#include "chrome/browser/browser_process.h" |
+#include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" |
+#include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_factory.h" |
#include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
#include "chrome/browser/dom_distiller/profile_utils.h" |
#include "chrome/browser/download/chrome_download_manager_delegate.h" |
@@ -405,6 +407,11 @@ OffTheRecordProfileImpl::GetBackgroundSyncController() { |
return BackgroundSyncControllerFactory::GetForProfile(this); |
} |
+content::BrowsingDataRemoverDelegate* |
+OffTheRecordProfileImpl::GetBrowsingDataRemoverDelegate() { |
+ return ChromeBrowsingDataRemoverDelegateFactory::GetForProfile(this); |
+} |
+ |
bool OffTheRecordProfileImpl::IsSameProfile(Profile* profile) { |
return (profile == this) || (profile == profile_); |
} |