| Index: components/toolbar/toolbar_model_impl.cc
|
| diff --git a/components/toolbar/toolbar_model_impl.cc b/components/toolbar/toolbar_model_impl.cc
|
| index f6c7410c5e0209710216d766ff20d1a8a657cad0..7a3a5f1045883bb1a189d868758ac2f8f04090c6 100644
|
| --- a/components/toolbar/toolbar_model_impl.cc
|
| +++ b/components/toolbar/toolbar_model_impl.cc
|
| @@ -142,6 +142,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();
|
| }
|
|
|