diff options
Diffstat (limited to 'chrome/browser/page_info_model.cc')
-rw-r--r-- | chrome/browser/page_info_model.cc | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc index 3656862..229b002 100644 --- a/chrome/browser/page_info_model.cc +++ b/chrome/browser/page_info_model.cc @@ -99,8 +99,7 @@ PageInfoModel::PageInfoModel(Profile* profile, state, l10n_util::GetStringUTF16(IDS_PAGE_INFO_SECURITY_TAB_IDENTITY_TITLE), head_line, - description, - SECTION_INFO_IDENTITY)); + description)); // Connection section. // We consider anything less than 80 bits encryption to be weak encryption. @@ -140,9 +139,8 @@ PageInfoModel::PageInfoModel(Profile* profile, if (ssl.security_bits() > 0 && cipher_suite) { bool did_fallback = (ssl.connection_status() & net::SSL_CONNECTION_SSL3_FALLBACK) != 0; - bool no_renegotiation = - (ssl.connection_status() & - net::SSL_CONNECTION_NO_RENEGOTIATION_EXTENSION) != 0; + bool no_renegotiation = (ssl.connection_status() & + net::SSL_CONNECTION_NO_RENEGOTIATION_EXTENSION) != 0; const char *key_exchange, *cipher, *mac; net::SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, cipher_suite); @@ -183,8 +181,7 @@ PageInfoModel::PageInfoModel(Profile* profile, state, l10n_util::GetStringUTF16(IDS_PAGE_INFO_SECURITY_TAB_CONNECTION_TITLE), head_line, - description, - SECTION_INFO_CONNECTION)); + description)); // Request the number of visits. HistoryService* history = profile->GetHistoryService( @@ -229,8 +226,7 @@ void PageInfoModel::OnGotVisitCountToHost(HistoryService::Handle handle, IDS_PAGE_INFO_SECURITY_TAB_PERSONAL_HISTORY_TITLE), string16(), l10n_util::GetStringUTF16( - IDS_PAGE_INFO_SECURITY_TAB_FIRST_VISITED_TODAY), - SECTION_INFO_FIRST_VISIT)); + IDS_PAGE_INFO_SECURITY_TAB_FIRST_VISITED_TODAY))); } else { sections_.push_back(SectionInfo( true, @@ -239,8 +235,7 @@ void PageInfoModel::OnGotVisitCountToHost(HistoryService::Handle handle, string16(), l10n_util::GetStringFUTF16( IDS_PAGE_INFO_SECURITY_TAB_VISITED_BEFORE_TODAY, - WideToUTF16(base::TimeFormatShortDate(first_visit))), - SECTION_INFO_FIRST_VISIT)); + WideToUTF16(base::TimeFormatShortDate(first_visit))))); } observer_->ModelChanged(); } |