Commit 5000831a authored by Jeffrey Kardatzke's avatar Jeffrey Kardatzke Committed by Chromium LUCI CQ

Change platform verification string to hostname only

BUG=1146646
TEST=Verified UI only shows hostname in dialog

Change-Id: I80df7f5f0c5d582649e9cf30c9dfd00f65407d91
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615298
Auto-Submit: Jeffrey Kardatzke <jkardatzke@google.com>
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841135}
parent 81b307ad
...@@ -61,7 +61,7 @@ views::Widget* PlatformVerificationDialog::ShowDialog( ...@@ -61,7 +61,7 @@ views::Widget* PlatformVerificationDialog::ShowDialog(
// TODO(xhwang): We should only show the name if the request is from the // TODO(xhwang): We should only show the name if the request is from the
// extension's true frame. See http://crbug.com/455821 // extension's true frame. See http://crbug.com/455821
std::string origin = extension ? extension->name() : requesting_origin.spec(); std::string origin = extension ? extension->name() : requesting_origin.host();
PlatformVerificationDialog* dialog = new PlatformVerificationDialog( PlatformVerificationDialog* dialog = new PlatformVerificationDialog(
web_contents, base::UTF8ToUTF16(origin), std::move(callback)); web_contents, base::UTF8ToUTF16(origin), std::move(callback));
......
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