summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_util.cc
diff options
context:
space:
mode:
authorbenwells <benwells@chromium.org>2015-12-08 18:20:24 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-09 02:21:38 +0000
commit1dd4acd3139eece0998bc422738b4d1b41462fca (patch)
treec47ebe6a9af3c1aa9e5f5f9c6f2c898a708cb1ea /extensions/browser/extension_util.cc
parente1858d8614321b276e3588a514262f1553a3c272 (diff)
downloadchromium_src-1dd4acd3139eece0998bc422738b4d1b41462fca.zip
chromium_src-1dd4acd3139eece0998bc422738b4d1b41462fca.tar.gz
chromium_src-1dd4acd3139eece0998bc422738b4d1b41462fca.tar.bz2
Remove all the ephemeral apps code.
BUG=517735 Review URL: https://codereview.chromium.org/1497193002 Cr-Commit-Position: refs/heads/master@{#363918}
Diffstat (limited to 'extensions/browser/extension_util.cc')
-rw-r--r--extensions/browser/extension_util.cc12
1 files changed, 0 insertions, 12 deletions
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;