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

Unified Diff: chrome/common/extensions/extension.cc

Issue 11620011: Issue 11428116 had to be reverted as it broke build due to a unused variable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed formatting Created 8 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
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | chrome/common/extensions/manifest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 5c1d114f6f3e5784b66c43e8f3c5e4eef47b32d6..cbe9a2d3ac271ec86210ee42fd28ea335778f616 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -1339,6 +1339,10 @@ bool Extension::is_legacy_packaged_app() const {
return manifest()->is_legacy_packaged_app();
}
+bool Extension::is_extension() const {
+ return manifest()->is_extension();
+}
+
bool Extension::can_be_incognito_enabled() const {
return !is_platform_app();
}
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | chrome/common/extensions/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698