diff options
author | benwells <benwells@chromium.org> | 2015-12-08 18:20:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 02:21:38 +0000 |
commit | 1dd4acd3139eece0998bc422738b4d1b41462fca (patch) | |
tree | c47ebe6a9af3c1aa9e5f5f9c6f2c898a708cb1ea /extensions/browser/extension_util.cc | |
parent | e1858d8614321b276e3588a514262f1553a3c272 (diff) | |
download | chromium_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.cc | 12 |
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; |