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

Unified Diff: extensions/common/extension.h

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
« no previous file with comments | « extensions/browser/extension_util.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension.h
diff --git a/extensions/common/extension.h b/extensions/common/extension.h
index 679590fa808bcc891be2380c64be84689ca339fe..00574ca16597d3b52701603b63fb2f78c06a5198 100644
--- a/extensions/common/extension.h
+++ b/extensions/common/extension.h
@@ -163,8 +163,7 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
// Unused - was part of an abandoned experiment.
REQUIRE_PERMISSIONS_CONSENT = 1 << 8,
- // |IS_EPHEMERAL| identifies ephemeral apps (experimental), which are not
- // permanently installed.
+ // Unused - this flag has been moved to ExtensionPrefs.
IS_EPHEMERAL = 1 << 9,
// |WAS_INSTALLED_BY_OEM| installed by an OEM (e.g on Chrome OS) and should
@@ -333,7 +332,6 @@ class Extension : public base::RefCountedThreadSafe<Extension> {
bool was_installed_by_oem() const {
return (creation_flags_ & WAS_INSTALLED_BY_OEM) != 0;
}
- bool is_ephemeral() const { return (creation_flags_ & IS_EPHEMERAL) != 0; }
// App-related.
bool is_app() const;
« no previous file with comments | « extensions/browser/extension_util.cc ('k') | extensions/common/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698