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

Unified Diff: chrome/browser/notifications/notifier_state_tracker.cc

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. 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/notifications/notifier_state_tracker.cc
diff --git a/chrome/browser/notifications/notifier_state_tracker.cc b/chrome/browser/notifications/notifier_state_tracker.cc
index 86405a8f8e0c36661d12572f463adcc3a8652fa8..9f55f227347ccde73ed8f2a1bd6c255bc17f155e 100644
--- a/chrome/browser/notifications/notifier_state_tracker.cc
+++ b/chrome/browser/notifications/notifier_state_tracker.cc
@@ -162,10 +162,6 @@ void NotifierStateTracker::OnExtensionUninstalled(
if (IsNotifierEnabled(notifier_id))
return;
- // The settings for ephemeral apps will be persisted across cache evictions.
- if (extensions::util::IsEphemeralApp(extension->id(), profile_))
- return;
-
SetNotifierEnabled(notifier_id, true);
}

Powered by Google App Engine
This is Rietveld 408576698