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

Unified Diff: extensions/browser/extension_util.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: extensions/browser/extension_util.cc
diff --git a/extensions/browser/extension_util.cc b/extensions/browser/extension_util.cc
index 23de13057948d4202e70473872f8961d63ec582e..4981790a9ed3b67f681cc229de8d2a4e26244684 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;

Powered by Google App Engine
This is Rietveld 408576698