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

Unified Diff: extensions/browser/extension_util.cc

Issue 2241203003: Pass user session type to extension feature checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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: extensions/browser/extension_util.cc
diff --git a/extensions/browser/extension_util.cc b/extensions/browser/extension_util.cc
index 4981790a9ed3b67f681cc229de8d2a4e26244684..f1cfcf1c023046c4c3e6078ca0c3f0c8c86c764f 100644
--- a/extensions/browser/extension_util.cc
+++ b/extensions/browser/extension_util.cc
@@ -43,5 +43,10 @@ bool CanBeIncognitoEnabled(const Extension* extension) {
extension->location() == Manifest::COMPONENT);
}
+FeatureSessionType GetCurrentSessionType() {
+ // TODO(tbarzic): Implement this.
+ return FEATURE_SESSION_TYPE_REGULAR;
+}
+
} // namespace util
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698