| Index: components/toolbar/toolbar_model_impl.cc
|
| diff --git a/components/toolbar/toolbar_model_impl.cc b/components/toolbar/toolbar_model_impl.cc
|
| index e7d693e698e5c3e1c43eb599d4fab8161e6d4de8..eb2d51961a07f59ad859e648a0a2237a970ea0fb 100644
|
| --- a/components/toolbar/toolbar_model_impl.cc
|
| +++ b/components/toolbar/toolbar_model_impl.cc
|
| @@ -129,6 +129,17 @@ base::string16 ToolbarModelImpl::GetEVCertName() const {
|
| base::UTF8ToUTF16(cert->subject().country_name));
|
| }
|
|
|
| +base::string16 ToolbarModelImpl::GetSecurityVerboseText() const {
|
| + switch (GetSecurityLevel(false)) {
|
| + case SecurityStateModel::SECURE:
|
| + return l10n_util::GetStringUTF16(IDS_SECURE_VERBOSE_STATE);
|
| + case SecurityStateModel::SECURITY_ERROR:
|
| + return l10n_util::GetStringUTF16(IDS_NOT_SECURE_VERBOSE_STATE);
|
| + default:
|
| + return base::string16();
|
| + }
|
| +}
|
| +
|
| bool ToolbarModelImpl::ShouldDisplayURL() const {
|
| return delegate_->ShouldDisplayURL();
|
| }
|
|
|