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

Unified Diff: extensions/common/features/simple_feature.h

Issue 2601803003: Introduce kiosk.autolaunched feature session type (Closed)
Patch Set: . Created 3 years, 11 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/common/features/feature_session_type.h ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/simple_feature.h
diff --git a/extensions/common/features/simple_feature.h b/extensions/common/features/simple_feature.h
index 94b39fb9fd0c5b5f4bf5dce5a5f95bd7e1c17b7e..9f9ae64b814a05eec650c51f6ec75728c0fb5627 100644
--- a/extensions/common/features/simple_feature.h
+++ b/extensions/common/features/simple_feature.h
@@ -206,6 +206,10 @@ class SimpleFeature : public Feature {
bool MatchesManifestLocation(Manifest::Location manifest_location) const;
+ // Checks if the feature is allowed in a session of type |session_type|
+ // (based on session type feature restrictions).
+ bool MatchesSessionTypes(FeatureSessionType session_type) const;
+
Availability CheckDependencies(
const base::Callback<Availability(const Feature*)>& checker) const;
« no previous file with comments | « extensions/common/features/feature_session_type.h ('k') | extensions/common/features/simple_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698