Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.cc

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7779d42f2abc7796eff189280bd077085e800af2..1c2d50399729b82bee660cbe170e42a0af1c0ddc 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -95,7 +95,6 @@
#endif
#if defined(ENABLE_EXTENSIONS)
-#include "chrome/browser/apps/ephemeral_app_service.h"
#include "chrome/browser/extensions/activity_log/activity_log.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_special_storage_policy.h"
@@ -693,16 +692,6 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
storage_partition_remove_mask |=
content::StoragePartition::REMOVE_DATA_MASK_WEBRTC_IDENTITY;
-
-#if defined(ENABLE_EXTENSIONS)
- // Clear the ephemeral apps cache. This is nullptr while testing. OTR
- // Profile has neither apps nor an ExtensionService, so ClearCachedApps
- // fails.
- EphemeralAppService* ephemeral_app_service =
- EphemeralAppService::Get(profile_);
- if (ephemeral_app_service && !profile_->IsOffTheRecord())
- ephemeral_app_service->ClearCachedApps();
-#endif
}
if (remove_mask & REMOVE_WEBRTC_IDENTITY) {

Powered by Google App Engine
This is Rietveld 408576698