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

Unified Diff: chrome/common/extensions/manifest.h

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.cc ('k') | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/manifest.h
diff --git a/chrome/common/extensions/manifest.h b/chrome/common/extensions/manifest.h
index da5f5421f7c47b5b578889bd758af6a4a47e4d59..6c8d6129156c628f480a68f38d0e8620cbb74d9d 100644
--- a/chrome/common/extensions/manifest.h
+++ b/chrome/common/extensions/manifest.h
@@ -49,6 +49,7 @@ class Manifest {
bool is_legacy_packaged_app() const {
return type_ == Extension::TYPE_LEGACY_PACKAGED_APP;
}
+ bool is_extension() const { return type_ == Extension::TYPE_EXTENSION; }
// These access the wrapped manifest value, returning false when the property
// does not exist or if the manifest type can't access it.
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/permissions/api_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698