From 1dd4acd3139eece0998bc422738b4d1b41462fca Mon Sep 17 00:00:00 2001 From: benwells Date: Tue, 8 Dec 2015 18:20:24 -0800 Subject: Remove all the ephemeral apps code. BUG=517735 Review URL: https://codereview.chromium.org/1497193002 Cr-Commit-Position: refs/heads/master@{#363918} --- extensions/browser/extension_util.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'extensions/browser/extension_util.cc') diff --git a/extensions/browser/extension_util.cc b/extensions/browser/extension_util.cc index 23de130..4981790 100644 --- a/extensions/browser/extension_util.cc +++ b/extensions/browser/extension_util.cc @@ -12,18 +12,6 @@ namespace extensions { namespace util { -bool IsExtensionInstalledPermanently(const std::string& extension_id, - content::BrowserContext* context) { - const Extension* extension = ExtensionRegistry::Get(context)-> - GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING); - return extension && !IsEphemeralApp(extension_id, context); -} - -bool IsEphemeralApp(const std::string& extension_id, - content::BrowserContext* context) { - return ExtensionPrefs::Get(context)->IsEphemeralApp(extension_id); -} - bool HasIsolatedStorage(const ExtensionInfo& info) { if (!info.extension_manifest.get()) return false; -- cgit v1.1