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

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: split out some stuff 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..5536f0fe733b53983d383dd554e7cb75e08be127 100644
--- a/extensions/browser/extension_util.cc
+++ b/extensions/browser/extension_util.cc
@@ -43,5 +43,9 @@ bool CanBeIncognitoEnabled(const Extension* extension) {
extension->location() == Manifest::COMPONENT);
}
+Feature::SessionType GetCurrentSessionType() {
+ return Feature::SESSION_TYPE_REGULAR;
+}
+
} // namespace util
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698