| Index: chrome/browser/browsing_data/browsing_data_remover.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| index 912a5cf71f6ea64aff0a8a29b535454d070cf26d..e142e3ff9e05d2a58e7001046d0fd23e2a12f58c 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| @@ -1004,7 +1004,9 @@ void BrowsingDataRemover::RemoveImpl(
|
| weak_ptr_factory_.GetWeakPtr()));
|
| }
|
|
|
| - if ((remove_mask & REMOVE_OFFLINE_PAGE_DATA) &&
|
| + // For now we're considering offline pages as cache, so if we're removing
|
| + // cache we should remove offline pages as well.
|
| + if ((remove_mask & REMOVE_CACHE || remove_mask & REMOVE_OFFLINE_PAGE_DATA) &&
|
| offline_pages::IsOfflinePagesEnabled()) {
|
| waiting_for_clear_offline_page_data_ = true;
|
| offline_pages::OfflinePageModelFactory::GetForBrowserContext(profile_)
|
|
|