cbui: remove CredentialLeakDialogView GetDialogButtonLabel
This dialog gets its strings from a CredentialLeakDialogController. The only subclass of that class, CredentialLeakDialogControllerImpl, returns a string depending solely on its leak_type_ member, which is const. It is therefore safe to fetch the strings once at construction time and keep them. Bug: 1011446 Change-Id: I795b98548e084b1c3cf9ae389d2f41017452fb09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872571Reviewed-by:Peter Boström <pbos@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#708259}
Showing
Please register or sign in to comment