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

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 282103003: Moved IS_EPHEMERAL flag to extension prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up file header Created 6 years, 7 months 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/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 35e60c17fd06b32b89787f79530032ce84c715b7..7a921ac7e92e5d163f88e9d827cba684b9f5c35a 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -171,13 +171,6 @@ bool IsExtensionIdle(const std::string& extension_id,
return process_manager->GetRenderViewHostsForExtension(extension_id).empty();
}
-bool IsExtensionInstalledPermanently(const std::string& extension_id,
- content::BrowserContext* context) {
- const Extension* extension = ExtensionRegistry::Get(context)->
- GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING);
- return extension && !extension->is_ephemeral();
-}
-
GURL GetSiteForExtensionId(const std::string& extension_id,
content::BrowserContext* context) {
return content::SiteInstance::GetSiteForURL(
« no previous file with comments | « chrome/browser/extensions/extension_util.h ('k') | chrome/browser/extensions/shared_module_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698