Commit 6f1eacda authored by Ramin Halavati's avatar Ramin Halavati Committed by Chromium LUCI CQ

Update Toolbar View ephemeral Guest profile test.

ToolbarViewWithExtensionsToolbarMenuTest did not correctly disable
Ephemeral Guest profiles when they were enabled by default.
This issue is fixed.

Bug: 1125474
Change-Id: I4f277c3477d76cf3fee51bcd80c283b2929e2ea5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573104Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834173}
parent d434f3ca
...@@ -359,10 +359,9 @@ class GuestToolbarViewWithExtensionsToolbarMenuTest ...@@ -359,10 +359,9 @@ class GuestToolbarViewWithExtensionsToolbarMenuTest
public: public:
GuestToolbarViewWithExtensionsToolbarMenuTest() : is_ephemeral_(GetParam()) { GuestToolbarViewWithExtensionsToolbarMenuTest() : is_ephemeral_(GetParam()) {
// Update for platforms which don't support ephemeral Guest profiles. // Update for platforms which don't support ephemeral Guest profiles.
if (is_ephemeral_) { if (!TestingProfile::SetScopedFeatureListForEphemeralGuestProfiles(
is_ephemeral_ = scoped_feature_list_, is_ephemeral_)) {
TestingProfile::SetScopedFeatureListForEphemeralGuestProfiles( is_ephemeral_ = false;
scoped_feature_list_, is_ephemeral_);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment