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

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

Issue 10782030: Add content pack information to Extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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/common/extensions/manifest.cc
diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc
index f790c05ac627b20bee531f2f98e1ceb691962c87..a54dfcfe3f73f6cd48263f712fea04d6a90de2e8 100644
--- a/chrome/common/extensions/manifest.cc
+++ b/chrome/common/extensions/manifest.cc
@@ -35,6 +35,8 @@ Manifest::Manifest(Extension::Location location,
} else {
type_ = Extension::TYPE_PACKAGED_APP;
}
+ } else if (value_->HasKey(keys::kContentPack)) {
+ type_ = Extension::TYPE_CONTENT_PACK;
} else {
type_ = Extension::TYPE_EXTENSION;
}
« chrome/common/extensions/extension.h ('K') | « chrome/common/extensions/manifest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698