Commit c8b47bac authored by Raymes Khoury's avatar Raymes Khoury Committed by Commit Bot

Remove DSE text from Page Info in incognito

Currently we still display the text "Location - Blocked for current search
engine" in Page Info when in incognito mode. However, in reality, DSE
settings don't impact incognito mode so we should just display the same
thing in Page Info as we do for a regular website.

Change-Id: I0dc820f888945adb4288c1aec65f2c3d726f252f
Reviewed-on: https://chromium-review.googlesource.com/885382Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Commit-Queue: Raymes Khoury <raymes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532292}
parent 4463fb83
...@@ -676,7 +676,8 @@ public class PageInfoPopup implements OnClickListener { ...@@ -676,7 +676,8 @@ public class PageInfoPopup implements OnClickListener {
assert false : "Invalid setting " + permission.setting + " for permission " assert false : "Invalid setting " + permission.setting + " for permission "
+ permission.type; + permission.type;
} }
if (WebsitePreferenceBridge.isPermissionControlledByDSE(permission.type, mFullUrl, false)) { if (WebsitePreferenceBridge.isPermissionControlledByDSE(
permission.type, mFullUrl, mTab.isIncognito())) {
status_text = statusTextForDSEPermission(permission); status_text = statusTextForDSEPermission(permission);
} }
builder.append(status_text); builder.append(status_text);
......
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