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

Unified Diff: tools/json_schema_compiler/test/features_generation_unittest.cc

Issue 2892403002: Introduce lock screen app context to extension features (Closed)
Patch Set: . Created 3 years, 6 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 | « tools/json_schema_compiler/feature_compiler_test.py ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/features_generation_unittest.cc
diff --git a/tools/json_schema_compiler/test/features_generation_unittest.cc b/tools/json_schema_compiler/test/features_generation_unittest.cc
index 18f2f149fd1c11256d139c7bfc9142eb72211111..28a90eddd87f149787cc42644ba4c087377a4bbe 100644
--- a/tools/json_schema_compiler/test/features_generation_unittest.cc
+++ b/tools/json_schema_compiler/test/features_generation_unittest.cc
@@ -192,11 +192,14 @@ TEST(FeaturesGenerationTest, FeaturesTest) {
{
SimpleFeature* feature = GetAsSimpleFeature("allEnum");
FeatureComparator comparator("allEnum");
- comparator.contexts = {
- Feature::BLESSED_EXTENSION_CONTEXT, Feature::BLESSED_WEB_PAGE_CONTEXT,
- Feature::CONTENT_SCRIPT_CONTEXT, Feature::SERVICE_WORKER_CONTEXT,
- Feature::WEB_PAGE_CONTEXT, Feature::WEBUI_CONTEXT,
- Feature::UNBLESSED_EXTENSION_CONTEXT};
+ comparator.contexts = {Feature::BLESSED_EXTENSION_CONTEXT,
+ Feature::BLESSED_WEB_PAGE_CONTEXT,
+ Feature::CONTENT_SCRIPT_CONTEXT,
+ Feature::LOCK_SCREEN_EXTENSION_CONTEXT,
+ Feature::SERVICE_WORKER_CONTEXT,
+ Feature::WEB_PAGE_CONTEXT,
+ Feature::WEBUI_CONTEXT,
+ Feature::UNBLESSED_EXTENSION_CONTEXT};
comparator.extension_types = {
Manifest::TYPE_EXTENSION, Manifest::TYPE_HOSTED_APP,
Manifest::TYPE_LEGACY_PACKAGED_APP, Manifest::TYPE_PLATFORM_APP,
« no previous file with comments | « tools/json_schema_compiler/feature_compiler_test.py ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698