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

Unified Diff: extensions/common/features/feature_session_type.cc

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
Index: extensions/common/features/feature_session_type.cc
diff --git a/extensions/common/features/feature_session_type.cc b/extensions/common/features/feature_session_type.cc
index 10f2af7a6123912f474978cc57d4fce3879a314c..33484e1af58c3efc4726e2d86c1f3d51424ea25e 100644
--- a/extensions/common/features/feature_session_type.cc
+++ b/extensions/common/features/feature_session_type.cc
@@ -31,7 +31,7 @@ void SetCurrentFeatureSessionType(FeatureSessionType session_type) {
std::unique_ptr<base::AutoReset<FeatureSessionType>>
ScopedCurrentFeatureSessionType(FeatureSessionType type) {
- CHECK_EQ(g_current_session_type, kDefaultSessionType);
Devlin 2017/01/09 23:34:25 Why this change? If it's something we want, we sh
tbarzic 2017/01/10 18:28:44 Done.
+ DCHECK_EQ(g_current_session_type, kDefaultSessionType);
return base::MakeUnique<base::AutoReset<FeatureSessionType>>(
&g_current_session_type, type);
}

Powered by Google App Engine
This is Rietveld 408576698